Is Log4j.jar at the same level commons-logging.jar?  That is, are they in the
same classloader?  And are you making sure to use commons-logging.jar and not
commons-logging-api.jar?

Jake

Quoting [EMAIL PROTECTED]:

> Hi,
>
> Not sure if this is the correct list for this but will try anyway.
>
> We hava a java app which throws the following when run as a db2 stored
> procedure:
>
> java.lang.ExceptionInInitializerError
>       at
> org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)
>       at org.apache.axis.client.Service.getAxisClient(Service.java:104)
>       at org.apache.axis.client.Service.<init>(Service.java:113)
>       at
>
com.cdyne.ws.EmailVerNoTestEmailLocator.<init>(EmailVerNoTestEmailLocator.java:18)
>       at
>
com.cdyne.ws.EmailVerNoTestEmailSoapProxy._initEmailVerNoTestEmailSoapProxy(EmailVerNoTestEmailSoapProxy.java:13)
>       at
>
com.cdyne.ws.EmailVerNoTestEmailSoapProxy.<init>(EmailVerNoTestEmailSoapProxy.java:8)
>       at PROCEDUR5.PROC5(PROCEDUR5.java:17)
> Caused by: org.apache.commons.discovery.DiscoveryException: No
> implementation defined for org.apache.commons.logging.LogFactory
>
> However, what is odd is that if I run the app using the command line java
> .... command in the same server with exactly the same classpath
> as db2 has then everything works fine.
>
> I suspect it may have something to do with logging configuration in which
> case db2 is doing something (or not doing something) that
> creates a problem.
>
> Anyone any ideas what could be causing the exception ?
>
> Thanks in advance,
>
> John.
>
> =====================================
> John Enevoldson
>
> Pulsen Application AB
>
> Direct: +46 (0)33 17 18 72
> Email:  [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to