CloudifySource 2.2 GA和2.3 M2无法在Windows 8上运行

时间:2012-11-26 13:18:56

标签: cloud cloudify

有没有人在Windows 8 Ent x64上运行2.2 GA或2.3 M2?我已按照安装指南中的说明安装了JDK 1.7.x并设置了JAVA_HOME和PATH。

所有错误都表示代理无法启动。似乎这不是因为还有另一个代理正在运行。当我尝试shutdown-agent或teardown-localcloud时,它说它找不到任何代理。

我关掉了Windows防火墙。所有3个防火墙配置文件都关闭域名,私人和公共。

bootstrap-localcloud命令的详细输出如下。关于如何修复,在哪里查看,如何验证安装等的任何想法?

cloudify@default> bootstrap-localcloud --verbose
NIC Address=127.0.0.1
Lookup Locators=127.0.0.1:4176
Lookup Groups=localcloud
Bootstrapping localcloud, this may take a few minutes
Starting agent and management processes:
cmd.exe /c @call "gs.bat" start startLH startGSM startESM startGSA gsa.global.lus 0 gsa.lus 0 gsa.gsc 0 gsa.global.gsm 0 gsa.gsm_l
us 0 gsa.global.esm 0 gsa.esm 0 >nul 2>&1
STARTING CLOUDIFY MANAGEMENT
Operation failed. org.cloudifysource.shell.commands.CLIException: Error while starting agent. Please make sure that another agent
is not already running. Command executed: cmd.exe /c @call C:\Program Files\CloudifySource\bin\"gs.bat" start startLH startGSM sta
rtESM startGSA gsa.global.lus 0 gsa.lus 0 gsa.gsc 0 gsa.global.gsm 0 gsa.gsm_lus 0 gsa.global.esm 0 gsa.esm 0 >nul 2>&1
at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.runCommand(LocalhostGridAgentBootstrapper.java:1302)
at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.runGsAgentOnLocalHost(LocalhostGridAgentBootstrapper.
java:751)
at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.startManagementOnLocalhostAndWaitInternal(LocalhostGr
idAgentBootstrapper.java:801)
at org.cloudifysource.shell.installer.LocalhostGridAgentBootstrapper.startLocalCloudOnLocalhostAndWait(LocalhostGridAgentB
ootstrapper.java:329)
at org.cloudifysource.shell.commands.BootstrapLocalCloud.doExecute(BootstrapLocalCloud.java:110)
at org.cloudifysource.shell.commands.AbstractGSCommand.execute(AbstractGSCommand.java:79)
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)

CloudifySource上的线程就在这里 https://cloudifysource.zendesk.com/entries/22477167-2-2-ga-and-2-3-m2-not-working-on-windows-8

由于

1 个答案:

答案 0 :(得分:1)

我能够重现您遇到的问题。虽然我只能在将JAVA_HOME指向JDK之外的JRE发行版时重现这一点。

你确定你正在使用JDK吗?

尝试运行%JAVA_HOME%\ bin \ javac,如果你无法运行此命令,则意味着你正在使用JRE或一些奇怪的JDK发行版运行。

我建议安装此http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downlo ...然后重试。

确保JAVA_HOME指向C:\ Program Files \ Java \ jdk1.7.0_10 ......

如果您仍然看到此问题,请与我们联系。