2012-11-26 3 views
1

У кого-нибудь есть 2.2 GA или 2.3 M2, работающий на Windows 8 Ent x64? Я установил JDK 1.7.x и установил JAVA_HOME и PATH, как указано в руководстве по установке.CloudifySource 2.2 GA и 2.3 M2 не работает в Windows 8

Все ошибки указывают на то, что агент не может запускаться. Казалось бы, это НЕ НЕ, потому что есть еще один агент. Когда я пытаюсь отключить агент или teardown-localcloud, он говорит, что не может найти никаких агентов.

Я отключил брандмауэр Windows. все три профиля брандмауэра выключены; домена, частного и публичного.

Подробный вывод из команды bootstrap-localcloud приведен ниже. Любые идеи о том, как исправить, где искать, как проверить установку и т. Д.?

[email protected]> 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

Благодаря

+0

Пожалуйста, вставьте данные в тело сообщения, так как вопросы, как ожидается, будут автономными (что произойдет, если связь сломается?), Спасибо. –

ответ

1

Я был в состоянии воспроизвести проблему, которую вы испытываете. хотя я мог только воспроизвести это, когда я нахожу свой JAVA_HOME в JRE-дистрибутиве вне JDK.

Вы уверены, что работаете с 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 ...

дайте мне знать, если вы все еще видите этот вопрос.