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.
Reproduce steps: 1. Install application server either 8.2 PE or 9.0 UR1 PE 2. Create any kind of resources from application server admin GUI. Make sure it is disabled. 3. Install Netbeans 5.5 daily build (2006-08-09) 4. Add the server in Runtime 5. Open the properties page of the resource The enabled field is always display true. If I change it to false, there are exception thrown in application server log file server.log. See attached error.
Created attachment 32730 [details] error thrown in application server server.log
appserver has two locations where enable flag is set. admin gui is checking a different location and the plugin is checking a different area. Need to check both and return correct value.
Updated plugin to manipulate both locations in appserver where enable flags are set for deployed resources http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/ide/controllers/J2EEApplicationMgmtController.java?r1=1.1.38.6&r2=1.1.38.7 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/ide/controllers/AppClientModuleController.java?r1=1.1.38.6&r2=1.1.38.7 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/ide/controllers/ControllerUtil.java?r1=1.2.14.2.2.9&r2=1.2.14.2.2.10 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/ide/controllers/WebModuleController.java?r1=1.1.38.5&r2=1.1.38.6 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/ide/controllers/EJBModuleController.java?r1=1.1.38.6&r2=1.1.38.7
The exception in the server.log is a server bug. I will file a bug against glassfish and update this issue with the glassfish issue number.
Created issue in glassfish for exception in server.log https://glassfish.dev.java.net/issues/show_bug.cgi?id=918
Verified in build 2006-08-11