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 - sunddui module does not recognise Sun webserver70 plugin
Summary: sunddui module does not recognise Sun webserver70 plugin
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 09:07 UTC by Mukesh Garg
Modified: 2005-11-29 12:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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