1 Reply Latest reply on Jun 21, 2007 10:45 AM by Dimitris Andreadis

    Changing from remoting.transport.Connector to invocation.poo

    tino lolo Newbie


      We've developped an application where a webapp agent communicates using Invoke/rmi with a server servlet serviced by our handler (MySubSys.class):

       ----------------------- -------------------------------------
      | webapp agent .invoke | ---RMI---> | servlet -> handler (MySubSys.class) |
       ----------------------- -------------------------------------

      Using invoke works fine on the agent's side but the server servlet gets rapidly limited under heavy load because of increasing number of agent connections (seen in this example using: netstat | grep 8052).
      -> Driving the client to be refused new connections.

      So, I would like to change the following jboss-service.xml inside my mySubSys.sar:

       <mbean code="org.jboss.remoting.transport.Connector"
       display-name="MySubSys Socket transport Connector">
       <attribute name="Configuration">
       <invoker transport="rmi">
       <attribute name="registryPort" isParam="true">8053</attribute>
       <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
       <attribute name="serverBindPort">8052</attribute>
       <handler subsystem="MYSUBSYS">com.subsys.MySubSys</handler>

      for another configuration using invocation.pooled.server.PooledInvoker ?

      Any suggestions?
      Thanks a lot