This content has been marked as final.
Show 3 replies
-
1. Re: Massive increase of TCP/IP connections when opening JMS
schrouf Nov 17, 2005 11:33 AM (in response to christof_kal)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 -
2. Re: Massive increase of TCP/IP connections when opening JMS
oglueck Nov 17, 2005 2:22 PM (in response to christof_kal)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.
-
3. Re: Massive increase of TCP/IP connections when opening JMS
adrian.brock Nov 18, 2005 7:10 PM (in response to christof_kal):-)
You mean do what is says in the spec?
And don't do what is says not to do in the spec?