1

有人在 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

谢谢

4

1 回答 1

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...

如果您仍然看到此问题,请告诉我。

于 2013-01-01T09:11:54.437 回答