0 Replies Latest reply on Apr 25, 2002 7:05 AM by Frederic Soulier

    JBoss_3.0RC1 + Jetty: Unable to deploy Application (works wi

    Frederic Soulier Newbie

      Hi,

      Using JBoss_3.0RC1 + Jetty I tried to deploy my application which contains EJBs and Servlets/JSPs and got the following message:

      2002-04-25 12:56:24,479 DEBUG [org.jboss.jetty.JettyService] webContext: /threegscene
      2002-04-25 12:56:24,479 DEBUG [org.jboss.jetty.JettyService] warURL: njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0.0RC1/server/default/deploy/OpenPaymentsSystem.ear/78.OpenPaymentsSystem.ear^/threegscene_OpenPaymentsSystemWEB.war
      2002-04-25 12:56:24,479 DEBUG [org.jboss.jetty.JettyService] webAppParser: org.jboss.web.AbstractWebContainer$DescriptorParser@20ebc2
      2002-04-25 12:56:25,117 WARN [org.jboss.jetty.session.ClusteredStore] distributed HttpSession support is not deployed - disabled
      2002-04-25 12:56:27,131 INFO [org.jboss.jetty.Jetty] Registered jboss.web:Jetty=0,JBossWebApplicationContext=3,context=/threegscene
      2002-04-25 12:56:27,353 INFO [org.jboss.jetty.Jetty] Delete existing temp dir /tmp/Jetty__8080___threegscene for WebApplicationContext[/threegscene,jar:njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0.0RC1/server/default/deploy/OpenPaymentsSystem.ear/78.OpenPaymentsSystem.ear^/threegscene_OpenPaymentsSystemWEB.war!/]
      2002-04-25 12:56:27,356 INFO [org.jboss.jetty.Jetty] Created temp dir /tmp/Jetty__8080___threegscene for WebApplicationContext[/threegscene,jar:njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0.0RC1/server/default/deploy/OpenPaymentsSystem.ear/78.OpenPaymentsSystem.ear^/threegscene_OpenPaymentsSystemWEB.war!/]
      2002-04-25 12:56:27,359 INFO [org.jboss.jetty.Jetty] Extract jar:njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0.0RC1/server/default/deploy/OpenPaymentsSystem.ear/78.OpenPaymentsSystem.ear^/threegscene_OpenPaymentsSystemWEB.war!/ to /tmp/Jetty__8080___threegscene/webapp
      2002-04-25 12:56:27,369 ERROR [org.jboss.jetty.Jetty] problem deploying njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0.0RC1/server/default/deploy/OpenPaymentsSystem.ear/78.OpenPaymentsSystem.ear^/threegscene_OpenPaymentsSystemWEB.war to /threegscene
      java.io.FileNotFoundException: /tmp/Jetty__8080___threegscene/webapp/WEB-INF/jboss-web.xml (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.(FileOutputStream.java:102)
      at java.io.FileOutputStream.(FileOutputStream.java:62)
      at java.io.FileOutputStream.(FileOutputStream.java:132)
      at org.mortbay.util.JarResource.extract(JarResource.java:116)
      at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:171)
      at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:219)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:405)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:244)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:405)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:665)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:658)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:507)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:350)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:530)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:410)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)


      Note: deploying the same ear file using Tomcat_4.0.3 works fine...

      Any help appreciated.
      Thanks
      Fred