找不到 geronimo 部署 cli 文件

发布于 2024-12-25 15:03:37 字数 1388 浏览 2 评论 0原文

您好,我想使用 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

Hello I want to deploy an .ear remotely with the deploy.sh of geronimo. But after the upload i get:

  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)

I'm using geronimo

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

My deploy cmd looks like:

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文