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-----
From: Brian Gladish [mailto:[EMAIL PROTECTED]
Sent:
18 January 2005 17:04
To: [EMAIL PROTECTED]
Subject: Problems with logging

 

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

 



----------------------------------------------------------------------------------------------
Meeting Customer Needs Exactly

Whether you are a Managing Agent, Lloyd's Broker or London market insurer or reinsurer, our Insurance Professional Services teams can meet the challenges that unforeseen resourcing or business requirements can present.

By drawing on our full range of services, short-term business problems can be solved quickly, project-based staffing requirements can be met efficiently and longer-term strategic business initiatives can be resourced effectively.

To find out how we can help your business, visit www.xchanging.com/xips or contact Paul Gilbert on 0207 972 0011.

----------------------------------------------------------------------------------------------


-----------------------------------------------------
THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL

AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE.
IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU ARE ON NOTICE OF ITS STATUS.
PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE THIS EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM.
YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER PERSON:

TO DO SO COULD BE A BREACH OF CONFIDENCE

EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND UNAUTHORISED AMENDMENT,
AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR AMENDMENT OR THE CONSEQUENCES THEREOF.

WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR NETWORK FOR VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES.
WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A VIRUS IN ANY EMAIL OR ATTACHMENT.

-----------------------------------------------
[EMAIL PROTECTED]

Reply via email to