8 Replies Latest reply on Apr 29, 2015 8:46 AM by zhouqikun

    EAP 5.2.0 can't start up with the binding offset option

    zhouqikun

      Discription:

      I intend to upgrade to EAP 5.2.0,but I tested in local envirement, EAP 5.2.0 couldn't start up when using binding offset,for examle -Djboss.service.binding.set=ports-01.

      Start command:run.bat -Djboss.service.binding.set=ports-01.There is no problem in EAP 5.1.x,

      and I didn't change anything of $JBOSS_HOME/server/$PROFILE/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml and other config files,the $PROFILE is default.

      It seems that that is a bug fo EAP 5.2.0.

      Please share your advises ,thanks.

      I'm sorry if the EAP 5.2.0 is end of service now.

       

      Local envirement is below:

      Win 7, Oracle JDK jdk1.6.0_45,EAP 5.2.0 zip version.

       

      Log file:

      server.log and boot.log is attached.

        • 1. Re: EAP 5.2.0 can't start up with the binding offset option
          lylewang

          From your boot log:

          21:04:38,785 DEBUG [ServerInfo]     jboss.service.binding.set: true

          21:04:38,785 DEBUG [ServerInfo]     program.name: ports-01

          So it was trying to read the binding set "true" rather than "ports-01".

          Hence you got the error message "NoSuchBindingException: No binding tcp_sync-bind_port found for service JGroups in set true"

           

           

          Looks like you're not starting up with correct command, check your startup command / script and make sure the path / parameters are all set correctly, especially on windows sometimes you got double quotes " " / single quotes ' ' missing / not paired correctly and it's difficult to point out.

           

          Tested on my laptop and same line from boot.log :

          15:29:55,538 DEBUG [ServerInfo]     jboss.service.binding.set: ports-01

          15:29:55,538 DEBUG [ServerInfo]     program.name: run.sh

           

           

          BTW it is JBoss EAP 5.2.0 / JDK 6 you're using, quite old already, and there is no more bug fixes / security enhancements on these, recommend you to upgrade to latest EAP 6.x (6.4 just released) with JDK 7/8.

          • 2. Re: EAP 5.2.0 can't start up with the binding offset option
            zhouqikun

            Hi Lyle

             

            Thanks for your reply.

            I also tested in JDK 7 + Win 7,the error is same.

            My entire startup command is "run.bat -Djboss.service.binding.set=ports-01",and I didn't use any double quote or slash or back slash in startup command .

            There isn't any problem in EAP 5.1.x with same command.

             

            How to change the setting about "jboss.service.binding.set: true"? I'm using the default setting of bindings-jboss-beans.xml.

             

            The end, I'll test in linux later.

            • 3. Re: EAP 5.2.0 can't start up with the binding offset option
              lylewang

              Probably try specify this in "run.conf.bat" and try again with a new vanilla installation...?

              • 4. Re: EAP 5.2.0 can't start up with the binding offset option
                zhouqikun

                Hi Lyle

                I tested in RHEL 6 + OracleJDK 7.

                There is no problem with the same startup command,and the same default setting file.

                I guess that it is EAP 5.2.0's issue in Windows.

                And I could  reproduce it in two Win7 machines.

                Could you help me to verify my reporting just using all default setting with command "run.bat -Djboss.service.binding.set=ports-01"?

                Thanks in advance.

                • 5. Re: EAP 5.2.0 can't start up with the binding offset option
                  lylewang

                  Trying on my win7+Oracle JDK 7

                  If I use "run.bat -Djboss.service.binding.set=ports-01" I get the same results as you did.

                  But if I setup this in "run.conf.bat", and then use "run.bat" to launch, it can be set correctly.

                  • 6. Re: EAP 5.2.0 can't start up with the binding offset option
                    zhouqikun

                    Hi Lyle

                     

                    Thanks for your helpful test.

                    It can work as you mentioned work-around.

                    Could you tell me the root reason of this problem?

                     

                    Since the same startup without errors in EAP 5.1.x,but can't startup in EAP 5.2.0,should we raise this a bug for EAP 5.2.0?

                    I know EAP 5.x is still in the phase of maintenance support[1],and EAP 5.2.0 is the latest version of EAP 5.x.

                     

                    [1]

                    https://access.redhat.com/support/policy/updates/jboss_notes

                    • 7. Re: EAP 5.2.0 can't start up with the binding offset option
                      ctomc

                      This forum is for EAP6.x+ developer discussions.

                       

                      For any older versions EAP versions please open support ticket in customer portal Red Hat Customer Portal

                      • 8. Re: EAP 5.2.0 can't start up with the binding offset option
                        zhouqikun

                        Thanks for your rely.

                        I haven't the account to access Redhat Customer Portal,so I post this issue to this forum.

                        I just want to remind a problem that I had,if someone have the same problem,I hope this thread could be a help.