Bug 57362 - Support for deployment to any single target instance
Support for deployment to any single target instance
Product: serverplugins
Classification: Unclassified
Component: Infrastructure
All All
: P1 (vote)
: 6.x
Assigned To: Petr Hejl
: 57699 (view as bug list)
Depends on:
Blocks: 55325
  Show dependency treegraph
Reported: 2005-04-01 23:07 UTC by Nam Nguyen
Modified: 2015-09-30 11:00 UTC (History)
3 users (show)

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo