tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rink <krist...@zimmer428.net>
Subject Tomcat 5 + Apache SOAP?
Date Sat, 23 Apr 2005 11:48:39 GMT

Hi all;

being into the state of having to check out several SOAP
implementations to decide which one to be used for a certain project, I
currently (for the first time) am "playing around" with Tomcat and
Apache SOAP, trying to get a simple SOAP service up and running...
Actually, I'm not very close to that, right now, getting stuck in the
very first stage of getting Tomcat to work with Apache-SOAP:

* Tomcat itself is up and running.

* http://localhost:8080/soap/ works

* Trying to access http://localhost:8080/soap/servlet/rpcrouter ends up
with an error message like this:


---snip---
type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: Error allocating a servlet instance
	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:595)

root cause

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:124) java.net.URLClassLoader.defineClass
(URLClassLoader.java:260) java.net.URLClassLoader.access$100
(URLClassLoader.java:56) java.net.URLClassLoader$1.run
(URLClassLoader.java:195) java.security.AccessController.doPrivileged
(Native Method) java.net.URLClassLoader.findClass
(URLClassLoader.java:188)

---snip---


Googling for that error left me pretty helpless since I by now tried
several hints regarding problems with Apache SOAP on top of Tomcat 4.x,
but none of these worked. So, can anyone enlighten me on where to tweak
to make the SOAP package find the javax.servlet package? System I'm
running:

Debian unstable
Tomcat 5.5.9
JDK 1.5.0
Apache SOAP 2.3.1

Additionally: Are there any other implementations of SOAP for Tomcat
that might be worth investigating? 


Thanks for your patience and bye,
Kris

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


Mime
View raw message