Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 4247 invoked from network); 19 Apr 2010 14:00:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Apr 2010 14:00:34 -0000 Received: (qmail 53497 invoked by uid 500); 19 Apr 2010 14:00:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 53457 invoked by uid 500); 19 Apr 2010 14:00:33 -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 53448 invoked by uid 99); 19 Apr 2010 14:00:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 14:00:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of TorIverW@arrive.no designates 138.62.101.73 as permitted sender) Received: from [138.62.101.73] (HELO SRV-IMSS-03.nsb.no) (138.62.101.73) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 14:00:25 +0000 Received: from EXC-NSB-VN01.nsb.no ([169.254.2.90]) by EXC-NSB-OS04.nsb.no ([138.62.54.113]) with mapi; Mon, 19 Apr 2010 16:00:03 +0200 From: Wilhelmsen Tor Iver To: "users@jackrabbit.apache.org" Date: Mon, 19 Apr 2010 16:00:01 +0200 Subject: SV: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit Thread-Topic: Jackrabbit on Glassfish: Exception when registering as JNDI resource jcr/Jackrabbit Thread-Index: Acrfw5mlTsXkTFEnRhq4A3sLIyiIZAAAhWAQ Message-ID: <88B8760887317B40A6C9739A71CC12A57C22425A74@EXC-NSB-VN01.nsb.no> References: <88B8760887317B40A6C9739A71CC12A57C22425A63@EXC-NSB-VN01.nsb.no> In-Reply-To: Accept-Language: nb-NO Content-Language: nb-NO X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nb-NO 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 > The DummyInitialContextFactory included in Jackrabbit can only handle > simple names without "/" in them. You can avoid this problem by > changing the JNDI name to something like "jackrabbit". Thanks, that set me on the track to comment out the setting of the factory = so that it instead used the container's - which was what I really wanted in= the first place. :) But I still have a second problem, that a Spring config fails to see the na= me. Looking in the Glassfish admin, it does not show the registered resourc= e, only the ones defined in the domain.xml file, i.e. JDBC resources mostly= ...=20 The config I use in Spring to look it up (from a Liferay portlet running on= the Glassfish) is: - Tor Iver