1 2 Previous Next 19 Replies Latest reply on Oct 28, 2002 3:31 PM by vsingh Go to original post
      • 15. Re: How to run JBoss as NT service?
        traxxoo

        I have try this example but it seems there is a problem with the embeded Catalina : The catalina's classes are not found : (
        stdout.log :
        11:49:53,851 INFO [MainDeployer] Successfully completed deployment of package: file:/C:/Projects/softs/JBoss/jboss-3.0.0RC3_tomcat-4.0.3/server/default/deploy/tomcat4-service.jar
        11:49:53,945 ERROR [SARDeployer] create operation failed for package file:/C:/Projects/softs/JBoss/jboss-3.0.0RC3_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
        org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
        Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:179)
        at org.jboss.system.ServiceController.install(ServiceController.java:193)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
        ....

        • 16. Re: How to run JBoss as NT service?
          traxxoo

          The execution directory must be set by using the current option :
          -current JBoss\bin

          • 17. Re: How to run JBoss as NT service?
            huisiang

            Hi, I manage to run JBoss as NT service using JNT. The command I use is :

            JNT "/InstallAsService:JBossCatalina" "/SDC:\JBoss-2.4.4_Tomcat-4.0.1\jboss\bin" -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl -classpath ";C:/JBoss-2.4.4_Tomcat-4.0.1/jboss/bin/run.jar;C:/JBoss-2.4.4_Tomcat-4.0.1/jboss/lib/crimson.jar" org.jboss.Main catalina

            Hope this is helpful.

            • 18. Re: How to run JBoss as NT service?
              huisiang

              Forgot to mention one thing, JNT is using the classic jvm :

              C:\Program Files\Java\j2re1.4.0_01\bin\classic\jvm.dll

              • 19. Re: How to run JBoss as NT service?
                vsingh

                I have used JNT to install JBOss as a service. I am able to start the service but when I try to stop the service using win2k services control UI, I get an error message. It basically times out. Has anyone else encountered this? I am using JBoss2.4.1

                Any help will be appreciated.

                Thanks

                1 2 Previous Next