Cloudify で 10 分間のクイックスタートを試していたところ、エラーが発生しました。最初に jdk をインストールし、JAVA_HOME
環境変数に追加してから、cloudify シェルの .bat ファイルを開始しました。(補足: 私は Windows 7 ユーザーです)。
次に、petclinic-simple の install-application を試しました。その後、インストール中にエラーが発生しました(忘れましたが、mongoDBのインストールエラーだったと思います)。次に、teardown-localcloud -force を実行し、cloudify シェルを閉じることにしました。その後、petclinic のインストール アプリケーションを再試行したところ、タイムアウトになるまで繰り返される別のエラーが発生しました。
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...Application installation timed out. Configure the timeout using the -timeout flag.
Operation failed.
私はまだプログラミング全般にかなり慣れていないので、複雑なことの多くを理解していない場合はご容赦ください。また、再起動、フォルダーの削除、および新しいフォルダーの再抽出を試みました。
編集: これは --verbose を使用した出力ですが、タイムアウトは5です
cloudify@default> teardown-localcloud -force
Teardown will shut down the local cloud. Do you want to continue [y/n]?
Failed to fetch the currently deployed applications list. Continuing teardown-localcloud.
..
SHUTTING DOWN CLOUDIFY AGENT
SHUTTING DOWN CLOUDIFY MANAGEMENT COMPONENTS
SUCCESSFULLY COMPLETED LOCAL-CLOUD TEARDOWN
cloudify@default> bootstrap-localcloud
STARTING CLOUDIFY MANAGEMENT
..
STARTING CLOUDIFY WEBUI
..
STARTING CLOUDIFY REST
CLOUDIFY LOCAL-CLOUD STARTED
LOCAL-CLOUD INFO :
CLOUDIFY MANAGEMENT http://127.0.0.1:8099/
CLOUDIFY GATEWAY http://127.0.0.1:8100/
Local-cloud started successfully. Use the teardown-localcloud command to shutdown all processes.
cloudify@default> install-application --verbose -timeout 5 C:/Users/Calvin/Desktop/cloudify/recipes/apps/petclinic-simple
Validating file petclinic-simple
Uploading application petclinic
Application [petclinic] with 2 services
Service [mongod] 1 planned instances
Service [tomcat] depends on [mongod] 1 planned instances
.
Deploying mongod with 1 planned instances.
Deploying tomcat with 1 planned instances.
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
[127.0.0.1/127.0.0.1] tomcat-1 INSTALL invoked
....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
.....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
.....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
....
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL failed. Reason: Event lifecycle external process exited with abnormal status code: 1 Caught
: : Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
: Error while expanding C:\Users\Calvin\.cloudify\mongod1\mongodb-win32-i386-2.0.2.zip
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
at org.apache.tools.ant
.taskdefs.Expand.execute(Expand.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at mongod_install.run(mongod_install.groovy:42) [ERROR]
...
[127.0.0.1/127.0.0.1] mongod-1 INSTALL invoked
.Operation failed. java.util.concurrent.TimeoutException: Application installation timed out. Configure the timeout using the -tim
eout flag.
at org.cloudifysource.shell.ConditionLatch.waitFor(ConditionLatch.java:146)
at org.cloudifysource.shell.rest.RestLifecycleEventsLatch.waitForLifecycleEvents(RestLifecycleEventsLatch.java:79)
at org.cloudifysource.shell.rest.RestAdminFacade.waitForLifecycleEvents(RestAdminFacade.java:275)
at org.cloudifysource.shell.commands.InstallApplication.doExecute(InstallApplication.java:113)
at org.cloudifysource.shell.commands.AbstractGSCommand.execute(AbstractGSCommand.java:83)
at org.cloudifysource.shell.commands.AdminAwareCommand.execute(AdminAwareCommand.java:36)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:221)
at org.apache.karaf.shell.console.Main.run(Main.java:191)
at org.apache.karaf.shell.console.Main.run(Main.java:89)
at org.cloudifysource.shell.GigaShellMain.main(GigaShellMain.java:122)
Operation failed.