Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 83453 invoked from network); 12 Feb 2009 16:20:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 16:20:14 -0000 Received: (qmail 92013 invoked by uid 500); 12 Feb 2009 16:20:12 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 92000 invoked by uid 500); 12 Feb 2009 16:20:12 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 91989 invoked by uid 99); 12 Feb 2009 16:20:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 08:20:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.237.162.101] (HELO mail.teliskp.de) (217.237.162.101) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 16:20:04 +0000 Received: from TelisExMbx01.telis.it.tfsh ([10.1.8.202]) by telisex04 ([10.1.8.184]) with mapi; Thu, 12 Feb 2009 17:19:42 +0100 From: Kurz Wolfgang To: "users@jackrabbit.apache.org" Date: Thu, 12 Feb 2009 17:19:36 +0100 Subject: Jackrabbit with JNDI again :-( Thread-Topic: Jackrabbit with JNDI again :-( Thread-Index: AcmMcDT322bqWyXHRzGygLuni4Y8cQAj/iNJAAtaBjA= Message-ID: <12B08E43EA4D0A4194C46028C6D109E8543E959C42@TELISEXMBX01.telis.it.tfsh> References: <200902111842.36293.tf@inubit.com> In-Reply-To: Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-puzzleid: {88E5EB68-C235-4937-80B0-687A049A6833} x-cr-hashedpuzzle: VBI= yWI= AO70 AX98 AaNU AbF7 B68p CSir CcJQ E9zK FW/O GWmH Gy3x I5d2 J2Bz Ks/m;1;dQBzAGUAcgBzAEAAagBhAGMAawByAGEAYgBiAGkAdAAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{88E5EB68-C235-4937-80B0-687A049A6833};dwBvAGwAZgBnAGEAbgBnAC4AawB1AHIAegBAAGcAdwB2AHMALgBkAGUA;Thu, 12 Feb 2009 16:19:36 GMT;SgBhAGMAawByAGEAYgBiAGkAdAAgAHcAaQB0AGgAIABKAE4ARABJACAAYQBnAGEAaQBuACAAOgAtACgA acceptlanguage: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello everyone, i am trying to get Jackrabbit working with spring over JNDI and somehow i c= ant create the bean. I had it working with RMI but that was just too slow. Here is my code: server.xml: [CODE] =20 factory org.apache.jackrabbit.core.jndi.BindableRepositoryFactory configFilePath U:/jackrabbits/repository.xml repHomeDir U:/jackrabbits [/CODE] web.xml [CODE] =20 Content Repository jcr/repository javax.jcr.Repository =09 [/CODE] and Context: [CODE] =20 java:comp/env/jcr/repository [/CODE] i get the following error: Error creating bean with name 'test' defined in ServletContext resource [/= WEB-INF/applicationContext-web.xml]: Invocation of init method failed; nest= ed exception is javax.naming.NamingException: Cannot create resource instan= ce Anyone have an idea what the problem could be? Thx a lot in advance!