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 57362

Summary: Support for deployment to any single target instance
Product: serverplugins Reporter: Nam Nguyen <nnguyen>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: RESOLVED WONTFIX    
Severity: blocker CC: marcow, pjiricka, pzavadsky
Priority: P1    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 55325    

Description Nam Nguyen 2005-04-01 23:07:56 UTC
Currently J2eeserver only allow selection of server instance that represent the
admin instance as target of a deployment.  If there are more than one target
instances managed by the admin instance, deployment would happens to all target
instances.  This is an invenience for developers that want to keep multiple
target instances or want to simulate production environment for debugging purpose.

We need to support deployment of a specific target instance.
Comment 1 Nam Nguyen 2005-04-01 23:17:29 UTC
One solution is following chnages:
1. Deployment.getTargetInstanceIDs to return (instanceID + target name) for use
by project customizers.
2. Add J2eeModuleProvider.getTargetInstanceID to be use instead of
getServerInstanceID whereever appropriate.
3. Facility to convert target-instance-id into ServerString for use by
DeploymentTargetImpl.
Comment 2 Sherold Dev 2005-04-11 14:25:58 UTC
*** Issue 57699 has been marked as a duplicate of this issue. ***
Comment 3 Sherold Dev 2005-04-11 14:29:10 UTC
Increasing to p1 because of the p1 duplicate of this issue.
Comment 4 Marco Walther 2005-04-11 21:12:05 UTC
My preference would be we had something better than those `ID-strings'. I 
would prefer some `bean??' type of thing which would encapsulate the 
ServerString etc. and could also be used to generate a good display string for 
menus/dialogs etc. 
 
Right now, we use the ID string, which is `ugly' in UI's. 
 
Thanks, 
-- Marco 
  
Comment 5 Marco Walther 2005-04-13 22:48:39 UTC
Ok, my solution for now is to make a combined ServerInstanceID out of the 
instanceURL (as NB original code) plus possibly '[[' + targetName + ']]' and 
then split it up into pieces again where I need it. 
 
As I said before, I don't like those String based ID's but this looked like 
the closed I could get to the original code. 
 
Thanks, 
-- Marco 
 
Comment 6 Vince Kraemer 2009-02-13 20:33:42 UTC
I guess this is not p1 anymore...
Comment 7 Petr Hejl 2015-09-30 11:00:17 UTC
There was no user request about such support.