Thanks for your answer, i\'m going to test my web services in other application

server... I have another doubt, is posible to make the axis web services logic

execution in sequential way instead of a parallel way, that i think is the

default, is a configuration parameter?  Thanks.







------ Mensaje original -------

De : [EMAIL PROTECTED]

Para : [EMAIL PROTECTED], [EMAIL PROTECTED]

Fecha : Wed, 9 Feb 2005 11:15:00 +0530

Asunto : Re: Axis problem

>Hi Carlos,

>  We also faced similar problems. I think problem is with the Tomcat. It is

>not a good HTTP server. Our configuration was Axis 1.1 running under Tomcat

>5.0.27.

>Stopping and starting Tomcat again will get you over this problem.

>I hope that helps.

>Sunil Kothari

>

>

>

>

>DISCLAIMER:

>

>Any Information contained or transmitted in this e-mail and / or attachments

>may contain confidential data, proprietary to Majoris Systems Pvt Ltd., and

>/ or the authors of the information and is intended for use only by the

>individual or entity to which it is addressed. If you are not the intended

>recipient or email appears to have been sent to you by error, you are not

>authorised to access, read, disclose, copy, use or otherwise deal with it.

>If you have received this e-mail in error, please notify us immediately at

>mail to: [EMAIL PROTECTED] and delete this mail from your records.

>

>This is to notify that Majoris Systems Pvt Limited shall have no liability

>or obligation, legal or otherwise, for any errors, omissions, viruses or

>computer problems experienced as a result of this transmission since data

>over the public Internet cannot be guaranteed to be secure or error-free.

>

>

>----- Original Message -----

>From: \"Carlos Hurtado Ramírez\" <[EMAIL PROTECTED]>

>To: <[EMAIL PROTECTED]>

>Sent: Wednesday, February 09, 2005 12:47 AM

>Subject: Axis problem

>

>

>>

>> Hi, i\'m having a problem with the Axis engine, i have developed a web

>service

>> class that works fine, the first 6 or 7 time is invoked for a consumer, in

>the

>> next invocation i\'m having a java.net.ConnectException: Connection timed

>out.

>> What\'s wrong, do i need to configure a parameter in the deployment file

>(wsdd)

>> or is a low level socket problem (maybe for the way the engine assigns the

>> ports) or it is a synchronism related problem.

>>

>> This is the stack trace error message i\'m getting when i try to invoke

>the web

>> service from a client developed for testing purpose.

>>

>> An Error has occurred in this application.

>> AxisFault

>> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

>> faultSubcode:

>> faultString: java.net.ConnectException: Connection timed out

>> faultActor:

>> faultNode:

>> faultDetail:

>> {http://xml.apache.org/axis/}stackTrace: java.net.ConnectException:

>> Connection timed out

>> at java.net.PlainSocketImpl.socketConnect(Native Method)

>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

>> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

>> at java.net.Socket.connect(Socket.java:452)

>> at java.net.Socket.connect(Socket.java:402)

>> at java.net.Socket.<init>(Socket.java:309)

>> at java.net.Socket.<init>(Socket.java:124)

>> at

>>

>org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact

>ory.java:129)

>> at

>org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)

>> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)

>> 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:2248)

>> at org.apache.axis.client.Call.invoke(Call.java:2171)

>> at org.apache.axis.client.Call.invoke(Call.java:1691)

>> at

>>

>com.osinerg.scop.webservices.client.OperadorServiceSoapBindingStub.registraO

>rdenDespacho(OperadorServiceSoapBindingStub.java:279)

>> at

>>

>com.osinerg.scop.webservices.client.OperadorServiceClient.registraOrdenDespa

>cho(OperadorServiceClient.java:190)

>> at

>>

>com.osinerg.scop.webservices.tester.TesterAction.operador5(TesterAction.java

>:215)

>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

>> at

>>

>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39

>)

>> at

>>

>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

>.java:25)

>> at java.lang.reflect.Method.invoke(Method.java:324)

>> at

>>

>org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:

>276)

>> at

>org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)

>> at

>>

>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces

>sor.java:421)

>> at

>>

>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)

>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

>> at

>>

>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application

>FilterChain.java:284)

>> at

>>

>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh

>ain.java:204)

>> at

>>

>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja

>va:257)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext

>Valve.java:245)

>> at

>>

>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja

>va:199)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184

>)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164

>)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:149)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java

>:156)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)

>> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)

>> at

>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)

>> at

>>

>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne

>ction(Http11Protocol.java:732)

>> at

>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)

>> at

>>

>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav

>a:688)

>> at java.lang.Thread.run(Thread.java:534)

>>

>>

>> java.net.ConnectException: Connection timed out

>> at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)

>> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)

>> 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:2248)

>> at org.apache.axis.client.Call.invoke(Call.java:2171)

>> at org.apache.axis.client.Call.invoke(Call.java:1691)

>> at

>>

>com.osinerg.scop.webservices.client.OperadorServiceSoapBindingStub.registraO

>rdenDespacho(OperadorServiceSoapBindingStub.java:279)

>> at

>>

>com.osinerg.scop.webservices.client.OperadorServiceClient.registraOrdenDespa

>cho(OperadorServiceClient.java:190)

>> at

>>

>com.osinerg.scop.webservices.tester.TesterAction.operador5(TesterAction.java

>:215)

>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

>> at

>>

>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39

>)

>> at

>>

>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

>.java:25)

>> at java.lang.reflect.Method.invoke(Method.java:324)

>> at

>>

>org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:

>276)

>> at

>org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)

>> at

>>

>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces

>sor.java:421)

>> at

>>

>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)

>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

>> at

>>

>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application

>FilterChain.java:284)

>> at

>>

>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh

>ain.java:204)

>> at

>>

>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja

>va:257)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext

>Valve.java:245)

>> at

>>

>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja

>va:199)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184

>)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164

>)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:149)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at

>>

>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java

>:156)

>> at

>>

>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex

>t.java:151)

>> at

>>

>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)

>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)

>> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)

>> at

>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)

>> at

>>

>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne

>ction(Http11Protocol.java:732)

>> at

>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)

>> at

>>

>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav

>a:688)

>> at java.lang.Thread.run(Thread.java:534)

>> Caused by: java.net.ConnectException: Connection timed out

>> at java.net.PlainSocketImpl.socketConnect(Native Method)

>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

>> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

>> at java.net.Socket.connect(Socket.java:452)

>> at java.net.Socket.connect(Socket.java:402)

>> at java.net.Socket.(Socket.java:309)

>> at java.net.Socket.(Socket.java:124)

>> at

>>

>org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact

>ory.java:129)

>> at

>org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)

>> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)

>> ... 48 more

>>

>>

>>

>> Thanks!

>>

>>

>> Carlos Hurtado Ramírez

>>

>>

>>

>>

>>

>>

>>

>>

>> ___________________________________________________________________

>> Si desea recibir, semanalmente, el Boletín Electrónico de la PUCP, ingrese

>a:

>> http://www.pucp.edu.pe/boletin/

>

>         



___________________________________________________________________
Si desea recibir, semanalmente, el Boletín Electrónico de la PUCP, ingrese a:
http://www.pucp.edu.pe/boletin/

Reply via email to