Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 10661 invoked from network); 3 Jun 2002 17:32:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Jun 2002 17:32:34 -0000 Received: (qmail 1096 invoked by uid 97); 3 Jun 2002 17:32:16 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 1049 invoked by uid 97); 3 Jun 2002 17:32:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 1024 invoked by uid 98); 3 Jun 2002 17:32:14 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat / JBoss / JNDI lookup not working - HELP! Date: Mon, 3 Jun 2002 12:32:11 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat / JBoss / JNDI lookup not working - HELP! Thread-Index: AcILIe1YBxnICm0eShuqQ8F5TN8KQwAAp84w From: "Miller, Andy" To: "Tomcat Users List" X-OriginalArrivalTime: 03 Jun 2002 17:32:11.0900 (UTC) FILETIME=[9823B3C0:01C20B24] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That was all it took! Thanks a million! -----Original Message----- From: H=E5kon Hansen [mailto:hha@mkt.no]=20 Sent: Monday, June 03, 2002 11:23 AM To: Tomcat Users List Subject: Re: Tomcat / JBoss / JNDI lookup not working - HELP! On Mon, 3 Jun 2002 11:48:14 -0500 "Miller, Andy" wrote: > I have seperate instances of Tomcat and JBoss running on the same=20 > machine. I'm trying to do a JNDI lookup of a JMS queue that's=20 > configured in JBoss from Tomcat but cannot get it to work. I have not taken the time to fully analyze your problem, but I have=20 had similar problems with JNDI lookups JBoss 3.0 / Tomcat 4.0.=20 What I had to do, was to set the initial factory as a System property = before creating the InitialContext for the first time, like this: System.setProperty("java.naming.factory.initial",=20 "org.jnp.interfaces.NamingContextFactory"); Good luck! Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: