axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ry...@ca.ibm.com
Subject AxisClassLoader problem with Tomcat 3.2.3
Date Fri, 08 Feb 2002 00:04:29 GMT
I'm getting ClassNotFound errors when I use Tomcat 3.2.3. I am trying to
get the stock sample working. The testit script fails with ClassNotFound
errors. First I put axis.jar, etc. in the axis webapp lib directory, but
then it couldn't load org.apache.axis.utils.Admin. Then I moved the jars to
the global CLASSPATH, and could at least deploy the service, but then when
I tried invoking the service it couldn't load
sample.stock.StockQuoteService. Is axis supposed to work with Tomcat 3.2.3
or do I need to use Tomcat 4? Here's the error.

AxisFault
  faultCode: ns1:Server.userException
  faultString: java.lang.ClassNotFoundException:
samples.stock.StockQuoteService
  faultActor: null
  faultDetail:
     exceptionName: java.lang.ClassNotFoundException
     stackTrace: java.lang.ClassNotFoundException:
samples.stock.StockQuoteService
     at java.lang.ClassLoader.findClass(ClassLoader.java:356)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
     at
org.apache.axis.utils.AxisClassLoader.loadClass(AxisClassLoader.java:151)
     at
org.apache.axis.utils.AxisClassLoader.lookup(AxisClassLoader.java:165)
     at
org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:337)
     at
org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:117)
     at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:216)
     at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:253)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
     at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:485)
     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:812)
     at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
     at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.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:498)


Arthur Ryman


Mime
View raw message