- 
        1. Re: Jackrabbit rar deployment is successful but can't obtain connection with following erroralogger Nov 24, 2011 3:23 AM (in response to nick.sree)I got the same on JBoss AS 7.0.2.Final with jackrabbit-jca-2.2.10.rar 
- 
        2. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errornick.sree Nov 25, 2011 8:29 AM (in response to nick.sree)But with jackrabbit-jca-1.6.1.rar (very old) the above problem got resolved but getting a different exception as follows 14:37:28,239 ERROR [org.egov.RuntimeException] (http--127.0.0.1-8080-2) Error occurred while trying to add Document.: java.lang.IllegalStateException: Inactive logical session handle called at org.apache.jackrabbit.jca.JCAManagedConnection.getSession(JCAManagedConnection.java:227) at org.apache.jackrabbit.jca.JCASessionHandle.getSession(JCASessionHandle.java:86) at org.apache.jackrabbit.jca.JCASessionHandle.getRootNode(JCASessionHandle.java:137) The same JCR is working perfectly with JBoss AS 4.2.3 
- 
        3. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errornick.sree Dec 29, 2011 9:03 AM (in response to nick.sree)Please anybody is there.. who can help on this issue? 
- 
        4. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errornick.sree Dec 29, 2011 9:04 AM (in response to alogger)Hi Alogger, Did you able to solve this issue? 
- 
        5. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errorx78527 Jan 10, 2012 8:20 PM (in response to nick.sree)Hi, same problem for me: JBoss 7.1 RC1 "Flux Capacitor" Jackrabbit 2.2.10 
- 
        6. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errornick.sree Jan 12, 2012 2:57 AM (in response to x78527)Hi Frederic & Alogger... Are you guys using spring jcr modules to integrate Jackrabbit ? In that case i have the solution since i have got it working using OpenSessionInViewFilter and ServiceSessionHolderProviderManager. 
- 
        7. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errorx78527 Jan 15, 2012 9:30 AM (in response to nick.sree)I found a classpath problem, I had solved by adding the following line to META-INF/MANIFEST.MF on my EJB JAR: Dependencies: javax.jcr, deployment.jackrabbit-jca-2.2.10.rar The problem is that JBoss don't throw any Exception or error message that help to find the problem. 
- 
        8. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errornick.sree Jan 19, 2012 7:25 AM (in response to x78527)Frederic i have tried what you have suggested but i gets "Inactive logical session handle called " Exception. I guess this problem is due to Spring-jcr-module JBoss AS 7 module class loading is not in synch. 
- 
        9. Re: Jackrabbit rar deployment is successful but can't obtain connection with following errorcellosofia Jan 3, 2014 3:37 PM (in response to nick.sree)Hi All, I have the same problem but even including Dependencies: javax.jcr, deployment.jackrabbit-jca-2.2.7.rar to my MANIFEST.MF it still doesn't work. I get this stacktrace: 17:24:37,427 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolByCri] (ServerService Thread Pool -- 66) IJ000604: Throwable whil e attempting to get a new connection: null: javax.resource.ResourceException: Failed to create session: Unable to access a repository with t he following settings: org.apache.jackrabbit.repository.conf: /home/cellosofia/datascan/DATASCAN/repositories/postgres/repository.xml org.apache.jackrabbit.repository.uri: jcr-jackrabbit://jackrabbit org.apache.jackrabbit.repository.home: /home/cellosofia/datascan/DATASCAN/repositories/postgres/repository The following RepositoryFactory classes were consulted: Perhaps the repository you are trying to access is not available at the moment. at org.apache.jackrabbit.jca.JCAManagedConnection.openSession(JCAManagedConnection.java:107) [jackrabbit-jca-2.2.7.jar:2.2.7]... Can anyone help me please? I'm using JBoss AS 7.3.0 and jackrabbit-jca-2.2.7.rar Thanks in advance 
 
     
     
    