Already solved the problem after three days of needless search.

Just deleted the crimson.jar package from the tomcats lib directory.

but just in case, does tomcat needs this package for right functioning  ???


TIA, Alex
----- Original Message -----
From: "Curvebal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 10:13 AM
Subject: Error in deploying service


: Hi all !
:
: I'm trying to run the server sided example from
:
: http://www.soapuser.com/server1.html
:
: with the following components
:
: Javamail 1.2
: JAF 1.01
: Soap 2.2
: Tomcat 3.24
:
: on a Windows 98 SE machine.
:
: The problem is, I can't deploy any services.
: When I try to run the list.jsp
(http://localhost:8080/soap/admin/index.html)
: that is provided by SOAP I only get exceptions and the Tomcat goes down as
: well with an exception.
:
: I also tried to deploy a service via the given procedure in the tutorial
: with no success but exceptions.
: I thought it would be some problem with Win98, but the same problems occur
: on a Windows2000 machine.
:
: The exceptions are the same for deploying a service or trying to list a
: service.
:
: Exception tomcat throws:
:
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /examples )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /admin )
: Starting tomcat. Check logs/tomcat.log for error messages
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx(  )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /soap )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /test )
: 2002-01-16 14:36:39 - PoolTcpConnector: Starting HttpConnectionHandler on
: 8080
: 2002-01-16 14:36:39 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
: 8007
: 2002-01-16 14:36:44 - Ctx( /soap ): Exception in: R( /soap +
: /servlet/rpcrouter+ null) - java.lang.NoSuchMethodError
:         at
:
org.apache.crimson.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:
: 152)
:         at
:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Docume
: ntBuilderFactoryImpl.java:82)
:         at
:
org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(XMLParserUtils.java
: :138)
:         at
: org.apache.soap.server.ServiceManager.<init>(ServiceManager.java:83)
:         at
:
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Ser
: verHTTPUtils.java:103)
:         at 2002-01-16 14:36:32 - ContextManager: Adding context Ctx(
: /examples )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /admin )
: Starting tomcat. Check logs/tomcat.log for error messages
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx(  )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /soap )
: 2002-01-16 14:36:32 - ContextManager: Adding context Ctx( /test )
: 2002-01-16 14:36:39 - PoolTcpConnector: Starting HttpConnectionHandler on
: 8080
: 2002-01-16 14:36:39 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
: 8007
: 2002-01-16 14:36:44 - Ctx( /soap ): Exception in: R( /soap +
: /servlet/rpcrouter + null) - java.lang.NoSuchMethodError
:         at
:
org.apache.crimson.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:
: 152)
:         at
:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Docume
: ntBuilderFactoryImpl.java:82)
:         at
:
org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(XMLParserUtils.java
: :138)
:         at
: org.apache.soap.server.ServiceManager.<init>(ServiceManager.java:83)
:         at
:
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Ser
: verHTTPUtils.java:103)
:         at
:
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:21
: 2)
:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
:         at
: org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
:         at org.apache.tomcat.core.Handler.service(Handler.java:287)
:         at
: org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
:         at
:
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
: 6)
:         at
: org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
:         at
:
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
: onnectionHandler.java:213)
:         at
: org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
:         at
: org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
:         at java.lang.Thread.run(Thread.java:484
:
: The deployment routine throws:
: Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
: msg=Unsu
: pported response content type "text/html", must be: "text/xml". Response
: was:
: <h1>Error: 500</h1>
: <h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet
Error:</b><br>
: <pre>java.lang.NoSuchMethodError
:         at
:
org.apache.crimson.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:
: 152)
:         at
:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Docume
: ntBuilderFactoryImpl.java:82)
:         at
:
org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(XMLParserUtils.java
: :138)
:         at
: org.apache.soap.server.ServiceManager.<init>(ServiceManager.java:83)
:         at
:
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Ser
: verHTTPUtils.java:103)
:         at
:
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:21
: 2)
:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
:         at
: org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
:         at org.apache.tomcat.core.Handler.service(Handler.java:287)
:         at
: org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
:         at
:
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
: 6)
:         at
: org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
:         at
:
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
: onnectionHandler.java:213)
:         at
: org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
:         at
: org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
:         at java.lang.Thread.run(Thread.java:484)
: </pre>
:
:
: Thanks for any help
:
: Alex
:
:
:
:

Reply via email to