Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC53392BD for ; Fri, 2 Dec 2011 08:06:06 +0000 (UTC) Received: (qmail 32276 invoked by uid 500); 2 Dec 2011 08:06:06 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 32210 invoked by uid 500); 2 Dec 2011 08:06:06 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 31995 invoked by uid 99); 2 Dec 2011 08:06:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 08:06:04 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 08:06:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00184AFB48 for ; Fri, 2 Dec 2011 08:05:39 +0000 (UTC) Date: Fri, 2 Dec 2011 08:05:39 +0000 (UTC) From: "nick (Created) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1363994079.34166.1322813140001.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (JCR-3166) jackrabbit is not working in JBoss AS7.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org jackrabbit is not working in JBoss AS7.1.0 ------------------------------------------ Key: JCR-3166 URL: https://issues.apache.org/jira/browse/JCR-3166 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 2.3.4 Environment: JBoss AS 7.1.0 + Jackrabbit OCM + Spring JCR Module + Jackrabbit-JCA 2.3.4 on Windows Reporter: nick 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.(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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira