Hmm... Sorry, but that's not how the -targetserver option works.
The sun-acc.xml config file (for several versions of GlassFish and its
predecessor) lets you define target-server elements [i]that are in the same
cluster[/i] for failover purposes. This new option in v3 (once clustering is
supported in v3) will let you specify that same information but on the command
line instead.
The values - regardless of where specified - should refer to servers in the same
cluster because the app client container will use [i]only one[/i] of those in
the list to contact an ORB in a server. Then the ACC's ORB will learn about all
other active ORBs in the same server cluster and failover will work among those.
This is quite a different thing from having the ORB in the ACC contact multiple
server-side ORBs to know about different runtime environments.
- Tim
[Message sent by forum member 'tjquinn' (timo...@sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=387643