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

Summary: Avoid usage of Deployment.getDefaultServerInstanceID()
Product: webservices Reporter: Petr Hejl <phejl>
Component: WSITAssignee: Martin Grebac <mgrebac>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 83934    

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.