Many thanks Simon!! I finally go around to applying this fix. It
worked! Also I had to place the jndi.properties file under
TOMCAT_HOME/classes
So much for portability...
Great...then the next error which was resolved quickly regarding the use
of XALANJ2 ... In the startup scripts, I had to put the xerces and xalan
jars before the jaxp and parser jars...otherwise all hell breaks loose
I think the XALAN folks noted problems with JRUN, but this seems to be
also with Tomcat... perhaps someone has a better solution than
hardcoding the workaround in the start up script....
regards
bob
On Tue, 23 Jan 2001 14:40:43 +0100
"Simon Oldeboershuis, outermedia" <[EMAIL PROTECTED]> wrote:
> Bob Mulrenin schrieb:
> >
> > I am using JNDI and RMI --
> > Has anyone used JNDI with Tomcat? Both Linux and NT give me difficulty.
> >
> > JNDI looks like my problem ... I have the jndi.properties files
> > referred to in many classpaths....whether it be automatic under the web
> > app classes folder, etc.
> >
> > Thanks!
> >
> > Bob
> >
> Hi Bob,
>
> I had a lot of problems with jndi and rmi. My first solution was to put
> all classes and properties into
> tomcat/lib/*.jar
> tomcat/classes
> BUT this destroys the separation of the different webapps.
>
> If you are using jdk1.2 or higher you can put the following into your
> server.xml
> ----copy--------_
> <RequestInterceptor
> className="org.apache.tomcat.request.Jdk12Interceptor"
> debug="0" />
> ----paste--------
> Now, every thread get the correct web application dependent classloader.
> Everything is fine, IF ALL jndi/rmi depending classes are located in the
> corresponding application dirs
> WEB-INF/classes
> WEB-INF/lib/*.jar
>
> I hope this helps.
> simon
>
> PS: I do not know if I have given a correct "general" solution or if I
> described the problem correctly. But a solution for this problem should
> be listed in some FAQ or in a user guide. I invested a lot of time to
> find a solution.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
Bob
Robert Mulrenin
SalzburgNewMediaLab
Salzburg Research Forschungsgesellschaft m.b.H
Jakob-Haringer-Strasse 5/III
A-5020 Salzburg
AUSTRIA
phone: +43-662-2288-402
fax: +43-662-2288-222
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]