I got the same on JBoss AS 7.0.2.Final with jackrabbit-jca-2.2.10.rar
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
The same JCR is working perfectly with JBoss AS 4.2.3
Please anybody is there.. who can help on this issue?
Did you able to solve this issue?
Hi, same problem for me:
JBoss 7.1 RC1 "Flux Capacitor"
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.
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.
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.
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:
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