[jboss-user] [Remoting] - Re: Socket Timeout?

ron.sigal@jboss.com do-not-reply at jboss.com
Thu Mar 19 02:28:29 EDT 2009


If you're using the UnifiedInvoker, which is based on JBossRemoting, then you can go to $JBOSS_HOME/server/$CONFIG/conf/jboss-service.xml and update the "jboss.remoting:service=Connector,transport=socket" MBean with a "timeout" parameter:


  | <mbean code="org.jboss.remoting.transport.Connector"
  |              name="jboss.remoting:service=Connector,transport=socket"
  |              display-name="Socket transport Connector">
  | 
  |    <attribute name="Configuration">
  |       <config>
  |          <invoker transport="socket">
  |             ...
  |             <!-- set timeout to one minute -->
  |             <attribute name="timeout" isParam="true">60000</attribute>
  |             ...
  |          </invoker>
  |          ...
  |       </config>
  |    </attribute>
  | </mbean>
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219356#4219356

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219356



More information about the jboss-user mailing list