Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 99127 invoked by uid 500); 27 Sep 2001 21:21:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 99093 invoked from network); 27 Sep 2001 21:21:15 -0000 Subject: Re: pulling my hair out re: EJB in tomcat To: tomcat-user@jakarta.apache.org X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: mlamb@roinet.com Date: Thu, 27 Sep 2001 17:04:45 -0400 X-MIMETrack: Serialize by Router on Corporate/ROI/US(Release 5.0.6a |January 17, 2001) at 09/27/2001 05:21:21 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >> I've searched the archives to no avail. I'm running Tomcat 4.0 / >> Apache on RH7.1, with JBoss 2.4.1 on another machine. >> >> I'm able to run the standalone demo app from the RH7.1 box with no >> problems whatsoever. I have a jndi.properties file in my classpath. >> >> When I run Tomcat with the same classpath, I get "Name not defined in >> this context." > >Use the -nonaming option to launch Catalina. That will disable the JNDI ENC >support (and use the one from jBoss instead). Thanks for the tip. I found a little more info at http://jakarta.apache.org/turbine/howto/jboss-howto.html The example on that page is exactly what I'm trying to accomplish for the moment, but I'm still experiencing problems. I'm sniffing the network between the computers, and the Tomcat box is definitely communicating with the JBoss box (i.e., no more naming issues!). Now, however, I get: java.lang.ClassCastException: javax.naming.NameClassPair Like I said, what I'm trying to accomplish is exactly what the example at the above URL illustrates. Any more ideas? - Marty