axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Herold" <>
Subject RE: classloader/dll/hell help request
Date Thu, 25 Jul 2002 16:19:12 GMT
One more thing:  I don't set a classpath in the system environment
variables - instead I just let the Tomcat startup script set it.

-----Original Message-----
Behalf Of Robert Herold
Sent: Thursday, July 25, 2002 9:15 AM
Subject: RE: classloader/dll/hell help request

I am using your exact configuration (sun jdk 1.4.0_01, tomcat 4.0.4, axis
beta 3) on Windows XP.  No jars are installed in tomcat/common/lib beyond
the stock tomcat jars (except for oracle's jdbc drivers  All
other jars are in tomcat/webapps/mywebapp/WEB-INF/lib, including:

log4j.jar  (renamed from log4j-1.2.4.jar)

I also have log4j.xml in WEB-INF/classes.

Everything works fine.  I've not tried Linux, however.

It's important to note that this setup doesn't work in Tomcat 4.0.3 - the
classloader setup would refuse to load *any* javax.whatever package from
WEB-INF/lib, instead of just the Sun-specified untouchable packages.

-- bob

-----Original Message-----
Behalf Of Heitzso
Sent: Thursday, July 25, 2002 7:59 AM
Subject: classloader/dll/hell help request

Could someone comment on the official recommended best
practice re placing axis and xerces jars in the following

	sun jdk 1.4.0_01
	tomcat 4.0.4
	axis beta 3 (though could easily use nightly drop)

(and what are the known differences between the above on
Win2k and Linux)

I've tried most every variation in the book and hit or
miss depending on jdk, os, etc. and often get everything
working just great for one combo and find it breaking
another.  Right now I just have to get the above setup
flying right.

Directories to put things in (note that I'm not using
the axis webapp, but rather we have our own named

	java.endorsed.dirs (with -Djava.endorsed.dirs=blat)

I've tried all of the above at once!!! and just about
every combo conceivable.  For instance, copying all of axis/lib
jars over the common/lib and WEB-INF/lib and using
-Djava.endorsed.dirs=jakarta-etc/common/lib which blows up
rather spectacularly. I'm now breaking down and asking ...

what's the official recommended layout?


View raw message