You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rommel Sharma <ro...@mahindrabt.com> on 2004/02/12 06:35:53 UTC
Connection Timed Out
Hi,
I am using Axis 1.1, on Tomcat 4.1.12, using jdk 1.3
My client (uses SSL) invoking a webservice method brings down the server
from time to time.
Any idea as to what could be the reason for the server crashing? This does
not happen on every call to the server side method, but happens irregularly.
Thanks and regards,
Rommel.
DEBUG [main] - Enter: AxisClient::invoke
DEBUG [main] - EngineHandler: null
DEBUG [main] - Enter: SimpleChain::invoke
DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(enter00)
DEBUG [main] - Enter: HTTPSender::invoke
DEBUG [main] - java.net.ConnectException: Connection timed out
DEBUG [main] - Enter: SOAPPart ctor(FORM_FAULT)
DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
DEBUG [main] - Setting current message form to: FORM_FAULT (currentMessage
is no
w org.apache.axis.AxisFault)
DEBUG [main] - Exit: SOAPPart ctor()
DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(exception00)
DEBUG [main] - Exception:
DEBUG [main] - NSPush (32)
DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(empty00)
DEBUG [main] - NSPop (empty)
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:
Conn
ection 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:434)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA6275)
at
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA
6275)
at
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac
tory.java:130)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
57)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.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.bt.oexgateway.webservices.OAGXMLServiceSoapBindingStub.wsMethod1(OAGXMLS
erviceSoapBindingStub.java:252)
at
wsclientout.WebServiceClientOut.main(WebServiceClientOut.java:180)
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(InvocationStrateg
y.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.bt.oexgateway.webservices.OAGXMLServiceSoapBindingStub.wsMethod1
(OAGXMLServiceSoapBindingStub.java:252)
at
wsclientout.WebServiceClientOut.main(WebServiceClientOut.java:180)
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:434)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA6275)
at
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA
6275)
at
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac
tory.java:130)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
57)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
... 11 more
DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
ERROR [main] - MYRemoteException:java.net.ConnectException: Connection timed
out
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
Re: Connection Timed Out
Posted by Airline Pedestal <ai...@yahoo.com>.
Maybe an "Out of Memory" error. You could
consider increasing the heap size on the
server JVM. You could add something like
set JAVA_OPTS=-server -Xms128m -Xmx256m
to catalina.bat
Just a guess though.
--- Rommel Sharma <ro...@mahindrabt.com> wrote:
>
> Just to add to my earlier query...I have tried
> increasing the timeout
> duration in serevr.xml...
> ----- Original Message -----
> From: "Rommel Sharma" <ro...@mahindrabt.com>
> To: <ax...@ws.apache.org>
> Sent: Thursday, February 12, 2004 11:05 AM
> Subject: Connection Timed Out
>
> > Hi,
> >
> > I am using Axis 1.1, on Tomcat 4.1.12, using jdk
> 1.3
> > My client (uses SSL) invoking a webservice method
> brings down the server
> > from time to time.
> > Any idea as to what could be the reason for the
> server crashing? This does
> > not happen on every call to the server side
> method, but happens
> irregularly.
> >
> > Thanks and regards,
> > Rommel.
> >
> > DEBUG [main] - Enter: AxisClient::invoke
> > DEBUG [main] - EngineHandler: null
> > DEBUG [main] - Enter: SimpleChain::invoke
> > DEBUG [main] -
>
org.apache.axis.i18n.resource::handleGetObject(enter00)
> > DEBUG [main] - Enter: HTTPSender::invoke
> > DEBUG [main] - java.net.ConnectException:
> Connection timed out
> > DEBUG [main] - Enter: SOAPPart ctor(FORM_FAULT)
> > DEBUG [main] -
>
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> > DEBUG [main] - Setting current message form to:
> FORM_FAULT (currentMessage
> > is no
> > w org.apache.axis.AxisFault)
> > DEBUG [main] - Exit: SOAPPart ctor()
> > DEBUG [main] -
>
org.apache.axis.i18n.resource::handleGetObject(exception00)
> > DEBUG [main] - Exception:
> > DEBUG [main] - NSPush (32)
> > DEBUG [main] -
>
org.apache.axis.i18n.resource::handleGetObject(empty00)
> > DEBUG [main] - NSPop (empty)
> > 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:
> > Conn
> > ection 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)
>
>
*********************************************************
> Disclaimer
>
> This message (including any attachments) contains
> confidential information intended for a specific
> individual and purpose, and is protected by law.
> If you are not the intended recipient, you should
> delete this message and are hereby notified that
> any disclosure, copying, or distribution of this
> message, or the taking of any action based on it,
> is strictly prohibited.
>
>
*********************************************************
> Visit us at http://www.mahindrabt.com
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
Connection Timed Out
Posted by Rommel Sharma <ro...@mahindrabt.com>.
Just to add to my earlier query...I have tried increasing the timeout
duration in serevr.xml...
----- Original Message -----
From: "Rommel Sharma" <ro...@mahindrabt.com>
To: <ax...@ws.apache.org>
Sent: Thursday, February 12, 2004 11:05 AM
Subject: Connection Timed Out
> Hi,
>
> I am using Axis 1.1, on Tomcat 4.1.12, using jdk 1.3
> My client (uses SSL) invoking a webservice method brings down the server
> from time to time.
> Any idea as to what could be the reason for the server crashing? This does
> not happen on every call to the server side method, but happens
irregularly.
>
> Thanks and regards,
> Rommel.
>
> DEBUG [main] - Enter: AxisClient::invoke
> DEBUG [main] - EngineHandler: null
> DEBUG [main] - Enter: SimpleChain::invoke
> DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(enter00)
> DEBUG [main] - Enter: HTTPSender::invoke
> DEBUG [main] - java.net.ConnectException: Connection timed out
> DEBUG [main] - Enter: SOAPPart ctor(FORM_FAULT)
> DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> DEBUG [main] - Setting current message form to: FORM_FAULT (currentMessage
> is no
> w org.apache.axis.AxisFault)
> DEBUG [main] - Exit: SOAPPart ctor()
> DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(exception00)
> DEBUG [main] - Exception:
> DEBUG [main] - NSPush (32)
> DEBUG [main] - org.apache.axis.i18n.resource::handleGetObject(empty00)
> DEBUG [main] - NSPop (empty)
> 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:
> Conn
> ection 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)
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com