1 2 3 Previous Next 30 Replies Latest reply on Oct 26, 2011 3:34 PM by jacker Go to original post
      • 30. Re: jboss 6 Final + Java Service Wrapper
        jacker

        To start JBoss 6 as Windows service, it is not necessary to use java service wrapper.

         

        It can be easely make it with the batch file "service.bat" at jboss6/bin folder.

         

        Just edit the "service.bat", go at line who calls run.bat:

         

             -     call run.bat < .r.lock >> run.log 2>&1

         

        Put your context params there. For example:

         

             -      call run.bat -Dfile.encoding=utf8 < .r.lock >> run.log 2>&1

         

        Just execute the batch with param install:

         

             -     c:\jboss6\bin> service.bat install

         

        That's it.

         

         

         


        1 2 3 Previous Next