3 Replies Latest reply on Mar 30, 2003 12:53 AM by adrian.brock

    class not found at startup ServletContext??

    digital_funk

      Hello,

      I am trying to start jboss/tomcat to deploy my first web application, I am getting a class not found error when it tries to deploy the tomcat service. I am very new to jboss, could someone please tell me very detailed how to fix this? There are two segments of the startup output below, if you need further info please let me know what to post...
      regards
      richard.

      --------------------------------------------------------------------------
      15:59:58,668 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/tomcat41-servic
      e.xml
      org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundErro
      r: javax/servlet/ServletContext; - nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 fa
      iled: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
      Cause: java.lang.NoClassDefFoundError: javax/servlet/ServletContext)
      ...
      ----------------------------------------------------------------------------
      ...then a little further on, this
      -----------------------------------------------------------------------------
      16:00:14,641 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@d9a8003e { url=file:/usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/http-invoker.sar/invoker.w
      ar/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/http-invoker.sar/invoker.war/
      lastDeployed: 1048917599494
      lastModified: 1043571559000
      mbeans:
      , org.jboss.deployment.DeploymentInfo@b940430d { url=file:/usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/jmx-console.war/ }
      deployer: null
      ... it continues in a similar vain

        • 1. Re: class not found at startup ServletContext??

          There are some links at the top
          of the tomcat41-service.xml to the tomcat
          distribution. Are these pointing to the correct
          location?

          Regards,
          Adrian

          • 2. Re: class not found at startup ServletContext??
            digital_funk

            thanks Adrian,

            it works kind of now, except that I have a new error:

            --------------------------------------
            12:26:30,251 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/tomcat41-service.xml
            12:26:31,702 INFO [STDOUT] Server.run/init: java.sql.SQLException: File input/output error: /usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/db/hypersonic/default.properties
            12:26:31,707 ERROR [STDERR] java.sql.SQLException: File input/output error: /usr/local/jboss-3.0.6_tomcat-4.1.18/server/default/db/hypersonic/default.properties
            12:26:31,714 ERROR [STDERR] at org.hsqldb.Trace.getError(Trace.java:180)

            • 3. Re: class not found at startup ServletContext??

              I've never seen that one before.
              Maybe you don't have authority or it is read-only?

              Regards,
              Adrian