I have several domains on a level 3 server. I can log in to different domains using the Glassfish admin console and I want to create a jdbc resource / connection pool for a specific domain (say domain2). I know, I can create it using the admin console. But I want to do this through the CLI. I checked the format of the commands create-jdbc-connection-pooland create-jdbc-resource. It does not accept any parameters where I can specify the domain name.
Can someone tell me how to do this using the CLI.
Thanks in advance.
source
share