0 Replies Latest reply on Jan 27, 2015 11:35 AM by alexander.eckert

    EJB calls in multihomed JBoss 5.1

    alexander.eckert

      Hi,

       

      I've spend a lot of time trying to solve a problem when calling remote EJB 2.1.

       

      Let's say there are three private networks A, B1 and B2.

      On machine server.network (ip 10.0.0.1) in net A runs a JBoss.

      On Computers in B1 and B2 are Clients which try to call a remote EJB.

      For the B1-client the address of the JBoss seems to be jboss.somewhere with ip 10.1.0.1.

      For the B2-client the address of the JBoss seems to be jboss.else with ip 10.2.0.1.

       

      I tried to configure homes and connecthomes in remoting-jboss-beans.xml.

      In any the server send a stub to the client with the rmi address server.network:1098.

       

      Can this problem be solved by configuration? Do i have to use a custom

      SocketFactory and if so, how?

       

      Greetings

      Alex