14 Replies Latest reply on Dec 1, 2010 8:38 AM by peter craddock

    bind options

    peter craddock Novice

      I'm using 4.2.3 and I have an issue with connecting my client via RMI

       

      I wish to bind my server to the hostname so that the client can then use this information to connect back. If I do bind to host I notice that during startup the bisocker connector sets it self up using the ipaddress and a random port

       

      12:15:14,053 INFO  [ConnectionFactory] Connector bisocket://172.18.128.194:46844 has leasing enabled, lease period 10000
      milliseconds
      12:15:14,053 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@fc9d2b started
      12:15:14,066 INFO  [ConnectionFactory] Connector bisocket://172.18.128.194:46844 has leasing enabled, lease period 10000
      milliseconds
      12:15:14,066 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@57f57f started
      12:15:14,067 INFO  [ConnectionFactory] Connector bisocket://172.18.128.194:46844 has leasing enabled, lease period 10000
      milliseconds

       

      If I bind to ipaddress It binds to ipaddress on the expected port.

       

      What I want to do is bind to a hostname and the correct socket enableing my client to connect back via name and via the predefined ports we have opened in the firewall.

       

      If someone can tell me how these value are gererated I can alter the server config to match what I want.

       

      I have other servers setup that work as expected, the server at fault is in a different organisation so I need to give them guidlines on what needs to be changed.

       

      It is worth mentioning that the webservices starts as expected

       

      [WebService] Using RMI server codebase: http://efin_app01.adv.lan:8437/