2 Replies Latest reply on May 25, 2010 9:14 AM by Grani hyd

    Suggestion regarding port configurations in jboss 5 AS

    Grani hyd Newbie

      Hi,

       

           I am new to Jboss application server.I am trying to migrate my application which is developed in the jboss 4 to jboss 5 application server. In jboss4 the server details are configured in jboss-service.xml. See the below confiugration in jboss 4.

       

      <mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager">
      <attribute name="ServerName">myserver</attribute>
      <attribute name="StoreURL">conf/server-bindings3.xml</attribute>
      <attribute name="StoreFactoryClassName">org.jboss.services.binding.XMLServicesStoreFactory</attribute>
      </mbean>

       

           All the application related port numbers are configured server-bindings3.xml.


           I have tried with the same configuration(this above mbean) in jboss5, the server is not starting. So I have commented this <mbean> tag in jboss-service.xml file. After this change the server is started with the default port numbers which are configured in bindings-jboss-beans.xml. I am able to access server on 8080 port number.

       

           But my problem is I want to use my application port numbers. My server is running on 8083 port number. For this what Can I do?  Can I update my port numbers in bindings-jboss-beans.xml ? or Can I use incremental port numbers ports-03 profile?

       

           Is the server-bindings3.xml file ports in jboss4 are equivalent to jboss5 ports-03 profile ports?


           Correct me if my understanding is wrong.

       

      Thanks in advance.

       

      -Grani