jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Cavalcanti <bcavalca...@gmail.com>
Subject Inactive logical session handle called
Date Wed, 30 Apr 2014 21:39:59 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message