[jboss-user] [Beginner's Corner] - Client timeout JBoss AS 6

Urs Rothenhäusler do-not-reply at jboss.com
Wed Jun 1 06:09:48 EDT 2011


Urs Rothenhäusler [http://community.jboss.org/people/braca] created the discussion

"Client timeout JBoss AS 6"

To view the discussion, visit: http://community.jboss.org/message/608081#608081

--------------------------------------------------------------
Hello,

my client program is getting a timeout when invoking a method (with a long lasting process) of a Stafeful Session Bean (SFSB) /EJB3.1. The client program is a just a simple java program "starting" the SFSB-process on a JBoss AS6, lasting about 40 minutes. What's a good solution to avoid this exception?

java.lang.reflect.UndeclaredThrowableException
at $Proxy8.doCheck(Unknown Source)
      at org.client.aa.EDIControlProcessor.doCheck(EdiProcess.java:124)
      at org.client.aa.EDIControlProcessor.processSingle(EDIControlProcessor.java:28)
      at org.client.aa.EDIControlClient.main(EDIControlClient.java:12)
Caused by: org.jboss.remoting.InvocationFailureException: Socket timed out. Waited 300000 milliseconds for response while calling on InvokerLocator [socket://127.0.0.1:3873/?timeout=300000]; nested exception is: 
java.net.SocketTimeoutException: Read timed out
      at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:137)
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.handleOtherException(MicroSocketClientInvoker.java:1079)
      at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:941)
      at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:167)
      at org.jboss.remoting.Client.invoke(Client.java:1961)
      at org.jboss.remoting.Client.invoke(Client.java:804)
      at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
...


Thanks for an answer
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608081#608081]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110601/ac34e534/attachment.html 


More information about the jboss-user mailing list