0 Replies Latest reply on Dec 17, 2001 4:34 PM by Julia Stoyanovich

    unable to deploy petstore.ear, please advise

    Julia Stoyanovich Newbie

      I am trying to deploy the Pet Store example application, and can't seem to get it to work. I am running a JBoss-Jetty bundle, but for some reason, JBoss is not seeing a web container (isn't Jetty supposed to automatically configure that?) Also, why is JBoss looking for service=EmbeddedTomcat/? The error message is quoted below.

      I also tried installing the JBoss-Tomcat bundle (after I got this error), but that just dumps core when I start JBoss.

      I don't particularly care to get this version of the JBoss-Jetty bundle to work, I just need to find a way to get PetStore example deployed and running. Any suggestions? What's the right bundle/version to use. Do I need to do anything that wasn't mentioned in the chapter on PetStore installation of JBoss' free HTML documentation?

      OK, here's the error message I'm getting:

      ===============================================
      [Container factory] Undeployed application: file:/usr/local/JBoss-2.4.3_Jetty-3.1.3-1/jboss/tmp/deploy/Default/petstore.ear
      [J2EE Deployer Default] unable to stop application petstore.ear: org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping application petstore.ear:
      Unable to stop module petstore.war: fatal error while calling :service=EmbeddedTomcat: DefaultDomain:service=EmbeddedTomcat/n
      [J2EE Deployer Default] Destroying application petstore.ear
      [AutoDeployer] Deployment failed:file:/usr/local/JBoss-2.4.3_Jetty-3.1.3-1/jboss/deploy/petstore.ear
      [AutoDeployer] org.jboss.deployment.J2eeDeploymentException: application contains war files but no web container available
      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:501)
      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468) [AutoDeployer] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [AutoDeployer] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [AutoDeployer] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
      [AutoDeployer] at $Proxy0.start(Unknown Source)
      [AutoDeployer] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [AutoDeployer] at org.jboss.Main.(Main.java:221)
      [AutoDeployer] at org.jboss.Main$1.run(Main.java:127)
      [AutoDeployer] at java.security.AccessController.doPrivileged(Native Method)
      [AutoDeployer] at org.jboss.Main.main(Main.java:123)