8 Replies Latest reply on May 6, 2011 2:55 PM by 1tclotworthy

    Cannot Start JBoss 4.2.2

    1tclotworthy

      Hello, I am trying to start JBoss on a Windows 2008 (VMWare-based) instance. I am using the run.cmd in the JBoss bin. I receive the following at startup (see attached). Any ideas for fixing this are appreciated. Thanks!

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

        • 1. Cannot Start JBoss 4.2.2
          peterj

          Looks like a corrupted download to me. Either that or the account being used to run JBoss AS doesn't have the right privileges to the c:\jboss-4.2.2.GA directory.

           

          I would first try downloading 4.2.2 again, this time verifying the download by checking the sha1 or md5 sum.

           

          I'm also a little concerned about the JDK being in the Program Files directory, spaces in paths can cause weird issues with some Java apps (I have mine at c:/apps/java/jdk1.6.0_22).

          • 2. Cannot Start JBoss 4.2.2
            1tclotworthy

            Thanks for reply. Still have problem. Would you please be able to confirm what JBOSS_HOME should point to? Should it be root JBoss dir (where I have it now: C:\jboss-4.2.2.GA), or elsewhere? Thanks!

            • 3. Cannot Start JBoss 4.2.2
              peterj

              You should not set JBOSS_HOME - the run.bat script will set it automatically. By the way, I assume that you installed JBoss at c:\jboss-4.2.2.GA, right?

               

              Now on to the problem. Edit the run.bat file, adding "-verbose:class" to one of the JAVA_OPTS, something line this:

               

              set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -verbose:gc

               

               

              Then run it again, redirecting stdout and stderro to a file, like this:

               

              run >> out.log 2>>&1

               

              Then post out.log.

              • 4. Cannot Start JBoss 4.2.2
                1tclotworthy


                Where has the link for attachments disappeared to? I cannot add an attachment as I could against the original post. Also cannot paste text into the body of this message. Why can't I paste text? I must say, I find this web tool very frustrating to use. HELP!!

                • 5. Cannot Start JBoss 4.2.2
                  peterj

                  Make sure you click on the "Use Advanced Editor" link on the upper right-hand corner of the edit box. The "quick reply" editor has a limited set of features.

                   

                  And I sympathize with your feeling about the editor - I have been one of its most vocal critiques. The only good thing I can say about it is that it doesn't suck rocks quite as badly as the SharePoint editor, or was it the other way around???

                  • 6. Cannot Start JBoss 4.2.2
                    1tclotworthy

                    Actually, verbose output did not add any information beyond what I included in the original attachment (original post). Yes, JBoss is installed at c:\jboss-4.2.2.GA. So, I would be grateful for any new ideas. thanks!

                    • 7. Cannot Start JBoss 4.2.2
                      peterj

                      The -verbose:class should have added a ton of additonal output - it causes the JVM to list every classl oaded and print the JAR it came from. Double-check your settings.

                      • 8. Cannot Start JBoss 4.2.2
                        1tclotworthy

                        Thanks Peter. I had the setting slightly wrong. I am adding the attachment "out2.log", to a new post (as it appears that I cannot add an attachment from a reply??). It will appear shortly as new post (sorry, if there is a way to attach it here, I haven't found it..).