1 Reply Latest reply on Dec 6, 2006 12:04 PM by Scott Stark

    Nested jars are broken

    Scott Stark Master

      I can't update jbossas to the mc snapshot because the handling of VirtualFile urls is incorrect. A packed war is returning an invalid file url into its contents for the WEB-INF/web.xml. The file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta2/server/default/tmp/jsr88/deployment-web.war!/WEB-INF/web.xml does not have a valid file url handler.

      00:28:40,045 ERROR [WebAppParsingDeployer] Error during deployment: file:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta2/server/default/tmp/jsr88/deployment-web.war
      org.jboss.deployers.spi.DeploymentException: Error parsing meta data WEB-INF/web.xml
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.plugins.deployers.helpers.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:87)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.parse(AbstractParsingDeployer.java:145)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:112)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:88)
       at org.jboss.deployment.WebAppParsingDeployer.deploy(WebAppParsingDeployer.java:87)
      ...
      
      Caused by: java.io.FileNotFoundException: /home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta2/server/default/tmp/jsr88/deployment-web.war/WEB-INF/web.xml
       at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
       at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
       at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
       at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
       ... 60 more