:-)
You mean do what is says in the spec?
And don't do what is says not to do in the spec?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3907982#3907982
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907982
This is a TCP/IP operation system issue, not a JBoss issue. Google around for
TCP and TIME_WAIT and read some stuff TIME_WAIT socket state und system
tuning e.g http://www.octetstring.com/support/issues/Tuning-TIMEWAIT.php
Regards
Ulf
View the original post :
No, this guy is creating InitialContexts in a loop. Man, creating an
InitialContext is a expensive operation! How did you think RMI works? When in a
bean, use the lookup methods of the EjbContext. On a client, create an
InitialContext once. And don't forget to close it in a finally clause.