JBoss Community

Re: Unable to find out Jndi port number?

created by sampath subramaniam in JNDI and Naming - View the full discussion

1099 didnt work. My machine has several jboss instances. My domain server starts like this:

run -Djboss.service.binding.set=ports-01.

And the configuration for port-01 in bindings-jboss-beans.xml is defined as follows:

 

<!-- The ports-01 bindings are obtained by taking the base bindings and adding 100 to each port value -->
   <bean name="Ports01Bindings" class="org.jboss.services.binding.impl.ServiceBindingSet">
      <constructor>
         <!--  The name of the set -->
         <parameter>ports-01</parameter>
         <!-- Default host name -->
         <parameter>${jboss.bind.address}</parameter>
         <!-- The port offset -->
         <parameter>1716</parameter>
         <!-- Set of bindings to which the "offset by X" approach can't be applied -->

         <parameter><null/></parameter>
      </constructor>
   </bean>

 

Since the offset is changed to 1716, I thought the jndi port is 1099+1716=2815, but when I do the context lookup for 2815, it fails

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community