axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wenpeng WEI <wenpeng....@gmail.com>
Subject "org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFactory" exception
Date Mon, 19 Oct 2009 17:46:10 GMT
Hi all,

I am new to Axis.
I am using axis just for invoking web services and it works just well  
in command line.
But when I was calling the same method that works well before from  
another java application I got a  
"org.apache.commons.discovery.DiscoveryException: No implementation  
defined for org.apache.commons.logging.LogFactory" exception.
The application I called axis from is called "Dash", a agent platform.  
And there is no logging system in it.
I have been looking for the solution for a long time and got nothing  
good. Does anyone know why and how to fix it? Thanks a lot.

Wei


-------------------------

java.lang.ExceptionInInitializerError
	at  
org.apache.axis.encoding.TypeMappingImpl.<clinit>(TypeMappingImpl.java: 
77)
	at  
org 
.apache 
.axis 
.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java: 
155)
	at  
org 
.apache 
.axis 
.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java: 
149)
	at org.apache.axis.wsdl.toJava.Emitter.<init>(Emitter.java:144)
	at  
jade 
.webservice 
.dynamicClient.DynamicClient.internalInitClient(DynamicClient.java:406)
	at  
jade 
.webservice.dynamicClient.DynamicClient.initClient(DynamicClient.java: 
367)
	at  
jade 
.webservice 
.dynamicClient.DynamicClientCache.get(DynamicClientCache.java:123)
	at  
jade 
.webservice 
.dynamicClient.DynamicClientCache.get(DynamicClientCache.java:77)
	at baseProcess.dashSample.SimpleWindow.startup(SimpleWindow.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at dash.DashAgent.methodImpl(DashAgent.java:523)
	at dash.DashAgent.control(DashAgent.java:459)
	at ps.Action.execControl(Action.java:1047)
	at ps.Action.execute(Action.java:286)
	at ps.ProdSys.start(ProdSys.java:298)
	at dash.DashAgent.run(DashAgent.java:180)
	at java.lang.Thread.run(Thread.java:613)
Caused by: org.apache.commons.discovery.DiscoveryException: No  
implementation defined for org.apache.commons.logging.LogFactory
	at  
org 
.apache.commons.discovery.tools.DiscoverClass.find(DiscoverClass.java: 
404)
	at  
org 
.apache 
.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java: 
579)
	at  
org 
.apache 
.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java: 
418)
	at  
org 
.apache 
.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java: 
378)
	at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java: 
45)
	at java.security.AccessController.doPrivileged(Native Method)
	at  
org 
.apache 
.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
	at  
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java: 
33)
	... 20 more

Mime
View raw message