axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SANTHOSH KUMARAN K (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2808) NoClassDefFoundError with No Class information while accessing Java Webservice
Date Tue, 29 Sep 2009 13:12:16 GMT

     [ https://issues.apache.org/jira/browse/AXIS-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

SANTHOSH KUMARAN K updated AXIS-2808:
-------------------------------------

    Summary: NoClassDefFoundError with No Class information  while accessing Java Webservice
 (was: NoClassDefFoundError with No Class information  while accessing Java Webserice)

> NoClassDefFoundError with No Class information  while accessing Java Webservice
> -------------------------------------------------------------------------------
>
>                 Key: AXIS-2808
>                 URL: https://issues.apache.org/jira/browse/AXIS-2808
>             Project: Axis
>          Issue Type: Bug
>          Components: Deployment / Registries
>         Environment: Tomcat, JDK 1.4.2
>            Reporter: SANTHOSH KUMARAN K
>
> Hi,
> I tried to deploy my Java Webservice developed used JDK 1.4 and axis. Getting following
exception while trying to access the webservice. The service is deployed in Tomcat 5.5.
> Please find the java and ant info on META-INF File as 
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.7.1
> Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)
> 2009-09-29 11:43:34 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet
AxisServlet threw 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:187)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
> 	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:154)
> 	at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:123)
> 	at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:582)
> 	at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:615)
> 	at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:342)
> 	at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:507)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:310)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:296)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:485)
> 	at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:261)
> 	at org.apache.axis.AxisEngine.getService(AxisEngine.java:274)
> 	at org.apache.axis.MessageContext.setTargetService(MessageContext.java:695)
> 	at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:87)
> 	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> 	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:277)
> 	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> The following log comes in the Client side
> 2009-09-29 11:43:34 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
exception
> javax.xml.soap.SOAPException: (500)Internal Server Error
> 	at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
> 	at org.apache.jsp.jsp.ContractEnquiry_jsp._jspService(ContractEnquiry_jsp.java:126)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> Caused by: (500)Internal Server Error
> 	at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> 	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
> 	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> 	at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> 	at org.apache.axis.client.Call.invoke(Call.java:2553)
> 	at org.apache.axis.client.Call.invoke(Call.java:1753)
> 	at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:105)
> 	... 31 more
> Client Code snippet to call the java webservice
> 		SOAPConnectionImpl conn = new SOAPConnectionImpl();
> 		System.out.println("soap connection factory created.");
> 		Message smsg            = new Message(new ByteArrayInputStream(xmlString.getBytes()),
true);
> 		ByteArrayOutputStream BArros1 = new ByteArrayOutputStream();
> 		smsg.writeTo(BArros1);
> 		System.out.println("soap message created.. going to invoke Contract Enquiry webservice");
> 		Message msgResponse   = (Message)conn.call(smsg, "http://localhost:8080/firstSoftReq/services/FirstSoftReqWebService");
> 		System.out.println("got the response");
> 		ByteArrayOutputStream BArros = new ByteArrayOutputStream();
> 		msgResponse.writeTo(BArros);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message