Hi Elisei ,
I have done this before and did not find any problem , therefore it is difficult for me to give an right answer without looking at your code. So please create a JIRA and attach whatever need to create the issue

Thanks
Deepal
Hello,

I have some big trouble implementing some Axis2 Services. I am relative
new in this, and i don't quite get it what i do wrong. Please take some
time to read this Mail and help me if you can. This is very important
and i didn't get help somewhere else. Thank you!

I am using Axis2 1.3 with Tomcat 6.0.14 and Eclipse 3.3 with the Axis
Plugin.
I developed a Service which works very well. I can acess it and it does
fine.

The second thing i wanted to do is write another service which acesses
the first one. Very well, i generated with the Axis Code Generator a
stub inside the second service to invoke the first one. Everything works
fine, and the service is doing well. Then i wrote some Test classes to
test the second service. I only want to acess my second service, which
inside it acesses the first one.

My biggest Problem, is that the first time i invoke the second service
it works well. If i run the Test class the second time, i get an error:

[INFO] Unable to sendViaPost to
url[http://localhost:8080/axis2/services/QueryHandler]
org.apache.axis2.AxisFault: Transport error: 503 Error: Service Unavailable

I didn't find nowhere help. What do i do wrong? How changes my service
the server?

After i run the test class even the "Version" service isn't working fine.

I get the folowing error:

There was a problem in Axis2 version service , may be the service not
available or some thing has gone wrong. But this does not mean system is
not working ! Try to upload some other service and check to see whether
it is working.

Sometimes a strange service (like QueryHandler21349256) appears in the
service list of Apache Tomcat after i run the test class the first time.
That is not my service, and it disappears after restart Tomcat.

Anybody have an idea?

What do i do wrong?

Many thanks to all who can help me.

Here the whole Error Stack from Tomcat:

INFO: Server startup in 41169 ms
[INFO] Unable to sendViaPost to
url[http://localhost:8080/axis2/services/QueryHandler]
org.apache.axis2.AxisFault: Transport error: 503 Error: Service Unavailable
        at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
de.fraunhofer.isst.dortmund.burns.queryhandler.QueryHandlerStub.sendQuery(QueryHandlerStub.java:163)
        at
de.fraunhofer.isst.dortmund.burns.queryhandler.QueryHandlerCaller.call(QueryHandlerCaller.java:50)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentSkeletonMethods.GetInformation(MappingComponentSkeletonMethods.java:77)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentSkeleton.GetInformation(MappingComponentSkeleton.java:25)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentMessageReceiverInOut.invokeBusinessLogic(MappingComponentMessageReceiverInOut.java:51)
        at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)
org.apache.axis2.AxisFault: Transport error: 503 Error: Service Unavailable
        at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
de.fraunhofer.isst.dortmund.burns.queryhandler.QueryHandlerStub.sendQuery(QueryHandlerStub.java:163)
        at
de.fraunhofer.isst.dortmund.burns.queryhandler.QueryHandlerCaller.call(QueryHandlerCaller.java:50)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentSkeletonMethods.GetInformation(MappingComponentSkeletonMethods.java:77)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentSkeleton.GetInformation(MappingComponentSkeleton.java:25)
        at
de.fraunhofer.isst.dortmund.burns.mappingcomponent.services.MappingComponentMessageReceiverInOut.invokeBusinessLogic(MappingComponentMessageReceiverInOut.java:51)
        at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)
[INFO] Unable to sendViaPost to
url[http://localhost:8080/axis2/services/Version]
org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
        at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
        at
org.apache.jsp.axis2_002dweb.HappyAxis_jsp.invokeTheService(HappyAxis_jsp.java:338)
        at
org.apache.jsp.axis2_002dweb.HappyAxis_jsp._jspService(HappyAxis_jsp.java:505)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to