1 Reply Latest reply on May 11, 2008 11:54 PM by ron_sigal

    Why we need port in the invoker?

      Hey,

      I am using jboss4.2
      I want to use in another port for http (just example).
      i see that this port define in the connector port and also in the invoker?
      why the invoker need the port ? dosnt it the connector responsibility for open the socket and listen to it?

      Can two connectors listen on the same port?

      Thank you

        • 1. Re: Why we need port in the invoker?
          ron_sigal

          The Connector is essentially a container for the invoker. It's the invoker that listens to the port.


          Can two connectors listen on the same port?


          No, they would have to share a ServerSocket, which is not currently possible.

          However, a single server can service multiple applications: you can register multiple ServerInvocationHandlers, each associated with a distinct subsystem string, with the same connector. See Chapter 5 of the Remoting Guide (http://www.jboss.org/jbossremoting/docs/guide/index.html).