tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trond G. Ziarkowski" <trond.ziarkow...@gep-as.com>
Subject Re: Tomcat 5 + Apache SOAP?
Date Sat, 23 Apr 2005 18:16:57 GMT
I also would recommend Axis, but if you put the jar files in common/lib 
you will not be able to reload your app. At least that happened to me 
with axis 1.1 under 5.0.28... That also breaks the "rule" that the app 
should be as self-contained as possible to make it as portable as possible.

Trond

Mark Leone wrote:

> Apache SOAP is the original apache SOAP implementation. I recommend 
> you check out apache Axis, its successor. I have Axis 1.2 (formerly 
> ran 1.1) running in Tomcat 5.5.8, and I had it running in Tomcat 4.x 
> for over a year. Just make sure that the jar files that Axis needs are 
> in the common/lib directory (if Tomcat needs them also). Not sure if 
> HttpServlet is in that catagory, but worth a try.
>
> Kristian Rink wrote:
>
>> 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
>>
>>
>>  
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
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