Hello,
We initialized our JaxRpcServlet up and it seemed to work okay until we
tried to call a method on it. Immediately got a NoClassDefFoundError for
a class that is present on our classpath. The class is
com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl, which is contained in
saaj-impl.jar on our classpath.
I have included part of the log below. Can anyone help with this? I am
not sure what's going on here, since the saaj-implentation.jar is
included in our WAR file and our classpath is explicitly specified in
our web.xml.
Thanks for your time,
Gabe
=================== Log excerpt follows: ====================
java.lang.NoClassDefFoundError:
com/sun/xml/messaging/saaj/soap/SOAPDocumentImpl
at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:52
)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.<init>(SOAPPart1_
1Impl.java:24)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Messag
e1_1Impl.java:48)
at
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:144)
at
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1I
mpl.java:43)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createM
essage(SOAPMessageFactory1_1Impl.java:32)
at
com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessag
eContext.java:122)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.getSOAPMessageFromRequ
est(JAXRPCServletDelegate.java:609)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDe
legate.java:273)
at
com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.ja
va:96)
at
com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Unknown Source)
Dec 9, 2003 2:53:27 AM com.sun.xml.messaging.saaj.soap.MessageImpl
<init>
SEVERE: SAAJ0535: Unable to internalize message
Dec 9, 2003 2:53:27 AM com.sun.xml.rpc.server.http.JAXRPCServletDelegate
doPost
SEVERE: Couldnt create SOAP message due to exception: {0}
Couldnt create SOAP message due to exception: {0}
at
com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessag
eContext.java:124)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.getSOAPMessageFromRequ
est(JAXRPCServletDelegate.java:609)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDe
legate.java:273)
at
com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.ja
va:96)
at
com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Unknown Source)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net