axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tian Chi <chi_t...@yahoo.com>
Subject Help! How to fix Axis2 error java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory?
Date Tue, 21 Oct 2008 00:38:41 GMT
Hi all, 

I'm a newbie at Axis2. Just tried to run the downloaded axis2.war in my servlet container
(Resin Pro 3.0.24) but got this error when Resin tried to start Axis2 app.

Basically I copied the asix2.war into my serveler container webapps directoy of servlet container.
I double checked the commons-logging-1.1.1.jar that includes the org.apache.commons.logging.LogFactory.class

is definitely in the webapps/axis2/WEB-INF/lib.

My java version is jdk1.5.0_16.

Can some one shed some light about how to fix this?

thanks in advance, 

Foolwing is the stack trace

[16:56:35.231] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
[16:56:35.231] 	at org.apache.axis2.transport.http.AxisServlet.<clinit>(AxisServlet.java:78)
[16:56:35.231] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:56:35.231] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[16:56:35.231] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[16:56:35.231] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[16:56:35.231] 	at java.lang.Class.newInstance0(Class.java:350)
[16:56:35.231] 	at java.lang.Class.newInstance(Class.java:303)
[16:56:35.231] 	at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:637)
[16:56:35.231] 	at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:587)
[16:56:35.231] 	at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
[16:56:35.231] 	at com.caucho.server.webapp.Application.start(Application.java:1654)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
[16:56:35.231] 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
[16:56:35.231] 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
[16:56:35.231] 	at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670)
[16:56:35.231] 	at com.caucho.server.host.Host.start(Host.java:420)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
[16:56:35.231] 	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
[16:56:35.231] 	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
[16:56:35.231] 	at com.caucho.server.host.HostContainer.start(HostContainer.java:504)
[16:56:35.231] 	at com.caucho.server.resin.ServletServer.start(ServletServer.java:971)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
[16:56:35.231] 	at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
[16:56:35.231] 	at com.caucho.server.deploy.DeployController.start(DeployController.java:517)
[16:56:35.231] 	at com.caucho.server.resin.ResinServer.start(ResinServer.java:551)
[16:56:35.231] 	at com.caucho.server.resin.Resin.init(Resin.java:342)
[16:56:35.231] 	at com.caucho.server.resin.Resin.main(Resin.java:625)

-tian


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message