Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
bgColor#000000
borderStylesolid
coltrane kevan$ ./gsh
Apache Geronimo (2.1)

Type 'help' for more information.
\----------------------------------------------------------------------------------\-
kevan@coltrane:/> deploy/list-modules
Connecting to Geronimo server: localhost:1099
Username: system
Password: manager*******
Connection established
Found 84 modules
 + org.apache.geronimo.configs/activemq-broker/2.1/car
 + org.apache.geronimo.configs/activemq-ra/2.1/car
 + org.apache.geronimo.configs/axis/2.1/car
...

...

Connecting to an Already Running Geronimo Instance

deploy/connect can be used to connect to an instance of Geronimo that is already running. If no options are provided, then the default port (1099) and host (localhost) will be used to connect to a server. The port ( -p) option is can be used to specify a non-default different port and the hostname (-s) option can be used to specify a remote hostname.

...

No Format
bgColor#000000
borderStylesolid

jason@Jason-Warners-Computer.local:/> deploy/connect --port 1099 --hostname foo.bar.com
Connecting to Geronimo server: foo.bar.com:1099
Username: system
Password: *******

Note
title"deploy/connect and geronimo/stop-server"

When issuing a geronimo/stop-server command to a remote server, the hostname must be provided (and the port if it is not default) even if you are currently connected to that server via deploy/connect.
This issue is addressed by (https://issues.apache.org/jira/browse/GERONIMO-3869)

deploy/disconnect can be used to disconnect from an already connected instance of geronimoGeronimo. Since only one instance of geronimo Geronimo can be connected at a time, no options are needed to specify which server to disconnect from.

...

No Format
bgColor#000000
borderStylesolid

jason@Jason-Warners-Computer.local:/> deploy/disconnect
Disconnecting from Geronimo server
Connection ended