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 200707240000 & GF v2 b56 & jdk 1.6 u1 I've tried with bookstore1 (from java ee 5 tutorial samples 1.u3) , before creating the needed jdbc resource for BookDB, to edit the sun-web.xml file, when I click on the tab Environment, I'm getting the Exception: SEVERE [global] org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException: Not supported in Server 2.40 specification. at org.netbeans.modules.j2ee.sun.dd.impl.web.model_2_4_0.SunWebApp.getMessageDestinationRef(SunWebApp.java:1112) at org.netbeans.modules.j2ee.sun.dd.impl.web.SunWebAppProxy.getMessageDestinationRef(SunWebAppProxy.java:859) [catch] at org.netbeans.modules.j2ee.sun.ddloaders.multiview.jms.MessageDestinationRefGroupNode.getBeansFromModel(MessageDestinationRefGroupNode.java:61) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode.computeBindingSet(NamedBeanGroupNode.java:289) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.common.NamedBeanGroupNode$2.run(NamedBeanGroupNode.java:162) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
and before creating the DB tables.
in XML tab can see: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd"> <sun-web-app> <context-root>/bookstore1</context-root> </sun-web-app> but in a new created web project: <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd"> does this mean I'm not allowed to use the different tabs from sun-web.xml if version < 2_5 ?
Ressigning to serverplugins for further evaluation.
No, I haven't made my final pass over the versioning code and there are several places where the version is "expected to be ok", but isn't because of some missing versioning code. This is on my list of things to fix.
Fixed. I've implemented versioning code over all of the new editors now so fields, panels, and views all have their visibility controlled by whether or not they are supported by the current DOCTYPE. Please file new bugs for any further VersionNotSupportedExceptions you may encounter, if any.
NB 6.0 200708200000 & GF v2 b58c & jdk 1.6u1 solaris-sparc : for bookstore1 with no jdbc/bookDB and no db populated, no more the exception while expanding the different tabs in sun-web.xml thanks. marking the issue as verified.