Hi,
Still working on the G integration in Cargo. I need to find a way to deploy
an archive before the container is started. I read on
http://tinyurl.com/8dfxj that I should use the distribute command with the
--offline option.
I'm using G 1.0 and it's failing:
C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar --offline distribute
C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0-SNAPSHOT.ear
C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader-plan.xml
Error: No such command: '--offline'
Command-line deployer syntax:
deployer [general options] command [command options]
[...]
If I don't use --offline I get:
C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar distribute
C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0-SNAPSHOT.ear
C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader-plan.xml
Error: Unable to connect to server at deployer:geronimo:jmx --
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost;
nested exception is:
java.net.ConnectException: Connection refused: connect]
Any idea? Is the --offline option supported in G 1.0?
Thanks
-Vincent
|