6 Replies Latest reply on Jan 12, 2015 5:30 AM by virtus

    Why I get that error?

    virtus

      I want to start jboss application server

      I wrote the script for start:

       

      @echo off
      set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_11
      set JBossHome=D:\App\jboss-eap-6.3

      set Path=%JAVA_HOME%\bin;%Path%
      D
      :
      cd
      %JBossHome%\bin

      standalone
      .bat

      And the error is up, I could not find the solve:

       

      D:\App\jboss-eap-6.3\bin>standalone.bat
      Calling "D:\App\jboss-eap-6.3\bin\standalone.conf.bat"
      =-Dcom.sun.management.jmxremote.port=1099 was unexpected at this time.

       

      How can I resolve that?

        • 1. Re: Why I get that error?
          ctomc

          Alexey Lekomtsev wrote:

           


          set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_11

          that should be

          set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_11"

          • 2. Re: Why I get that error?
            virtus

            I quoted the sentence but it didn't help.

             

            There is no such a string ("=-Dcom.sun.management.jmxremote.port=1099 was unexpected at this time.") in the "D:\App\jboss-eap-6.3\bin\standalone.conf.bat" and in the "D:\App\jboss-eap-6.3\bin\standalone.bat".


            • 3. Re: Why I get that error?
              mmusaji

              JBoss EAP 6.3 doesn't work with Java 8. I'm not sure if that's your problem or if it's your script but the fact that you're trying to run it on Java 8 isn't a good start. Can you try the same script using JDK 7?

              • 4. Re: Why I get that error?
                falla1

                Its not set in environment right ?

                • 5. Re: Why I get that error?
                  jsrds

                  JBoss EAP 6. 3 fails with Java 8. I am just undecided if that is your complaint as well as if it is ones screenplay although the belief that you might be trying to operate the item upon Java 8 isn't a good start. Are you able to try out the same screenplay employing JDK 7?

                   

                  Joseph de Saram

                  www.jsrds.com

                  • 6. Re: Why I get that error?
                    virtus

                    Thanks. Actually there was two problems.

                     

                    1. A JBoss EAP 6. 3 can not work with a JRE8.

                    2. I had a JAVA_OPTS variable with the "-Dcom.sun.management.jmxremote.port=1099 was unexpected at this time"   configured value.


                    My console output was


                    D:\App\JBoss EAP 6. 3\bin>standalone.bat

                    Calling "D:\App\JBoss EAP 6. 3\bin\standalone.conf.bat"

                    =-Dcom.sun.management.jmxremote.port=1099 was unexpected at this time.


                    I removed this variable.