[jboss-user] [JBoss Remoting] - Re: meet hang on call a ejb, add a timeout property in jboss-server.xml?
Ron Sigal
do-not-reply at jboss.com
Thu Mar 15 23:32:21 EDT 2012
Ron Sigal [https://community.jboss.org/people/ron_sigal] created the discussion
"Re: meet hang on call a ejb, add a timeout property in jboss-server.xml?"
To view the discussion, visit: https://community.jboss.org/message/724199#724199
--------------------------------------------------------------
re: "1. is it a right way to add this timeout. what's any side effect?"
Yes, it is. In a very early version of Remoting, "socketTimeout" was used instead. Setting "timeout" will cause that value to be passed to all read() calls on an InputStream obtained from a Socket.
re: "2. why jboss hasn't a default timeout value for this?"
Actually, the socket transport has a default read() timeout of 30 minutes. I'm not sure why you are seeing 0.
-Ron
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/724199#724199]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120315/039b9959/attachment.html
More information about the jboss-user
mailing list