AFAIK there is no need to add those jars into the tomcat lib directory. What I have done is simply added the jars to the end of the classpath in the top of the startup.bat file.
set CLASSPATH=.;%JAVA_HOME%\bin;%AXIS_DEVHOME;%AXIS_DEVHOME%\lib\axis.jar;%AXIS_DEVHOME%\lib\jaxrpc.jar;%AXIS_DEVHOME%\lib\saaj.jar;%AXIS_DEVHOME%\lib\jaxm-api.jar;%AXIS_DEVHOME%\lib\wsdl4j.jar;%AXIS_DEVHOME%\lib\log4j-1.2.8.jar;%AXIS_DEVHOME%\lib\commons-logging.jar;%AXIS_DEVHOME%\lib\commons-discovery.jar;%AXIS_DEVHOME%\lib\xerces.jar;%AXIS_DEVHOME%\lib\xalan.jar;%AXIS_DEVHOME%\lib\dom4j.jar;%AXIS_DEVHOME%\lib\activation.jar;%AXIS_DEVHOME%\lib\axis-ant.jar;%JAVA_HOME\lib;%AXIS_DEVHOME%\lib\soap.jar;%AXIS_DEVHOME%\lib\mail.jar;%AXIS_DEVHOME%\lib\activation.jar
Axis.jar and others should also be present in the axis web app you deploy in tomcat to pass through the Axis Engine. HTH James
-----Original Message-----
Some of the other posts about classpath have been of interest in the problem I posted earlier (NoClassDefFoundError). Prompted by those posts I added axis.jar and commons-discovery.jar to the Tomcat 4.1\common\lib directory.
Now the exception I get is as follows:
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
I am using Axis 1.1 and Tomcat 4.1. Is there something about this logging thing that I am completely missing? I followed the instructions on pages 2 & 3 of the Axis Developer’s guide which mention nothing about adding jars to directories, etc. What is going wrong?
Brian J. Gladish Senior Software Engineer Raining Data Corporation (http://www.rainingdata.com) (949) 260-5140
|
- Problems with logging Brian Gladish
- James Clinton