Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.3.4
    • Fix Version/s: None
    • Component/s: jackrabbit-core
    • Labels:
      None
    • Environment:
      JBoss AS 7.1.0 + Jackrabbit OCM + Spring JCR Module + Jackrabbit-JCA 2.3.4 on Windows

      Description

      Jackrabbit-jca 2.3.4.rar deployment was successful but its not creating jackrabbit specific tables (using postgresql). The intention behind filing it as a bug because, with Jackrabbit-jca-1.6.5.rar deployment is successful and its creating relevant tables but its giving a different exception while trying to add some document to the repository as follows.
      Illegal logical session called.

      With jackrabbit-jca-2.3.4 i'm getting the following error while i try to add a document to the repository.

      Failed to create session: Unable to access a repository with the following settings: org.apache.jackrabbit.repository.conf: C:\Server\jboss-as-7.1.0.Alpha2-SNAPSHOT\standalone\configuration\jackrabbit\repository.xml org.apache.jackrabbit.repository.home: C:\Server\jboss-as-7.1.0.Alpha2-SNAPSHOT\standalone\data\jackrabbit The following RepositoryFactory classes were consulted: Perhaps the repository you are trying to access is not available at the moment.
      IJ000658: Unexpected throwable while trying to create a connection: null
      javax.resource.ResourceException: IJ000658: Unexpected throwable while trying to create a connection: null

      17:36:26,363 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http-127.0.0.1-127.0.0.1-8080-1) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Failed to create session: Unable to access a repository with the following settings:
      org.apache.jackrabbit.repository.conf: C:\Server\jboss-as-7.1.0.Alpha2-SNAPSHOT\standalone\configuration\jackrabbit\repository.xml
      org.apache.jackrabbit.repository.home: C:\Server\jboss-as-7.1.0.Alpha2-SNAPSHOT\standalone\data\jackrabbit
      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)
      at org.apache.jackrabbit.jca.JCAManagedConnection.<init>(JCAManagedConnection.java:85)
      at org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createManagedConnection(JCAManagedConnectionFactory.java:163)
      at org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createManagedConnection(JCAManagedConnectionFactory.java:155)
      at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:736)
      at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:341)
      at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getTransactionNewConnection(AbstractPool.java:492)
      at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:373)
      at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:332)
      at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:367)
      at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:448)
      at org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:73)

      I have checked with all jackrabbit 2 versions but getting same error.

      I have filed the same in JBoss and Spring Community as well.

      If you feel its not a bug then please provide a solid example of integrating jacrabbit-jca with JBoss AS 7. I have done the integration with Jboss just like the Jackrabbit mediawiki explained.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            nick
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development