Thanks Shankar for the quick reply.
Tried that too, but its now plainly giving me this:
CLI137 Command list-instances failed.
And nothing more than that. No idea why it failed.
Any idea on the Q-2 above? Putting it here again..
Is there any common command for glassfish-v1.ur1-p010b02 and glassfish-v2.ur2.b04 where I can find out if the instances are up and running before attempting to deploy war files ??
[Message sent by forum member 'abhisanoujam' (abhisanoujam)]
http://forums.java.net/jive/thread.jspa?messageID=283750