Which version of the Application Server are you using?
Version 2.4.0 of Remoting has a solution to your problem based on JIRA issue JBREM-877
"New Socket Connection is being Created for Every Client Request to the Server".
Remoting 2.4.0.CR1 (the latest 2.4.0 release) should be compatible with JBoss AS
5.0.0.Beta4.
This feature does not exist in version 2.2.x, which ships with the 4.2 versions of the
Application Server. One fact to note is that multiple copies of org.jboss.remoting.Client
(which is used by EJB3 clients) connected to the same server share the same underlying
invoker and connection pool. If you keep one EJB3 alive, that should be enough to keep a
shared connection pool in existence.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146970#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...