Hello, I am having JBoss 4.2.2 GA, PostgrsSQL 8.2 and Jboss Remoting version 2.2.2 SP1.
I want to connect 64 clients to the JBoss Server but after creating 50 sessions / connections, it is giving the exception on the Client side. The exception is as follows: anonymous wrote : Exception in thread "main" org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://150.158.74.104:3873/] | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:532) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.subscribeSystem(Unknown Source) | at com.barco.cms.perspectivemgtproxy.eventsupport.SystemEventSupport.subscribeSystem(SystemEventSupport.java:180) | at com.barco.cms.perspectivemgtproxy.PerspectiveMgt.subscribe(PerspectiveMgt.java:328) | at com.barco.cms.performanceclt.MethodExecuter.(MethodExecuter.java:54) | at com.barco.cms.performanceclt.Test.main(Test.java:37) | Caused by: java.net.SocketException: Can not obtain client socket connection from pool. Have waited 30012 milliseconds for available connection (50in use) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:862) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.subscribeSystem(Unknown Source) | at com.barco.cms.perspectivemgtproxy.eventsupport.SystemEventSupport.subscribeSystem(SystemEventSupport.java:180) | at com.barco.cms.perspectivemgtproxy.PerspectiveMgt.subscribe(PerspectiveMgt.java:328) | at com.barco.cms.performanceclt.MethodExecuter.(MethodExecuter.java:54) | at com.barco.cms.performanceclt.Test.main(Test.java:37) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74) | ... 13 more I have gone thru various tutorials but not able to manage more than 50 connections. I have modified the jboss-service.xml also for <max-pool-size> and , but it is still stuck to 50 connections. Please reply asap. Any help will be appreciated. Thanks & Regards, Kapil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163249#4163249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163249 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
