You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Bruno Cavalcanti <bc...@gmail.com> on 2014/04/30 23:39:59 UTC
Inactive logical session handle called
Hi,
I have a repository (jackrabbit 2.6.1) running on deployment model 2
(application EJB 3.0 + Resource Adapter) in Weblogic 10.3.6 .
Repository and application are working perfectly when i'm using just one
session.
When i try to create two sessions, at the same time , in different
workspaces, i'm facing this problem:* Inactive logical session handle
called*.
If i disable transactions in my ejb class, works fine.
Is that a limitation (jackrabbit + JTA) with multiple sessions or is
something wrong with my resource adapter ?
my weblogic-ra.xml
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
<jndi-name>jcr/globalRepository</jndi-name>
<enable-access-outside-app>true</enable-access-outside-app>
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params>
<initial-capacity>5</initial-capacity>
<max-capacity>100</max-capacity>
<capacity-increment>5</capacity-increment>
<shrinking-enabled>true</shrinking-enabled>
<shrink-frequency-seconds>30</shrink-frequency-seconds>
</pool-params>
<logging>
<log-filename>/teste.log</log-filename>
<logging-enabled>true</logging-enabled>
</logging>
<transaction-support>XATransaction</transaction-support>
<properties>
<property>
<name>HomeDir</name>
<value>/AdminServer-Repository</value>
</property>
<property>
<name>ConfigFile</name>
<value>/AdminServer-Repository/repository.xml
</value>
</property>
</properties>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>
javax.jcr.Repository
</connection-factory-interface>
<connection-instance>
<jndi-name>jcr/repository</jndi-name>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>