Jeyakumaran

My log .jar file is log4-1.2.8. I forgot to say that I am compiling within
the Netbeans IDE but this shouldn't be a difference.

Many thanks

N. Robinson

-----Original Message-----
From: Jeyakumaran.C [mailto:[EMAIL PROTECTED] 
Sent: 05 September 2002 05:01
To: [EMAIL PROTECTED]
Subject: Re: web service client - incompatible arguments


wht is yr log4j jar file.Is it log4j-1.2.4.jar?
Or make sure the particular jar files are correctly set in to the classpath.
regards,
Jeyakumaran.C
----- Original Message ----- 
From: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Sent: Thursday, September 04, 2003 2:59 PM
Subject: web service client - incompatible arguments




I am trying to run a web service client in order to interact with a simple
web service that I have successfully deployed onto Axis, within Tomcat.
My web service client code compiles OK (like the example given in the Axis
user guide), however when I run the code (while I have Tomcat and Axis
running) I get the error at the bottom of this mail.
My best inexperienced guess is that there is a conflict between
log4j-1.2.8.jar file classes? If so how would I best resolve this.
I am running Axis v1.1 and jakarta-tomcat-4.1.27-LE-jdk14. 
Any help would be much appreciated. Thanks, N. Robinson 


java.lang.ExceptionInInitializerError 
        at org.apache.axis.client.Service.getAxisClient(Service.java:143) 
        at org.apache.axis.client.Service.<init>(Service.java:152) 
        at TestClient.main(TestClient.java:23) 
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException 
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:532) 
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:272) 
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)

        at
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76) 
        at
org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81) 
        ... 3 more 
Caused by: java.lang.reflect.InvocationTargetException 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) 
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39) 
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27) 
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274) 
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:525) 
        ... 7 more 
Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager,
method: <clinit> signature: ()V) Incompatible argument to function
        at org.apache.log4j.Logger.getLogger(Logger.java:85) 
        at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102) 
        ... 12 more 
Exception in thread "main"  

Reply via email to