I should also include information about my environment:

Axis 1.0 or whatever version was bundled by default in jboss, deployed in
Jboss 3.2.2

John Deviney
Texas Windstorm Insurance Association
5700 S. MoPac Exp., Building E, Suite 530
Austin, TX 78749
[EMAIL PROTECTED]


-----Original Message-----
From: John Deviney [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 11:32 AM
To: '[EMAIL PROTECTED]'
Subject: java.io.InterruptedIOException: Read timed out


Does anyone know how to configure time out for Axis on an application wide
basis?  I've read the posts regarding how to do this on a per call basis
from the client.  That is not what I am looking for.

I get "Read timed out" on any web service calls over 60 seconds.

There should be a time out parameter for Axis.

Any help is appreciated.

Stack trace below:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.io.InterruptedIOException: Read timed out
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace:
java.io.InterruptedIOException: Read timed out
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:85)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:181)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:199)
        at
org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.j
ava:506)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
        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
org.twia.agent.TestAgentWebService.testGetPrimaryTDIAgents(TestAgentWebServi
ce.java:528)
        at org.twia.junit.CustomTestRunner.run(CustomTestRunner.java:63)
        at
org.twia.quote.dao.ejb.JunitCallerEJB.startJunitTest(JunitCallerEJB.java:67)
        at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:683)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach
edConnectionInterceptor.java:185)
        at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:72)
        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:84)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:240)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
        at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11
8)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
        at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde
rInterceptor.java:122)
        at
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta
iner.java:331)
        at org.jboss.ejb.Container.invoke(Container.java:700)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
        at sun.rmi.transport.Transport$1.run(Transport.java:147)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)

John Deviney
Texas Windstorm Insurance Association
5700 S. MoPac Exp., Building E, Suite 530
Austin, TX 78749
[EMAIL PROTECTED]

Reply via email to