1 Reply Latest reply on May 7, 2003 3:06 PM by gemerick

    Run 3.2.1 using JavaService


      I am trying to setup Jboss3.2.1 as a javaservice. I'm upgrading from 3.0.6 which worked fine as a javaservice. I've seen some posts about adding extra jar files to the classpath from jboss_home/lib. I still get :

      2003-05-07 10:47:28,891 WARN [org.jboss.system.ServiceController] Problem starting service jboss.jmx:type=Connector,name=RMI
      java.lang.NoClassDefFoundError: org/jboss/naming/Util

      This is my command for installing the service.

      JavaService -install "Jboss3-2" D:\j2sdk1.
      4.0\jre\bin\server\jvm.dll -Xms768m -Xmx768m -Djava.class.path=D:\j2sdk1.4.0\lib
      ; -start org.jboss.Main -params -c default -stop org.jboss.Shutdown -out D:\java
      \jboss-3.2.1_tomcat-4.1.24\server\default\log\stdout.log -err D:\java\jboss-3.2.
      1_tomcat-4.1.24\server\default\log\stderr.log -current D:\java\jboss-3.2.1_tomca


        • 1. Re: Run 3.2.1 using JavaService

          I can partially answer my own question. Some advice would be much appreciated.

          If shutdown.jar is on the classpath jboss won't start. If I go with just run.jar on the classpath, jboss will start as a service. The only thing is that it won't shutdown properly. I noticed a bug report (732964) for something along these lines.