Details
Description
I started two server instances on my local Windows platform:
geronimo-tomcat7-javaee6-3.0-SNAPSHOT using port 1099,started with the "run Geronimo" command;
geronimo-tomcat6-javaee5-2.2 using port 1109, started with the "startup"command.
On the karaf shell for the geronimo-tomcat7-javaee6-3.0-SNAPSHOT server:
I ran the "deploy:connect --port 1109"command trying to connect the geronimo-tomcat6-javaee5-2.2 server. "Connection established"was displayed.
However,when running the "deploy:list-modules"command, it was the modules belonging to the geronimo-tomcat7-javaee6-3.0-SNAPSHOT server that was listed, indicating that it was still the
geronimo-tomcat7-javaee6-3.0-SNAPSHOT server that was connected.
The information on the command window is as follows:
geronimo> deploy:disconnect
Not connected
geronimo> deploy:connect --hostname localhost --port 1109
Connection established
geronimo> deploy:list-modules
Found 54 modules
+ org.apache.geronimo.configs/activemq-broker-blueprint/3.0-SNAPSHOT/car
+ org.apache.geronimo.configs/activemq-ra/3.0-SNAPSHOT/car
+ org.apache.geronimo.configs/aries-deployer/3.0-SNAPSHOT/car
+ org.apache.geronimo.configs/axis2-deployer/3.0-SNAPSHOT/car
+ org.apache.geronimo.configs/bval-deployer/3.0-SNAPSHOT/car
+ org.apache.geronimo.configs/client-deployer/3.0-SNAPSHOT/car
.......