This is a versioning problem with Log4j. I had the same problem while using
OpenJMS and Axis 1.1 simultaneously. The problem was that OpenJMS uses Log4J
1.3.3 and Axis uses Log4J 1.2.8. I solved the problem by altering the
classpath, including the Log4J 1.2.8 jar before the 1.1.3 jar.

Regards,

Christer

-----Original Message-----
From: TULK, Daniel, FM [mailto:[EMAIL PROTECTED]
Sent: den 2 juli 2003 17:43
To: [EMAIL PROTECTED]
Subject: RC2 - 1_1 Logging Config Problem


Hi,

I just upgraded from 1.1 RC2 to 1.1 release and now my client terminates
with the following exception. Does anyone know what I need to do to fix this
or where documentation is that will help me fix it?

Thanks

Dan


java.lang.ExceptionInInitializerError:
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.message.MessageElement.<clinit>(MessageElement.java:99)
        at
com.rbos.sabre.creditcheck.soap.UsernameTokenSerializer.getHeaderElement(Use
rnameTokenSerializer.java:110)
        at
com.rbos.sabre.creditcheck.soap.UsernameTokenSerializer.getHeaderElement(Use
rnameTokenSerializer.java:30)
        at
com.rbos.sabre.creditcheck.test.SoapTestHelper.getUsernameToken(SoapTestHelp
er.java:95)
        at
com.rbos.sabre.creditcheck.client.SoapClientApplication.<init>(SoapClientApp
lication.java:44)
        at
com.rbos.sabre.creditcheck.client.SoapClientApplication.main(SoapClientAppli
cation.java:84)
Exception in thread "main" 


*****************************************************************************
******
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
             Regulated by the Financial Services Authority

            Visit our website at http://www.rbs.co.uk/CBFM/
*****************************************************************************
******

Reply via email to