axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <...@us.ibm.com>
Subject RE: NoClassDefFoundError: javax.xml.rpc.namespace.QName
Date Sun, 17 Mar 2002 20:40:22 GMT
Don't put xerces.jar in there - leave it in the axis/web-inf/lib dir.
Place just jaxrpc.jar in tomcat's lib dir.
-Dug


Parimi Srinivas <psriniva@brocade.com> on 03/17/2002 03:31:36 PM

Please respond to axis-user@xml.apache.org

To:    "'axis-user@xml.apache.org'" <axis-user@xml.apache.org>
cc:
Subject:    RE: NoClassDefFoundError: javax.xml.rpc.namespace.QName



I used to get the same NoClassDefFoundError. When I placed xerces.jar in
tomcat\lib, I get the following Exception when try to execute
org.apache.axis.client.AdminClient,

java.lang.NoSuchMethodError
 at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown
Source)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
 at org.apache.axis.Message.getSOAPEnvelope(Unknown Source)
 at
org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(Unknown
Source)
 at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source)
 at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
 at org.apache.axis.SimpleChain.invoke(Unknown Source)
 at org.apache.axis.server.AxisServer.invoke(Unknown Source)
 at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application

FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh

ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja

va:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja

va:190)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180

)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

66)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.

java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

64)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170

)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

64)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java

:174)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5

66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:

1012)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107

)
 at java.lang.Thread.run(Thread.java:484)

I searched if I had any older version of Axis and I don't find one. Help
would be appreciated.

Thanks,
parimi
-----Original Message-----
From: Doug Davis [mailto:dug@us.ibm.com]
Sent: Sunday, March 17, 2002 12:04 PM
To: axis-user@xml.apache.org
Subject: Re: NoClassDefFoundError: javax.xml.rpc.namespace.QName


Its a new "feature" of tomcat  :-)
-Dug


Bryan Field-Elliot <bryan_lists@netmeme.org> on 03/17/2002 12:51:26 PM

Please respond to axis-user@xml.apache.org

To:    axis-user@xml.apache.org
cc:
Subject:    Re: NoClassDefFoundError: javax.xml.rpc.namespace.QName



I meant, "classloader problems eh?", not "classpath problems eh?".

Bryan


On Sun, 2002-03-17 at 10:36, Doug Davis wrote:

place jaxrpc.jar into tomcat's lib dir.-DugBryan Field-Elliot
<bryan_lists@netmeme.org> on 03/17/2002 12:38:02 PMPlease respond to
axis-user@xml.apache.orgTo:    axis-user@xml.apache.orgcc:Subject:
NoClassDefFoundError: javax.xml.rpc.namespace.QNameI'm trying to deploy
Axis Beta-1 on Tomcat 4.0.3, using the sample webapp"axis" which comes with
the distribution.Every time I try to access the Admin or a JWS service, I
get:java.lang.NoClassDefFoundError: javax/xml/rpc/namespace/QName      at
org.apache.axis.transport.http.AdminServlet.getEngine(UnknownSource)
at org.apache.axis.transport.http.AdminServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)      at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati

onFilterChain.java:247)


atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter

Chain.java:193)


atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.

java:243)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:566)


atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472

)


atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.

java:190)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:566)


atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472

)


atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
atorg.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)



atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1

80)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:566)


atorg.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv

e.java:170)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:564)


atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1

70)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:564)


atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:564)


atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472

)


atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja

va:174)


atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java

:566)


atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472

)


atorg.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
atorg.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHa

ndler.java:217)


atorg.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:

194)

     at java.lang.Thread.run(Thread.java:484)Is there anything I'm doing
wrong? The docs say I need Xerces or Crimson. Iknow that Tomcat comes with
Xerces,but perhaps it's too old a version. So, I downloaded Xerces 2.0.1,
and put"xercesImpl.jar" and "xmlParserAPIs.jar" in the axis webapp's
WEB-INF/libsubdirectory. Still I get the same error.Help would be
appreciated! Thanks,Bryan







Mime
View raw message