Heitzso,

Same overhere.
On Tomcat 4.0.4 you can leave the jar files in the axis/web-app/lib
directory
The validate output note
    "On Tomcat 4.x, you may need to put libraries that contain java.* or
javax.* packages into CATALINA_HOME/commons/lib"
does not seems to apply for Tomcat 4.0.4

I do get the warning message
    Warning: could not find resource server-config.wsdd
    There is no a server configuration file;run AdminClient to create one

But server-config.wsdd is generted and is working fine. So I suspect that
the warning message is not valid

Here is my validate output:

Examining webapp configuration

Needed Components
Found SAAJ API (javax.xml.soap.SOAPMessage) at E:\Program Files\Apache
Tomcat 4.0\webapps\axis\WEB-INF\lib\saaj.jar
Found JAX-RPC API (javax.xml.rpc.Service) at E:\Program Files\Apache Tomcat
4.0\webapps\axis\WEB-INF\lib\jaxrpc.jar
Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at E:\Program
Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\axis.jar
Found Jakarta-commons logging (org.apache.commons.logging.Log) at E:\Program
Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\commons-logging.jar
Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at E:\Program
Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\wsdl4j.jar
Found JAXP implementation (javax.xml.parsers.SAXParserFactory)
Found Activation API (javax.activation.DataHandler) at E:\Program
Files\Apache Tomcat 4.0\common\lib\activation.jar

Optional Components
Found Mail API (javax.mail.internet.MimeMessage) at E:\Program Files\Apache
Tomcat 4.0\common\lib\mail.jar

Warning: could not find class org.apache.xml.security.Init from file
xmlsec.jar
Attachments will not work
See http://xml.apache.org/security/


Warning: could not find resource server-config.wsdd
There is no a server configuration file;run AdminClient to create oneThe
core axis libraries are present. 1 optional axis library is missing

Note: On Tomcat 4.x, you may need to put libraries that contain java.* or
javax.* packages into CATALINA_HOME/commons/lib

----- Original Message -----
From: "Robert Herold" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 classes12.zip).
All
> other jars are in tomcat/webapps/mywebapp/WEB-INF/lib, including:
>
> axis.jar
> commons-logging.jar
> jaxrpc.jar
> log4j.jar  (renamed from log4j-1.2.4.jar)
> saaj.jar
> tt-bytecode.jar
> wsdl4j.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-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Heitzso
> Sent: Thursday, July 25, 2002 7:59 AM
> To: [EMAIL PROTECTED]
> Subject: classloader/dll/hell help request
>
>
> Could someone comment on the official recommended best
> practice re placing axis and xerces jars in the following
> environment:
>
> 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
> TheDataWeb_Services).
>
> TheDataWeb_Services/WEB-INF/lib
> jakarta-tomcat-4.0.4/common/lib
> 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?
>
> Thanks!!!
> Heitzso
>

Reply via email to