FIXED:RE: [JBoss-dev] ear/war deployment very broken....
The WEB-INF library of the containing WEBINF is added to the codebase, the war is passed to jetty. FYI if you put the context as the parent of jetty CL then you are always going to see those classes even if you don't put them in the webinf/lib structure, takes the pain out of packaging marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of marc |fleury |Sent: Thursday, January 31, 2002 7:40 PM |To: Jules Gosnell |Cc: Jboss-Development@Lists. Sourceforge. Net |Subject: RE: [JBoss-dev] ear/war deployment very broken | | |yeah that is a bug I am seeing as well, I don't know what is going on but I |got a reproducible case | |marcf | ||-Original Message- ||From: [EMAIL PROTECTED] ||[mailto:[EMAIL PROTECTED]]On Behalf Of Jules ||Gosnell ||Sent: Thursday, January 31, 2002 4:23 PM ||To: marc fleury ||Cc: Jboss-Development@Lists. Sourceforge. Net ||Subject: [JBoss-dev] ear/war deployment very broken || || ||I've just updated my tree (swerving around manual/lib and server/etc ||manually). || ||cleaned and rebult from scratch. || ||everything runs up nicely, but then I try to deploy an ear that |deployed no ||problem a couple of weeks ago (last time I dared update my tree). || ||I'm not sure what is going on. || ||My ear is structured thus: || ||fixed-jcheck.ear || - servlet-tests.war || || - jsp-tests.war || - WEB-INF || - lib ||- tld_resource.jar || || || ||It looks like MainDeployer is trying to find a jar INSIDE a WAR. I would ||expect the WAR to be passed straight to Jetty || ||00:07:33,568 INFO [Server] JBoss (MX MicroKernel) 3.0.0DR1(200201312358) ||[RABBIT-HOLE] Started in 1m:15s:500ms ||00:10:14,364 INFO [MainDeployer] Auto deploying: ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/deploy/f ||ixed-jcheck.ear || ||00:10:15,199 INFO [MainDeployer] Auto deploying: ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/jsp-tests.war || ||00:10:15,237 ERROR [MainDeployer] Error in subDeployment ||java.io.FileNotFoundException: ||/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/WE ||B-INF/lib/tld_resource.jar ||(No such file or directory) || at java.io.FileOutputStream.open(Native Method) || at java.io.FileOutputStream.init(FileOutputStream.java:102) || at java.io.FileOutputStream.init(FileOutputStream.java:62) || at java.io.FileOutputStream.init(FileOutputStream.java:132) || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:578) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) || at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) || at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) || at java.lang.Thread.run(Thread.java:484) ||00:10:15,274 ERROR [MainDeployer] Could not open the jar file ||org.jboss.deployment.DeploymentException: Could not deploy sub deployment ||WEB-INF/lib/tld_resource.jar of deployment ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/jsp-tests.war || || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:596) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) || at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) || at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) || at java.lang.Thread.run(Thread.java:484) ||00:10:15,276 ERROR [MainDeployer] Deployment failed: ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/jsp-tests.war || ||org.jboss.deployment.DeploymentException: Could not open jar file ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/jsp-tests.war || || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:604) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at ||org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) || at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) || at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) || at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) || at java.lang.Thread.run(Thread.java:484) ||00:10:15,279 INFO [MainDeployer] Cleaned Deployment ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/jsp-tests.war || ||00:10:15,641 INFO [MainDeployer] Auto deploying: ||file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl ||oy/servlet-tests.war
[JBoss-dev] ear/war deployment very broken....
I've just updated my tree (swerving around manual/lib and server/etc manually). cleaned and rebult from scratch. everything runs up nicely, but then I try to deploy an ear that deployed no problem a couple of weeks ago (last time I dared update my tree). I'm not sure what is going on. My ear is structured thus: fixed-jcheck.ear - servlet-tests.war - jsp-tests.war - WEB-INF - lib - tld_resource.jar It looks like MainDeployer is trying to find a jar INSIDE a WAR. I would expect the WAR to be passed straight to Jetty 00:07:33,568 INFO [Server] JBoss (MX MicroKernel) 3.0.0DR1(200201312358) [RABBIT-HOLE] Started in 1m:15s:500ms 00:10:14,364 INFO [MainDeployer] Auto deploying: file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/deploy/fixed-jcheck.ear 00:10:15,199 INFO [MainDeployer] Auto deploying: file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/jsp-tests.war 00:10:15,237 ERROR [MainDeployer] Error in subDeployment java.io.FileNotFoundException: /home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/WEB-INF/lib/tld_resource.jar (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:102) at java.io.FileOutputStream.init(FileOutputStream.java:62) at java.io.FileOutputStream.init(FileOutputStream.java:132) at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:578) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) at java.lang.Thread.run(Thread.java:484) 00:10:15,274 ERROR [MainDeployer] Could not open the jar file org.jboss.deployment.DeploymentException: Could not deploy sub deployment WEB-INF/lib/tld_resource.jar of deployment file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/jsp-tests.war at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:596) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) at java.lang.Thread.run(Thread.java:484) 00:10:15,276 ERROR [MainDeployer] Deployment failed: file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/jsp-tests.war org.jboss.deployment.DeploymentException: Could not open jar file file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/jsp-tests.war at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) at java.lang.Thread.run(Thread.java:484) 00:10:15,279 INFO [MainDeployer] Cleaned Deployment file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/jsp-tests.war 00:10:15,641 INFO [MainDeployer] Auto deploying: file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/servlet-tests.war 00:10:15,752 INFO [MainDeployer] Done deploying servlet-tests.war 00:10:15,772 INFO [MainDeployer] Done deploying fixed-jcheck.ear _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] ear/war deployment very broken....
yeah that is a bug I am seeing as well, I don't know what is going on but I got a reproducible case marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Jules |Gosnell |Sent: Thursday, January 31, 2002 4:23 PM |To: marc fleury |Cc: Jboss-Development@Lists. Sourceforge. Net |Subject: [JBoss-dev] ear/war deployment very broken | | |I've just updated my tree (swerving around manual/lib and server/etc |manually). | |cleaned and rebult from scratch. | |everything runs up nicely, but then I try to deploy an ear that deployed no |problem a couple of weeks ago (last time I dared update my tree). | |I'm not sure what is going on. | |My ear is structured thus: | |fixed-jcheck.ear | - servlet-tests.war | | - jsp-tests.war | - WEB-INF | - lib |- tld_resource.jar | | | |It looks like MainDeployer is trying to find a jar INSIDE a WAR. I would |expect the WAR to be passed straight to Jetty | |00:07:33,568 INFO [Server] JBoss (MX MicroKernel) 3.0.0DR1(200201312358) |[RABBIT-HOLE] Started in 1m:15s:500ms |00:10:14,364 INFO [MainDeployer] Auto deploying: |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/deploy/f |ixed-jcheck.ear | |00:10:15,199 INFO [MainDeployer] Auto deploying: |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/jsp-tests.war | |00:10:15,237 ERROR [MainDeployer] Error in subDeployment |java.io.FileNotFoundException: |/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/deploy/WE |B-INF/lib/tld_resource.jar |(No such file or directory) | at java.io.FileOutputStream.open(Native Method) | at java.io.FileOutputStream.init(FileOutputStream.java:102) | at java.io.FileOutputStream.init(FileOutputStream.java:62) | at java.io.FileOutputStream.init(FileOutputStream.java:132) | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:578) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) | at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) | at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) | at java.lang.Thread.run(Thread.java:484) |00:10:15,274 ERROR [MainDeployer] Could not open the jar file |org.jboss.deployment.DeploymentException: Could not deploy sub deployment |WEB-INF/lib/tld_resource.jar of deployment |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/jsp-tests.war | | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:596) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) | at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) | at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) | at java.lang.Thread.run(Thread.java:484) |00:10:15,276 ERROR [MainDeployer] Deployment failed: |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/jsp-tests.war | |org.jboss.deployment.DeploymentException: Could not open jar file |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/jsp-tests.war | | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:604) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at |org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:590) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:373) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:348) | at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:254) | at org.jboss.deployment.MainDeployer.run(MainDeployer.java:238) | at java.lang.Thread.run(Thread.java:484) |00:10:15,279 INFO [MainDeployer] Cleaned Deployment |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/jsp-tests.war | |00:10:15,641 INFO [MainDeployer] Auto deploying: |file:/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0DR1/tmp/depl |oy/servlet-tests.war | |00:10:15,752 INFO [MainDeployer] Done deploying servlet-tests.war |00:10:15,772 INFO [MainDeployer] Done deploying fixed-jcheck.ear | | | |_ |Do You Yahoo!? |Get your free @yahoo.com address at http://mail.yahoo.com | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development