I have multiple domains in a glassfish 3 server. I am able to login to different domains using glassfish admin console and I want to create jdbc resource/connection pool for a particular domain (say domain2). I know, I can create it using admin console. But I want to do it through CLI. I checked the format of create-jdbc-connection-pool
and create-jdbc-resource
commands. It does not take any parameter where I can specify the domain name.
Can somebody tell me how to do this using CLI.
Thanks in advance.