2 Replies Latest reply on Apr 16, 2003 8:29 AM by fibs

    jboss-3.0.6_tomcat-4.1.18 not starting correctly

    fibs Newbie

      I?m using jboss-3.0.6 with embedded tomcat-4.1.18 and I want to run and test an EJB. But when I start JBoss from JBuilder 7 EE I get this message:

      ERROR [MainDeployer] could not create deployment: file:/.../JBoss_Tomcat/server/default/deploy/tomcat41-service.xml

      org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/ServletContext; - nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/ServletContext

      Can someone tell me what I have done wrong???
      Thanks and regards... Fibs

        • 1. Re: jboss-3.0.6_tomcat-4.1.18 not starting correctly
          jboss1604 Newbie

          i successfully ran StatelessSessionBean by using JBulider 7.0.but it takes tedious process to complete.anyway now are at JBuilder7.0.
          After modification done at Remote/Bean java files,you have to 'make' using Jbuilder option. or
          then right click on directory name and click 'make' means it will create jar file for you.
          then create eargroup by steps given and finally you have .ear file.right click and deploy if it is first time.then right click on .eargrp file name and click 'Run'.it iwll show you msg ,deployed fine.

          make client and right click on that for 'Run' means it will open another window and show the result

          with regards

          • 2. Re: jboss-3.0.6_tomcat-4.1.18 not starting correctly
            fibs Newbie

            Thank you for your reply!
            Unfortunatly the error occures again.

            I have the .jar file and the .ear too (deployed), but when I run the .eargp with using server the error mentioned above still occures.
            Do I have to configure JBuilder before deloying?
            Or do I have to make changes in some JBoss or Tomcat-files? (I am new to JBoss and Tomcat.)

            Regards, Fibs