未找到geronimo deploy cli文件

时间:2012-01-10 07:32:42

标签: deployment ear filenotfoundexception geronimo

您好我想使用geronimo的deploy.sh远程部署.ear。但上传后我得到:

  http://localhost:8080/remote-deploy/upload
  07:50:22,889 ERROR [DeployTool] Error:
  org.apache.geronimo.common.DeploymentException: Unable to deploy   myproj.service.external.ear: java.io.FileNotFoundException: /home/myproj/geronimo-tomcat6-javaee5-2.2/bin/myproj.service.external.ear (No such file or directory)
    /home/myproj/geronimo-tomcat6-javaee5-2.2/bin/myproj.service.external.ear (No such file or directory)

    at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45)
    at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149)
    at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
    at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
    at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
    at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

我正在使用geronimo

   Version  2.2
   Build    2009.12.07-18:20:06.045-0800

我的部署cmd如下所示:

./deploy.sh  -host hostname --user "usr" --password "pw" deploy myproj.service.external.ear

0 个答案:

没有答案