6 Replies Latest reply on Nov 7, 2011 4:35 PM by ccmagrane

    Installing JBoss AS on a Windows Server 2008 R2

    ccmagrane

      How do I set up JBoss AS on a Windows Server 2008 R2?

       

      I've been doing a lot of research on how to configure the right environment for my Windows server but I can't find anything substantial.  I was hoping someone here had experience with setting up JBoss on a Windows Server 2008 R2 specifically and can point me in the direction of some proper documentation or just tell me what I need to do here.  I would seriously appreciate it, if any other information is need feel free to ask.

        • 1. Re: Installing JBoss AS on a Windows Server 2008 R2
          peterj

          There is nothing different for setting up JBoss AS on Windows Server 2008 R2 than on any other Windows machine. Specifically what are you having problems with?

          • 2. Re: Installing JBoss AS on a Windows Server 2008 R2
            ccmagrane

            Every documentation seemed to point to specific versions of JBoss and specific JavaVM's that were required for WIndows Server 2008 R2, which is what led me to believe that it would be different than installing on my Development platform windows 7.  That being said I'm having a hard time getting it to run with the simple run.bat command.  When I have it echo what the bat file is doing it claims that JAVA_HOME and JBOSS_HOME environment variables are not set when I clearly have them pointing to the correct directory.

            • 3. Re: Installing JBoss AS on a Windows Server 2008 R2
              peterj

              Unfortunately, I cannot see what you are seeing on your PC, so if you want me to provide help, you must provide details. Otherwise all I can say is that you did something wrong because it works just fine for me.

               

              Post the following:

               

              a) The results of running "set JAVA_HOME" (do not set JBOSS_HOME, the run.bat will set it for you)

               

              b) The results of running "%JAVA)HOME%\nin\java -version"

               

              c) The complete command prompt output you get when running run.bat (even include the run.bat line). Copy and paste the text to the post, do not take a screen shot)

               

              If the above contains the directory where JBoss AS is installed, great. If not, tell me that also.

               

              Also tell me which version of JBoss AS and JDK you are using (if it doesn't appear in the above)

              1 of 1 people found this helpful
              • 4. Re: Installing JBoss AS on a Windows Server 2008 R2
                ccmagrane

                Thanks for your continuing help, I got the server to start and deployed my webservice.  Unfortunately I'm getting some new runtime errors that I can not resolve.

                • 5. Re: Installing JBoss AS on a Windows Server 2008 R2
                  peterj

                  It would be helpful if you described what you changed to get it to work because someone else might run into the same problem and your solution might help them also.

                  • 6. Re: Installing JBoss AS on a Windows Server 2008 R2
                    ccmagrane

                    The Issue was simply the wrong version of Java installed on the VM.  It had a 64 bit version instead of a 32 bit.  I did not install it and was unaware of the wrong bit version.