3 Replies Latest reply on Mar 30, 2003 12:53 AM by Adrian Brock

    class not found at startup ServletContext??

    digital_funk Newbie

      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