[jboss-user] [JBoss Remoting] - Threads Hanging in MicroSocketClientInvoker.readVersion()

Ron Sigal do-not-reply at jboss.com
Mon Jul 5 21:13:26 EDT 2010

Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion

"Threads Hanging in MicroSocketClientInvoker.readVersion()"

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

Hi Nathan,

Note that I moved this discussion to the JBossRemoting users forum.

There are two different phenomena in your stacktraces.  The first one shows a client hanging, waiting for a response to an invocation, in this case the response to an invocation on an EJB3.  The fact that it's hanging means that, for some reason, the server isn't supplying a result.  Do you see anything going on in server.log?

The second stacktrace shows a worker thread sitting in a read() call, waiting for some work to do.  It's perfectly natural.

A timeout value for both the client side read() and the server side read() can be configured on the server.  Where you do the configuring depends on which subsystem you want to configure.  For EJB3, for example, go to $JBOSS_HOME/server/$CONFIG/deploy/ejb3-connectors-jboss-beans.xml and add "timeout" to the "InvokerLocator" property.  For example,

<property name="invokerLocator">

      <value-factory bean="ServiceBindingManager" method="getStringBinding">
          <null />
          <null />

would set the timeout to one minute on both the client and server side.



Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community

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

More information about the jboss-user mailing list