6 Replies Latest reply on Sep 2, 2010 10:16 AM by khadershafeeq

    JBoss won't start on run.bat

    neron17

      Hei community  I want to get my JBoss 5.1.0 get started on Windows but somehow it won't work anymore. I already had it running in a shell and then integrated it into Eclipse. It's still running in Eclipse though but I cannot run it outside in a shell anymore via the run.bat. 

       

      The output looks as follows: 

       

      ===== 

      C:\Programme\JBoss\jboss-5.1.0.GA\bin>run

      Calling C:\Programme\JBoss\jboss-5.1.0.GA\bin\run.conf.bat 

       

      C:\Programme\JBoss\jboss-5.1.0.GA\bin>run

      =====  

       

      I have no idea why nothing is happening. Also redownloaded JBoss and installed it again..still the same. Anyone has an idea?  

       

      Rico

        • 1. Re: JBoss won't start on run.bat
          jaikiran

          You probably haven't set the JAVA_HOME correctly. What does the following command output from the console where you are trying to start JBoss:

           

          echo %JAVA_HOME%
          
          1 of 1 people found this helpful
          • 2. Re: JBoss won't start on run.bat
            neron17
            Actually it gives back the correct location of my JAVA_HOME which is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin". I have also tried it with the jdk1.5 but with the same result :/
            • 3. Re: JBoss won't start on run.bat
              wolfgangknauf

              Hi,

               

              your JAVA_HOME is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin"?

              This is wrong, it should be only "C:\Programme\Java\jre6".

               

              Hope this helps

               

              Wolfgang

              • 4. Re: JBoss won't start on run.bat
                neron17

                your JAVA_HOME is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin"?

                This is wrong, it should be only "C:\Programme\Java\jre6".

                Hei Wolfgang,

                 

                it looks like that has indeed been the problem. But I think I have read somewhere to enter the bin-path as well in the java_home - is there any use to do so?

                • 5. Re: JBoss won't start on run.bat
                  wolfgangknauf
                  Hi,

                  But I think I have read somewhere to enter the bin-path as well in the java_home - is there any use to do so?

                   

                  nope, this is wrong. "JAVA_HOME" always points to the base directory of JRE or JDK. The bin directory can be added to the PATH variable.

                   

                  Hope this helps

                   

                  Wolfgang

                  • 6. Re: JBoss won't start on run.bat
                    khadershafeeq

                    do the following steps

                    1.Delete JAVA_HOME from the system variables
                    2.Try to start run.bat , if it starts running then it will be the problem of JAVA_HOME
                    3.Set JAVA_HOME to your folder of JRE like c:\program files\java\jre6 Dont use ';' at the end.
                    4. This will solve the problem. As i was also suffering from the same problem.