geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik B. Craig" <gineme...@gmail.com>
Subject Deploy script bombs with remote host
Date Fri, 02 Nov 2007 16:41:16 GMT
All,

I am wondering if anyone else has been using the deployer script to 
deploy on a remote machine at all recently, and if so if you have 
noticed any problems with it.
I am getting a NullPointerException on an attempt to deploy a plugin 
from one machine to another with

./deploy.sh -u <username> -p <password> --host <hostname here> 
install-plugin <path to plugin>

The similar command works flawlessly locally on the machine I'm trying 
to deploy to. Both machines have the same compiled revision of 
2.1-SNAPSHOT running (590751).

Here's a copy of the error while running ./deploy.sh with the -v option
11:17:09,171 INFO  [Log4jService] 
----------------------------------------------
11:17:12,093 INFO  [RemoteDeploymentManager] Uploading 1 file(s) to server
Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.geronimo.deployment.plugin.local.CommandSupport.doFail(CommandSupport.java:141)
        at 
org.apache.geronimo.deployment.plugin.remote.RemoteDeployUtil.uploadFilesToServer(RemoteDeployUtil.java:206)
        at 
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.startInstall(RemoteDeploymentManager.java:234)
        at 
org.apache.geronimo.deployment.cli.CommandInstallCAR.execute(CommandInstallCAR.java:49)
        at 
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
        at 
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at 
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at 
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
ebcraig@ebcraig-t60p:~/g-built/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/bin$ 
cd /home/ebcraig/g-src/

Anyone else seen this behavior?

Thanks,
Erik B. Craig

Mime
View raw message