Thanks Tom,
I made the changes as per your suggestion, the request still is timing out
incorrectly.
The client is created as shown below:
-------------------------------------------
String hostName = InetAddress.getLocalHost().getHostName();
String locatorURI = "socket://" + hostName + ":5000/?timeout=120000";
InvokerLocator locator = new InvokerLocator(locatorURI);
Client client = new Client(locator);
The server connector also has the same timeout configuration.
The changes as per your suggestion when calling the invoke:
----------------------------------------------------------------------
HashMap config = new HashMap();
config.put("timeout", new Long(5000)); // Test - 5 seconds
res = client.invoke(arg, config);
The request is not timing out correctly even with the above code changes. I am
using Java version 1.4.2 and JBossRemoting 1.4.1.
I am not sure if I am missing anything here.
Thanks
Saravanan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971447#3971447
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971447
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user