Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 24782 invoked by uid 500); 27 Mar 2001 04:11:10 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 24768 invoked from network); 27 Mar 2001 04:11:08 -0000 Message-ID: <3AC0126F.16C7347D@inprise.com> Date: Mon, 26 Mar 2001 20:09:19 -0800 From: "T. Park" Organization: Borland Software Company X-Mailer: Mozilla 4.75 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Cause found [was Re: How do I use a non-apache naming service with tomcat 4?] References: <3ABFEB0C.76587A71@inprise.com> <00c001c0b65c$d32be690$82deb018@intalio.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Remy, I'm running tomcat 4 beta 1. I'll download tonight's latest build and see how I fare with that. Thanks so much for the support! -Thom p.s. is there a b2 drop in the near future - I'm trying to focus my integration efforts on the nearest milestone build. Remy Maucherat wrote: > > Guys, > > > > I've isolated the cause of the problem down to the inclusion of the > javax.naming > > package in my 'big everything' jar. > > If I remove the javax.naming package from the jar file, then all works > well, if > > not, we get that wierd 'signature' problem with createNamingContext. > > (with or without enabling naming). > > > > > > Would it seem reasonable not to load naming support jars if tomcat isn't > going > > to be running a [native] naming service? > > Which version of TC 4 are you using ? > I believe the latest nightly builds could fix those problems. > > > My problem here is I have a naming service I want to use and is packaged > with > > the corresponding javax.naming package that it is based on > > > > the problem is that I'm unable (by default) to control what jndi stuff > get's > > stuffed on the classpath of tomcat > > > > I'm unable to swap these (the naming support jars) around as tomcat's > stuff > > seems to have been compiled against a different rev of the javax.naming > > stuff. > > > > > > So - Do you know what version of javax.naming is in tomcat 4's jndi.jar? > > It's the same as yours, but loaded by a different classloader, so it's not > compatible anyway. > > Remy -- http://www.borland.com/newsgroups http://www.borland.com/devsupport/disclaim.html