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.

Bug 69310

Summary: sunddui module does not recognise Sun webserver70 plugin
Product: serverplugins Reporter: Mukesh Garg <mukeshgarg>
Component: CodeAssignee: _ pcw <pcw>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Mukesh Garg 2005-11-25 09:07:31 UTC
Webserver70 plugin which is currently under development uses sunddui module for
reusing GUI editor for sun-web.xml which is common for Appserver8.x and
Webserver7.0.

The open action on the sun-web.xml is not enabled and the GUI editor does not
kicks in when sun-web.xml is double clicked.

The problem is at getOpenCookie() method of ConfigDataObject(line #224) which
checks Utils.isSunServer(provider) which returns false currently for server-ids
other than J2EE or JavaEE5.

We need to add:
*static final String SERVER_ID_WS70 = "SUNWebserver7"; *
in this class and return true from isSunServer(...) if server-id passed is
SERVER_ID_WS70 as well.
Comment 1 _ pcw 2005-11-28 21:00:53 UTC
I added the static id string and augmented the if statement in isSunServer(). 
From code inspection, this should solve (this part of) your problem.  Please
reopen w/ explanation if this fix is not correct.

Marking fixed.
Comment 2 Mukesh Garg 2005-11-29 12:42:14 UTC
The fix solved the problem