6 Replies Latest reply on Aug 1, 2002 10:02 AM by Adrian Brock

    Deployment Error when Starting Jboss 3

    Philipp Röthl Newbie

      Hi!

      I've installed the Jboss 3 / Tomcat 4 Bundel. When I start the server with run.sh I get the following Error:

      >>>
      2002-08-01 12:11:54,893 ERROR [org.jboss.deployment.SARDeployer] create operation failed for package file:/usr/local/lib/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
      2002-08-01 12:11:54,918 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/usr/local/lib/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
      2002-08-01 12:11:55,022 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@f107bc7{ url=file:/usr/local/lib/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml, deployedLastModified=0 }
      <<<

      Any hints?

      Thanks,
      phi

        • 1. Re: Deployment Error when Starting Jboss 3
          Philipp Röthl Newbie

          I just found out that I get much more Errors because the org.apache.cataline.LifecycleListiner ist not found...

          >>>
          org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
          mbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/cata
          lina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiatin
          g org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefF
          oundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener)
          RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServ
          iceSX failed: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListe
          ner
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
          org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
          mbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/cata
          lina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiatin
          g org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefF
          oundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener); -
          nested throwable: (org.jboss.deployment.DeploymentException: instantiating org.
          jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundEr
          ror: org/apache/catalina/LifecycleListener; - nested throwable: (RuntimeErrorExc
          eption: instantiating org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: j
          ava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener))
          org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
          mbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/cata
          lina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiatin
          g org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefF
          oundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener)
          RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServ
          iceSX failed: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListe
          ner
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
          org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
          mbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/cata
          lina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiatin
          g org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefF
          oundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener); -
          nested throwable: (org.jboss.deployment.DeploymentException: instantiating org.
          jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundEr
          ror: org/apache/catalina/LifecycleListener; - nested throwable: (RuntimeErrorExc
          eption: instantiating org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: j
          ava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener))
          org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
          mbeddedCatalinaServiceSX failed: java.lang.NoClassDefFoundError: org/apache/cata
          lina/LifecycleListener; - nested throwable: (RuntimeErrorException: instantiatin
          g org.jboss.web.catalina.EmbeddedCatalinaServiceSX failed: java.lang.NoClassDefF
          oundError: org/apache/catalina/LifecycleListener
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener)
          RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServ
          iceSX failed: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListe
          ner
          Cause: java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener
          <<<

          • 2. Re: Deployment Error when Starting Jboss 3
            Adrian Brock Master

            Can you post your tomcat4-service.xml
            and check the location of tomcat (at the top) is correct?

            Regards,
            Adrian

            • 3. Re: Deployment Error when Starting Jboss 3
              Wessel de Roode Newbie

              - Is ant installed on your system ?
              - what are the read/write rights on your installation, and is it the same user where jboss is running on as a deamon.

              Knf!
              Wessel de Roode

              • 4. Re: Deployment Error when Starting Jboss 3
                Christian Herzog Newbie

                Are you in the bin directory when running the run.sh script? I had the same problem when trying to run jboss/tomcat from another directory (trying sh bin/run.sh while in the jboss-3.0.0_tomcat-4.0.3 dir), but it went away when i did in while inside the bin directory.

                • 5. Re: Deployment Error when Starting Jboss 3
                  Philipp Röthl Newbie

                  I tried to run the run.sh from both the bin directory and any other director - nothing helped.
                  I run the server as root. For a test I set the filepermissions to 777.
                  Here is my tomcat4-service.xml. Initially cataline.home was set to "../catalina". I changed set, because I think its wrong as I use the bundeled version of jboss and catalina is located in
                  jboss/catalina
                  whereas the xml file is located in
                  jboss/server/default/deploy/

                  >>>
                  cs:/usr/local/lib/jboss/server/default/deploy# cat tomcat4-service.xml
                  <?xml version="1.0" encoding="UTF-8"?>
                  <!-- Set catalina.home to the location of the Tomcat-4.x dist.
                  The default value is that of the JBoss/Catalina bundle where the
                  jakarta-tomcat-4.0.3-LE-jdk14 is included as jboss_dist/catalina
                  -->
                  <!DOCTYPE server [
                  <!ENTITY catalina.home "../../../catalina">
                  ]>

                  <!-- The service configuration for the embedded Tomcat4 web container
                  -->









                  &catalina.home;











                  <!-- A HTTP Connector on port 8080 -->







                  <<<

                  Best regards,
                  phi

                  • 6. Re: Deployment Error when Starting Jboss 3
                    Adrian Brock Master

                    The catalina.home is relative to your current
                    directory when you start jboss. If you start from
                    jboss/bin you need ../catalina

                    Regards,
                    Adrian