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.
Build: NetBeans IDE Dev (Build 200911160201) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows XP, 5.1, x86 User Comments: jpleed3: Opening valid sun-web.xml (GF 3.0): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Servlet 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd"> <sun-web-app error-url=""> <context-root>/hrmis</context-root> <property name="alternatedocroot_1" value="from=/security/* dir=docroot"/> <property name="alternatedocroot_2" value="from=/error/* dir=docroot"/> </sun-web-app> alexandrov: build maven war project. No suitable server were deployed. After exrtra steps => IllegalSateException Stacktrace: java.lang.IllegalArgumentException: Data object does not contain a sun-web.xml graph. at org.netbeans.modules.j2ee.sun.ddloaders.multiview.web.SunWebBaseView.<init>(SunWebBaseView.java:59) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.web.SunWebView.<init>(SunWebView.java:55) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.web.SunWebOverviewMultiViewElement.createView(SunWebOverviewMultiViewElement.java:62) at org.netbeans.modules.j2ee.sun.ddloaders.multiview.DDMultiViewElement.componentShowing(DDMultiViewElement.java:72) at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:199) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119)
Created attachment 91435 [details] stacktrace
My sun-web.xml's are based on the doctype for GF v3: http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd NB doesn't seem to understand it.
Changing description, upgrading to P2 and changing component to web project.
http://hg.netbeans.org/web-main/rev/a75c197cb04c
Integrated into 'main-golden', will be available in build *200911281400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a75c197cb04c User: vince kraemer <vkraemer@netbeans.org> Log: #177307: sun-web-app_3_0-0.dtd update
I am going to upgrade this to p1, since the effect in 6.8 rc2 is pretty severe
I'm running RC1 today so I can't verify. Just noticed that sun-application.xml doesn't work correctly in this build either. Not to expand the scope of a bug after it's been resolved, but did you also update sun-ejb.xml and sun-application.xml?
this needs to go into release68...
RE: https://netbeans.org/bugzilla/show_bug.cgi?id=177307#c7 See bug 177939
Reviewed an tested the fix.
I reviewed the fix and it looks OK.
Verified fix in build 200912020200.
thanks for the verification
http://hg.netbeans.org/release68/rev/56f5c48f7432
verified in 6.8 RC2 (Build 200912022200)