1 Reply Latest reply on Jan 17, 2003 4:37 AM by Martin Vilcans

    JBoss 2.4.6 as NT Service

    Michael Remijan Newbie


      has anyone gotten JBoss 2.4.6 running as an NT Service using
      http://www.alexandriasc.com/index.html. If you have, could you email me the commandline for installing the service? (mjremijan@yahoo.com) I'm getting close but can't get the service to look at jar files in lib/ext for classes.

        • 1. Re: JBoss 2.4.6 as NT Service
          Martin Vilcans Newbie

          We use:

          JavaService -install our_service_name %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_DIST%\bin\run.jar -Xmx750m -Xincgc -start org.jboss.Main -params -ctm -stop org.jboss.Main -method systemExit -out %JBOSS_DIST%\bin\out.txt -current %JBOSS_DIST%\bin

          Try Java Service Wrapper (http://wrapper.sf.net) as well, which is more powerful. We're not using it yet as it doesn't work properly with the JRockit VM which we're trying to use. JavaService works even worse.