users@glassfish.java.net

Verification of Web Application Fails

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Nov 2007 07:25:30 PST

I have a couple Web Applications that are currently deployed via Tomcat. I am trying to migrate them to Glassfish and move towards using JSF and true Java Web Application structures.

I have one app that I migrated with no problem. I simply created a WAR file and used the Glassfish web interface to deploy it. No issues.

The second app is significantly larger, but uses the same concepts. It, however, fails to deploy. I ran the verifier against the WAR file and I see the messages that follow. I have Googled for the listed Error Description, but I cannot find anything that leads me to a possible solution.

          -----------------------------------------------------
          ERRORS THAT OCCURRED WHILE RUNNING STATIC VERIFICATION
          -----------------------------------------------------

        Error Name : Could not verify successfully.
        Error Description : java.lang.RuntimeException: There is no web component by the name of null here.
        at com.sun.enterprise.deployment.node.web.WebBundleNode.endElement(WebBundleNode.java:340)
        at com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:453)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:298)
        at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:226)
        at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:480)
        at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:305)
        at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
        at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
        at com.sun.enterprise.tools.verifier.VerificationHandler.createApplicationDescriptor0(VerificationHandler.java:464)
        at com.sun.enterprise.tools.verifier.VerificationHandler.createApplicationDescriptor(VerificationHandler.java:265)
        at com.sun.enterprise.tools.verifier.VerificationHandler.initStandalone(VerificationHandler.java:216)
        at com.sun.enterprise.tools.verifier.VerificationHandler.<init>(VerificationHandler.java:109)
        at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:140)
        at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:114)


          ----------------------------------
          END OF STATIC VERIFICATION RESULTS
          ----------------------------------


Any guidance would be appreciated.
[Message sent by forum member 'jstorta' (jstorta)]

http://forums.java.net/jive/thread.jspa?messageID=243860