3 Replies Latest reply on Nov 26, 2002 3:15 AM by oliver

    maybe a simple startup question

    oliver Newbie

      guys:

      I have a question,when I installed the jboss-3.0.3_tomcat-4.1.12 and started it,there occured a question:

      09:04:21,926 INFO [MainDeployer] Starting deployment of package: file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.xml
      09:04:21,946 INFO [MainDeployer] Starting deployment of package: file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.jar
      09:04:21,976 INFO [JARDeployer] looking for nested deployments in : file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.jar
      09:04:21,986 INFO [MainDeployer] Deployed package: file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.jar
      09:04:21,986 INFO [SARDeployer] looking for nested deployments in : file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.xml
      09:04:22,066 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      09:04:22,086 ERROR [MainDeployer] could not create deployment: file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.xml
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/Java/jboss_tomcat/server/default/deploy/tomcat41-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: org/apache/catalina/Context; - nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: org/apache/catalina/Context
      Cause: java.lang.NoClassDefFoundError: org/apache/catalina/Context))

      I don't know the reason because all of the thing is OK erenow.

      help me,please

      thanks in advance.

        • 1. Re: maybe a simple startup question
          Fusayuki Minamoto Apprentice

          May be you should change to the $JBOSS_HOME/bin directory before starting up the server.

          Miki

          • 2. Re: maybe a simple startup question
            oliver Newbie

            thanks,the problem has been solved.the reason is that run.bat must run in ../bin directory,just as minomoto said.

            thanks again.

            • 3. Re: maybe a simple startup question
              Faith Ildiz Newbie

              I run into similar (same?) problem (under win2k). In my case this was caused because the actual "tomcat-4.1.12 or catalina" path; did NOT match the path defined in the .../deploy/tomcat41-service.xml file.

              The actual line from this XML file reads
              <!ENTITY catalina.home "../tomcat-4.1.x">

              So the errors are possible;
              (i) if you renamed the ../tomcat-4.1.x folder to something else (catalina or tomcat-4.1.12)
              (ii) if you are not running JBoss from ../bin directory

              Both of these cases invalidates the catalina path defined in this XML file.

              SOUTION:
              The easiest solution is to change .../deploy/tomcat41-service.xml file and define the path as absolute path such as;

              <!ENTITY catalina.home "/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x">