[jboss-user] [Remoting] - Re: java.net.SocketException: Can not obtain client socket c

ron.sigal@jboss.com do-not-reply at jboss.com
Thu Jul 10 18:12:34 EDT 2008


You're right about maxPoolSize restricting the number of connections from a client to the server.  Maybe you've haven't configured it in the right place - there are several jboss-service.xml files in the Application Server directory.  You want ${JBOSS_HOME}/server/${CONFIG}/deploy/ejb3.deployer/META-INF/jboss-service.xml, where you want to change the EJB3 Connector MBean:


  |    <mbean code="org.jboss.remoting.transport.Connector"
  |           name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">
  |       <depends>jboss.aop:service=AspectDeployer</depends>
  |       <attribute name="InvokerLocator">socket://${jboss.bind.address}:3873/?maxPoolSize=100</attribute>
  |       <attribute name="Configuration">
  |          <handlers>
  |             <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
  |          </handlers>
  |       </attribute>
  |    </mbean>
  | 

where I set maxPoolSize=100 just for illustration.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163721#4163721

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163721



More information about the jboss-user mailing list