This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 55107 - Verifier does not work for 2.3 web module
Summary: Verifier does not work for 2.3 web module
Status: RESOLVED DUPLICATE of bug 53783
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 02:07 UTC by Pavel Buzek
Modified: 2005-07-19 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2005-02-17 02:07:10 UTC
"Problem in parsing the xml file"

org.xml.sax.SAXParseException: Element type
"context-root" must be declared.
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
	at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
	at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1960)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:795)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at
javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:256)
	at
com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescriptor(Archivist.java:271)
	at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:689)
	at
com.sun.enterprise.tools.verifier.VerificationHandler.getApplicationDescriptor(VerificationHandler.java:159)
	at
com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive(VerificationHandler.java:62)
	at
com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:75)
	at
com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)
Comment 1 _ ludo 2005-02-17 03:01:50 UTC
I think this is a duplicate of 53783 
?
context-root in sun-web.xml can only be there for 1.4 apps...

To be sure, can you attach the web app?
Comment 2 Pavel Buzek 2005-02-18 18:01:51 UTC
just create a new web app in nb and select 1.3 (for app server, no
allowed for tomcat, which is another bug - already filed)
Comment 3 _ ludo 2005-02-21 01:39:18 UTC
will be fixed when 53783 is done.

*** This issue has been marked as a duplicate of 53783 ***