Domanda

I'm trying to run a number of commands, such as:asadmin create-custom-resource, however, I have multiple domains, and I wish to specify which domain to be affected.

How do I run asadmin commands and specify which domain to be affected?

I'm using Glassfish 3.1.2.2

È stato utile?

Soluzione

You can't specify a domain directly for most of the asadmin commands.

But you can specify the Domain Administration Server, which controls the domain. It identifies the domain indirectly. To do this just use --host and --port parameters:

asadmin --host localhost --port 4848 create-custom-resource ...

See also:

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top