• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error running deploy.wsdd - NoClassDefFoundError Deserializer  RSS feed

 
sam barker
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was trying to deploy a webapp.When I ran the java deploy.wsdd,I got the Http return code 500.While I was looking up the error log ,I found that it couldnot find
java.lang.NoClassDefFoundError: org/apache/axis/encoding/Deserializer
But I have copied the axis,jar into tomcat/common/lib folder.Infact I have copied all the jar files from axis/WEB-INF/lib into tomcat/common/lib folder.
Still the error persists.Has anyone faced this problem before

The error log
===============================================================

Exception: AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (500)Internal Server Error
faultActor:
faultNode:
faultDetail:
{}:return code: 500
<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet.init() for servlet AxisServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: org/apache/axis/encoding/Deserializer
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:219)
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
java.security.AccessController.doPrivileged(Native Method)
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)
org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
org.apache.axis.deployment.wsdd.WSDDService.&lt;init&gt;(WSDDService.java:233)
org.apache.axis.deployment.wsdd.WSDDDeployment.&lt;init&gt;(WSDDDeployment.java:192)
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)
org.apache.axis.deployment.wsdd.WSDDDocument.&lt;init&gt;(WSDDDocument.java:65)
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
org.apache.axis.AxisEngine.init(AxisEngine.java:172)
org.apache.axis.AxisEngine.&lt;init&gt;(AxisEngine.java:156)
org.apache.axis.server.AxisServer.&lt;init&gt;(AxisServer.java:88)
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:500

-
=========================================================
Cheers,
Sam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!