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.
Summary: | duplicate web entry in application.xml and deploy error | ||
---|---|---|---|
Product: | javaee | Reporter: | nouar38 <nouar38> |
Component: | EAR | Assignee: | David Konecny <dkonecny> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | vkraemer |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
nouar38
2007-09-24 10:21:53 UTC
for a J2EE 1.4 ear if we add a duplicate web entry: XML validate output: << XML validation started. Checking file:/NetBeansProjects14/EnterpriseApplication8/src/conf/application.xml... Duplicate unique value [/EnterpriseApplication8-war] declared for identity constraint of element "application". [13] XML validation finished. >>> as well in the server.log at deploy will have this failure message. << Deploying application in domain failed; Deployment descriptor file META-INF/application.xml in archive [gfdeploy]. Duplicate unique value [/EnterpriseApplication8-war] declared for identity constraint of element "application". Deployment error: ... etc. >> This needs to be investigated and cleaned up... I don't see how an exception from the iDE is "expected"... the user has to "work" to get the exception... by altering the application.xml file by hand. lower to p4. This also needs to move to the ear project for further evaluation. This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team |