AnsweredAssumed Answered

Problem accessing JCR via JNDI in Alfresco 2.1

Question asked by snavarrob on Jul 24, 2007
Latest reply on Apr 9, 2008 by daniel.robert
Hi,

I've followed the article http://issues.alfresco.com/browse/AR-1131 in order to access JCR via JNDI. It works in Alfresco 2.0, but when I've tried the same in Alfresco 2.1, it doesn't work. I've gotten the following error:

org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader
   org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:525)
   org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349)
   org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:255)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:102)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   $Proxy29.authenticate(Unknown Source)
   org.alfresco.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:217)
   org.alfresco.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:246)
…..

Anyone could help me?

Thanks and regards,
Saul

Outcomes