3 Replies Latest reply on Jun 14, 2010 7:03 PM by peterj

    How to set automatic for jboss native.

    samavedulark

      Hi,

       

      I am using Jboss native 2.0.9 for Jboss EAP 5 as service.I am able to create as service.

       

      but not able to put that service as automatic.

       

      Thanks

      Ravi S

        • 1. Re: How to set automatic for jboss native.
          peterj

          Sounds like JAVA_HOME is incorrect. JAVA_HOME must be set in the system variables, not the user variables, if you want to run JBoss EAP as a service.

           

          By the way, did you look in the run.log file?

          • 2. Re: How to set automatic for jboss native.
            samavedulark

            Hi Peter,

             

            I am able to create service and also run the service.

            issue is,

             

            When i create a Jboss service,i am not able to put that service in Automatic option, it goes to manual by default.

             

            I have to go in to services.msc and then change from manual to automatic.But i want Automatic by default.

             

             

            Thanks for Reply

            • 3. Re: How to set automatic for jboss native.
              peterj

              OK, I did not understand that from your original post.

               

              If you look at service.bat, you will notice that it uses jbosssvc.exe to install JBoss AS as a service. So, open a command prompt, cd to the bin directory and enter:

               

              jbosssvc.exe -?

               

              That will display the options. Your answer is in there.