5 Replies Latest reply on Mar 11, 2004 12:49 PM by fnarz

    JBoss 3.2 as NT service

    vladchuk

      Has anybody succeeded at configuering and running JBoss 3.2 as NT service? Apparently, no
      libraries are available to JBoss when it's run as a service.

      Any feedback would be greatly appriciated.

        • 1. Re: JBoss 3.2 as NT service
          robhedin

          Not running as an NT service, but we do have it running as a Win2K service.

          We've ran JBoss 3.0.6 under Sun JDK 1.4.1, 1.4.1_01, or 1.4.1_02 with the JavaService service runner, and with JRockit 8.0 and 8.1 with the ServiceWrapper 3.0.0 service runner.

          The servers are running in 24/7 with no problems attributable to running as a service.

          rob.

          • 2. Re: JBoss 3.2 as NT service
            mosborn

            Have run both on NT and 2000 with javants in contrib. Are you referring to Windows librairies being unavailable?

            • 3. Re: JBoss 3.2 as NT service
              vladchuk

              No, JBoss libraries - in <JBoss_home>/lib.

              I am specifically interested in JBoss 3.2 as I can run 3.0.x as service without any problem.

              • 4. Re: JBoss 3.2 as NT service
                sysuser1

                Using JavaService to run JBoss 3.2 as a Windows 2000 service I had to add some *.jar from the JBoss_home\lib. as follow:

                Example: JavaService -install %1 %Java_Home%\jre\bin\server\jvm.dll -Djava.class.path=%Java_Home%\lib\tools.jar;%JBoss_Home%\bin\run.jar;%JBoss_Home%\bin\shutdown.jar;%JBoss_Home%\lib\concurrent.jar;%JBoss_Home%\lib\jboss-jmx.jar;%JBoss_Home%\lib\jboss-boot.jar;%JBoss_Home%\lib\jboss-system.jar -start org.jboss.Main -params -c %2 -stop org.jboss.Shutdown -out %JBoss_Home%\server\%2\log\stdout.log -err %JBoss_Home%\server\%2\log\stderr.log -current %JBoss_Home%\bin

                This do not look too elegant but I am not a JBoss or Java expert.


                • 5. Re: JBoss 3.2 as NT service
                  fnarz

                  We have been running JBoss 3.0.4 in conjunction with JavaService for quite a while without problems. A few days ago we updated to JBoss3.2.3 having a lot of different problems.

                  Today we switched to a project hosted on sourceforge:
                  http://wrapper.tanukisoftware.org/doc/english/index.html
                  and everything works fine again...

                  Thimo