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.
NB 6.0 200709200000 &GF v2 fcs & jdk 1.6 u1 may be j2ee but could not find the supcomp. Put P4 as with the IDE-EAR-Add Java EE Module wizard cannot add a duplicate module. http://appserver-sqe.red.iplanet.com/twiki/pub/SQEAdmin90/NetBeanComponent/netbean_plugin_deploy_testspec_5.5.html Negative tests: 4) Include a duplicate entry for a module in application.xml descriptor of an otherwise valid application archive. Deploy. Check error messages for validity, and usefulness 1.4 EAR with war and ejb (session bean), edit the application.xml (double click) and copy-paste the ejb module lines << ... <module> <ejb>EnterpriseApplication9-ejb.jar</ejb> </module> <module> <ejb>EnterpriseApplication9-ejb.jar</ejb> </module> >> ENH: would be nice to get a clear error message like duplicate entry. *** XML validate ==>>> no error <<XML validation started. Checking file:/NetBeansProjects14/EnterpriseApplication9/src/conf/application.xml... XML validation finished. >> *** build and verify the EAR: << dist: verify: running /opt/glassfish-v2-b58g/bin/verifier -ra -d /NetBeansProjects14/EnterpriseApplication9/dist /NetBeansProjects14/EnterpriseApplication9/dist/EnterpriseApplication9.ear SEVERE: Could not expand entry null into destination /var/tmp/exploded20070924035923/EnterpriseApplication9/EnterpriseApplication9-ejb_jar java.io.IOException: Error expanding archive /var/tmp/exploded20070924035923/EnterpriseApplication9/EnterpriseApplic ation9-ejb.jar; please see the server log file for more information at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359) at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeEar(J2EEModuleExplo der.java:296) ... >> *** at deploy: <<< Cannot link PolicyConfiguration to itself. Unable to create client jar: null com.sun.enterprise.deployment.backend.IASDeploymentException at com.sun.enterprise.deployment.backend.ClientJarMakerThread.createClientJar(ClientJarMakerThread.java:156) at com.sun.enterprise.deployment.backend.ClientJarMakerThread.run(ClientJarMakerThread.java:93) Caused by: java.util.zip.ZipException: duplicate entry: EnterpriseApplication9-ejb.jar at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175) >>>
this is not an enhancement
re-read the issue. the user has to do a fair bit of extra work to get into this situation. pushing back down to p4
not worth worrying about in 7.0 time frame