Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行许多命令,例如:asadmin create-custom-resource,但是,我有多个域,并且我希望指定要影响的域。
asadmin create-custom-resource
如何运行 asadmin 命令并指定要影响的域?
我正在使用 Glassfish 3.1.2.2
您不能直接为大多数asadmin命令指定域。
asadmin
但是您可以指定控制域的域管理服务器。它间接识别域。为此,只需使用--host和--port参数:
--host
--port
asadmin --host localhost --port 4848 create-custom-resource ...
也可以看看: