axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kashif Saleem <kashif_engs0...@yahoo.co.uk>
Subject Problem with JNI based web service
Date Mon, 28 May 2007 21:51:25 GMT
      Hi,
     I just converted my JNI based program into web service. It deployed successfully but
when I click to see the WSDL of the deployed service.I got the following error :
   
  500 HTTP Internal Server Error

   
  Tomcat console is giving  the following error messages:
   
  - Exception:
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:168)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)
        at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
        at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvi
der.java:428)
        at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvi
der.java:461)
        at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(S
OAPService.java:286)
        at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:273)
          at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
          at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java
:33)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
        at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
        at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.jav
a:68)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.j
ava:1226)
        at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:199)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:145)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:596)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:433)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:139)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:596)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:433)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
          at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2460)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:133)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:596)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:119)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:594)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:594)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:433)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:127)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:596)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:433)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
          at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:15
7)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:534)
   
  I would appreciate if someone can tell me how to fix the problem.Thanks for any help.

Best 
Kashif




 		
---------------------------------
 Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo!
Mail.
Mime
View raw message