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 132423 - Avoid usage of Deployment.getDefaultServerInstanceID()
Summary: Avoid usage of Deployment.getDefaultServerInstanceID()
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks: 83934
  Show dependency tree
 
Reported: 2008-04-09 15:36 UTC by Petr Hejl
Modified: 2008-04-25 13:13 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 Petr Hejl 2008-04-09 15:36:10 UTC
Class: Util

The concept of default server is broken and does not work for a while.

This concept was abandoned since it did not work
anymore. The problem could occur for example if the default server was Tomcat
then the EJB project, which was set to use the default server could not be
deployed to it, etc.

You should use Deployment.getServerInstanceIDs() method to pick
a server they should be deployed to based on the projects requirements.

See issue 83934.
Comment 1 Martin Grebac 2008-04-16 16:13:32 UTC
not critical for 6.1, and there were no objections from users as well; will target 6.5
Comment 2 Lukas Jungmann 2008-04-16 16:32:58 UTC
Please, use Dev if you plan to fix this in 6.5. Future means post-6.5 now...
Comment 3 Petr Hejl 2008-04-16 16:39:37 UTC
I agree it is not critical, however it is blocking the huge cleanup of the j2eeserver. Please at least do the quickfix
asap (remove the call - it can basically remove anything to your code including null).

This should be done soon enough to stabilize the code.
Comment 4 Martin Grebac 2008-04-17 11:18:30 UTC
Fixed in trunk.