2 Replies Latest reply on Mar 1, 2002 2:28 AM by mircho

    Problems with jboss 2.4.4 with Tomcat

    jontan

      Hi Folks!
      I seems to be getting an error with the jboss2.4.4 with Tomcat 4.0 below is the error message I encounter during startup:
      .......
      [INFO,ContainerFactory] Undeployed application: file:/D:/Dev/Java/JBoss-2.4.4_To
      mcat-4.0.1/jboss/tmp/deploy/Default/tomcat-test.ear
      [ERROR,J2eeDeployer] unable to stop application tomcat-test.ear: org.jboss.deplo
      yment.J2eeDeploymentException: Error(s) on stopping application tomcat-test.ear:

      Unable to stop module tomcat-test.war: fatal error while calling :service=Embedd
      edTomcat: DefaultDomain:service=EmbeddedTomcat/n
      [INFO,J2eeDeployer] Destroying application tomcat-test.ear
      [ERROR,AutoDeployer] DeploymentInfo failed:file:/D:/Dev/Java/JBoss-2.4.4_Tomcat-
      4.0.1/jboss/deploy/tomcat-test.ear
      org.jboss.deployment.J2eeDeploymentException: application contains war files but
      no web container available
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:496)

      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
      459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)

      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103
      )
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
      igurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      What could be the problem???

      Thanks
      Jonathan

        • 1. Re: Problems with jboss 2.4.4 with Tomcat

          Use run_with_catalina.bat

          Regards,
          Adrian

          • 2. Re: Problems with jboss 2.4.4 with Tomcat
            mircho

            Hi

            I thing you have to check docs in ....\JBoss-2.4.4_Tomcat-4.0.1\jboss\docs

            check this:

            TOMCAT_HOME must point to the base directory of Tomcat's binaries. Typically, if you built Tomcat from jakarta/jakarta-tomcat, TOMCAT_HOME should point to jakarta/build/tomcat.

            SERVLETAPI_HOME must point to the source directory "jakarta-servletapi". The file $SERVLETAPI_HOME/lib/servlet.jar will be required.

            Your CLASSPATH must contain $JAVA_HOME/lib/tools.jar since Tomcat needs this to compile JSPs.


            Best Regards
            Mircho