axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iván Escobedo <iescob...@nacion.co.cr>
Subject java.lang.reflect.InvocationTargetException
Date Tue, 10 Dec 2002 17:10:22 GMT
Hi, i have this problem, i develope a web service and used the WSDL2Java to make the java classes
to access my web service, both the service and the test class are in the same machine, the
problem i have is this, could anyone help me find out what happens?

[root@pegasus classes]# java -classpath /home/jakarta-tomcat-4.1.12/webapps/axis/WEB-INF/lib/axis.jar:/home/jakarta-tomcat-4.1.12/shared/classes/:/home/jakarta-tomcat-4.1.12/webapps/axis/WEB-INF/lib/jaxrpc.jar:/home/jakarta-tomcat-4.1.12/webapps/axis/WEB-INF/lib/saaj.jar:/home/jakarta-tomcat-4.1.12/webapps/axis/WEB-INF/lib/commons-discovery.jar:/home/jakarta-tomcat-4.1.12/webapps/axis/WEB-INF/lib/commons-logging.jar:/home/jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar:/home/jakarta-tomcat-4.1.12/common/endorsed/xmlParserAPIs.jar:/home/jakarta-tomcat-4.1.12/common/lib/servlet.jar
RF_RegisterServiceTest

Dec 10, 2002 11:09:30 AM org.apache.axis.client.Call invoke
INFO: Mapping Exception to AxisFault
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.lang.reflect.InvocationTargetException
 faultActor: null
 faultDetail: 
        stackTrace: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NoSuchMethodError: com.capitalfinanciero.core.CFUser.getUserCode(Ljava/lang/String;)I
        at com.capitalfinanciero.webservices.RF_RegisterService.registerUser(RF_RegisterService.java:71)
        ... 44 more


java.lang.reflect.InvocationTargetException
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135)
        at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:942)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579)
        at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:897)
        at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2132)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315)
        at priv.nacion.pegasus.RF_RegisterServiceSoapBindingStub.registerUser(RF_RegisterServiceSoapBindingStub.java:100)
        at RF_RegisterServiceTest.main(RF_RegisterServiceTest.java:20)
java.lang.reflect.InvocationTargetException

Mime
View raw message