Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 16198 invoked from network); 12 Sep 2002 14:35:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Sep 2002 14:35:35 -0000 Received: (qmail 6830 invoked by uid 97); 12 Sep 2002 14:35:52 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 6783 invoked by uid 97); 12 Sep 2002 14:35:51 -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 6771 invoked by uid 98); 12 Sep 2002 14:35:51 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Sean" To: Subject: JNDi Lookup (JMS Topic & Entity bean) Date: Thu, 12 Sep 2002 15:36:10 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I've dredged through the archives and looked up all the documentation I could find before sending the mail. I am running on Win 2k, Tomcat 4.0.2, JDk 1.4 and J2EE RI 1.3.1. I have a SOAP servlet in a standalone Tomcat. It posts to a JMS topic and creates/access entity EJBs, both of which are defined in J2EE. I am having a problem with JNDI lookup. I can find the JMS TopicConnectiofactory if I use the following context factory; com.sun.enterprise.naming.SerialInitContextFactory. This causes an exception when I lookup the bean using the required context factory: com.sun.jndi.cosnaming.CNCtxFactory I have tried to use the InitialContext to lookup both resources, but with no luck as the JNDI names are not bound to the Tomcat JNDI context. Questions: 1. I have looked up the JNDI How-to but it is not clear where and how I would reference the TopicConnectionFactory which is defined, out of the box, with J2EE RI. 2. Do I ned to create such a reference/mapping in order to access these J2EE resources. Any ideas appreciated, as I am well and truly stuck. /Sean -- To unsubscribe, e-mail: For additional commands, e-mail: