[jboss-user] [JNDI and Naming] - Re: Unable to find out Jndi port number?

sampath subramaniam do-not-reply at jboss.com
Sun Oct 23 02:18:48 EDT 2011


sampath subramaniam [http://community.jboss.org/people/sampathonline] created the discussion

"Re: Unable to find out Jndi port number?"

To view the discussion, visit: http://community.jboss.org/message/633154#633154

--------------------------------------------------------------
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
[http://community.jboss.org/message/633154#633154]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111023/74020347/attachment-0001.html 


More information about the jboss-user mailing list