axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brennan Spies" <brennansp...@sbcglobal.net>
Subject RE: No implementation defined for org.apache.commons.logging.LogFactory
Date Wed, 07 Mar 2007 03:38:48 GMT
Try

 

-Dorg.apache.commons.logging.LogFactory=
org.apache.commons.logging.impl.LogFactoryImpl

 

(or a more specific factory, if you wish)

 

  _____  

From: john.enevoldson@pulsen.se [mailto:john.enevoldson@pulsen.se] 
Sent: Tuesday, March 06, 2007 3:48 AM
To: axis-user@ws.apache.org
Subject: No implementation defined for org.apache.commons.logging.LogFactory

 

Hi,

I wonder if anyone can help with the following problem we are having using
axis:

We have a simple piece of code to call a webservice. This works fine when we
run the program
from the command line (java -cp ....... prog.class).

However, we put the same code into a db2 stored procedure, compile, deploy
and then call the stored procedure and we get the
following error:

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.ja
va:18)
at
com.cdyne.ws.EmailVerNoTestEmailSoapProxy._initEmailVerNoTestEmailSoapProxy(
EmailVerNoTestEmailSoapProxy.java:13)
at
com.cdyne.ws.EmailVerNoTestEmailSoapProxy.<init>(EmailVerNoTestEmailSoapProx
y.java:8)
at PROCEDUR5.PROC5(PROCEDUR5.java:18)
Caused by: org.apache.commons.discovery.DiscoveryException: No
implementation defined for org.apache.commons.logging.LogFactory


The classpath is exactly the same in both cases and in both cases we are
running on the same server with the same jvm.

Any suggestions ?

Best regards,

John.

=====================================
John Enevoldson

Pulsen Application AB

Direct: +46 (0)33 17 18 72
Email: john.enevoldson@pulsen.se 


Mime
View raw message