4 Replies Latest reply on Apr 2, 2013 5:39 AM by piyush.mnnit

    Ports configuration in Jboss 7.1.1 Final

    piyush.mnnit

      Hi All,

       

      I am new to Jboss. We are migrating our application from Jboss 4.2.2 GA to Jboss 7.1.1 Final. 

       

      I was looking for migrating ports configurations (  we override default jboss ports ) but found that most of ports are not available in Jboss 7.

       

      Could you kindly please let me know ports ( also configuration )  for these below configurations in Jboss 7?.  Also let me know if these ports have been removed ( means we need not to define them explicitly )

       

      Configuration --> port which was in jboss-4.2.2.GA

       

      1) SNMP adaptor agent port  -->  1161

      2) SNMP adaptor trapd logger port  --> 1162

      3) HSQLDB server port - 1701

      4) EJB 3 deployer remoting connector port - 3873

      5) JRMI invoker RMI object port - 4444

      6) Pooled invoker server port  - 4445

      8) HA pooled invoker server port - 4448

      9) Web services remoting port - 4446

      10) JMX RMI connector port - 19001

      11) Web Services port - 8083

      12) JMS Unified Invocation Layer UIL2 server port - 8093

      13) HA JNDI auto discovery port - 1102

      14) JNDI Naming RMI port - 1098

      15) JNDI Naming port - 1099

      16) HA JNDI port - 1100

      17) HA JNDI RMI port - 1101

       

      Is it true that we need not to define JNDI ports?. I read in one page -- https://issues.jboss.org/browse/AS7-2361

      All remoting ports points to only 4447 now in Jboss 7?

      Is snmp adaptor enabled by default?  .  If yes then where should I define port for this?. If no then how to configure and enable this?.

       

      Looking for help early.

       

      Thanks in Advance

      Piyush Jain

        • 1. Re: Ports configuration in Jboss 7.1.1 Final
          nickarls

          If you look at the network interfaces at the end of the standalone.xml you will see what ports they use. Some might be lazy loaded and not activated depends on your application. You could start it up and use netstat or a similar tool to see the active ports.

          • 2. Re: Ports configuration in Jboss 7.1.1 Final
            piyush.mnnit

            @Nicklas -  Thanks for your help.

             

            Is there any other file than standalone*.xml where I can find ports or Jboss as 7 is going to use only and only ports which are defined in standalone*.xml?

             

            Can I have list of ports which have been removed in Jboss as 7? for example till now I have found that JNDI ports have been removed ( https://issues.jboss.org/browse/AS7-2361 )

             

            Regards,

            Piyush Jain

            • 3. Re: Ports configuration in Jboss 7.1.1 Final
              jaikiran

              JNDI is implemented over remoting in AS7 and uses the remoting port which by default is 4447.

              • 4. Re: Ports configuration in Jboss 7.1.1 Final
                piyush.mnnit

                Thanks a lot JaiKiran.

                 

                Can you please give more information about below ports/configuration? Are these ports/configuration not in use or use some other port?. My question may be silly as I am new to Jboss.

                 

                # JBoss messaging connector port

                com.applicationServer.port13=4457

                 

                # SNMP adaptor agent port

                com.applicationServer.port5=1161

                 

                # SNMP adaptor trapd logger port

                com.applicationServer.port6=1162

                 

                # JRMI invoker RMI object port

                com.applicationServer.port10=4444

                 

                # HA pooled invoker server port

                com.applicationServer.port12=4448

                 

                # JMX RMI connector port

                # Not found in JBoss 6

                com.applicationServer.port15=19001

                 

                # Web Services port

                com.applicationServer.port16=8083

                 

                # JMS Unified Invocation Layer UIL2 server port

                # Not found in JBoss 6

                com.applicationServer.port17=8093

                 

                # Pooled invoker server port

                # Not found in JBoss 6

                com.applicationServer.port11=4445