Здравствуйте! Я хочу развернуть .ear удаленно с помощью deploy.sh из geronimo.Но после загрузки я получаю:
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
Моя команда развертывания выглядит так:
./deploy.sh -host hostname --user "usr" --password "pw" deploy myproj.service.external.ear