You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Roy Benjamin <rb...@yahoo.com> on 2004/06/30 19:31:06 UTC

Axis and commons-logging config problem

Hello,

I'm trying to bring up a simple axis service
prototype.
I have axis 1.1 installed and the samples run Ok,

When I try to run a test client though (for my
prototype) I have what I think is a commons-logging
configuration problem.

Does someone recognize this and or know what
properties
I need to set to run the test client?

Thanks

Roy


Exception in thread "main"
java.lang.ExceptionInInitializerError
        at
org.apache.axis.client.Service.getAxisClient(Service.java:143)
        at
org.apache.axis.client.Service.<init>(Service.java:152)
        at
com.adobe.devtech.soap.AsnPartnerService_ServiceLocator.<init>(AsnPartnerService_ServiceLocator.java:10)
        at
com.adobe.devtech.soap.AsnPartnerServiceTestClient.main(AsnPartnerServiceTestClient.java:27)
Caused by:
org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java: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)
        ... 4 more
Caused by: java.lang.reflect.InvocationTargetException
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
        ... 8 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)
        ... 13 more