1 Reply Latest reply on Apr 28, 2004 4:48 PM by plainkeyman

    Running Jboss as Windows Service

    Hernan Terzian Newbie

      Hi all, I am trying to make my jboss installation a window service with the Javaservice.exe app.
      I'd follow the steps but when I try to start up the service it gives an error like: "could not start the JBossServerAllService service on local computer".

      I've copied the javaservice.exe to {JBOSS_HOME}\bin and in a command prompt I ran this:

      %JBOSS_HOME%\bin\JavaService.exe -install JBossServerService %JAVA_HOME%\jre\bin\server\jvm.dll -Xmx256m -Xms256m -Xincgc -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar -start org.jboss.Main -stop org.jboss.Main -method systemExit -out %JBOSS_HOME%\server\default\log\stdout.log -err %JBOSS_HOME%\server\default\log\stderr.log -current %JBOSS_HOME%\bin

      from: http://jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows

      it didn´t works. Then I found this:

      %JBOSS_HOME%\bin\JavaService.exe -install JBossServerAllService %JAVA_HOME%/jre/bin/jvm.dll -Djava.class.path=%CLASSPATH%;%JAVA_HOME%/lib/tools.jar;%JBOSS_HOME%/bin/run.jar -Xmx400M -start org.jboss.Main -params -c all -stop org.jboss.Main -method systemExit -out %JBOSS_HOME%/server/all/log/stdout.log -err %JBOSS_HOME%/server/all/log/stderr.log -current %JBOSS_HOME%/bin

      from: http://blog.murf.org/archives/000006.html

      It did not work either.

      I have a windows 2000 server, and jboss 3.2.3

      Are there any special tip for jboss 3.2.3?
      What I am missing?

      Hernan T.