Openshift Origin-rhc app创建tomcat7错误 - 无法执行::'control start'

时间:2014-10-25 22:57:58

标签: tomcat openshift-origin

安装JBoss EWS 2.0盒式磁带后,app create命令会导致如下所示的错误。 Openshift Origin安装在我的虚拟盒centos 6.5环境中。非常感谢任何帮助。

rhc app创建MyJava7 tomcat7 --trace

将jbossews-2.0(Tomcat 7(JBoss EWS 2.0))用于'tomcat7'

应用程序选项

域名:mydomain 墨盒:jbossews-2.0 齿轮尺寸:默认 缩放:没有

创建应用程序'MyJava7'...... 启动jbossews墨盒 jbossews进程无法启动 /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:737:in handle_error!': Failed to execute: 'control start' for /var/lib/openshift/544c1df34fe5a091c8000153/jbossews (RHC::Rest::ValidationException) from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:394:in request'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:376:in attempt' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:375:in每个'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:375:in attempt' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:382:in request'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/base.rb:30:in rest_method' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/domain.rb:67:in add_application'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:576:in create_app' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:142:in创造'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:190:in call' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:190:in section'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:204:in paragraph' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/helpers.rb:293:in发送'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/helpers.rb:293:in paragraph' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:138:in创造'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:294:in send' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:294:in执行'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:285:in to_commander' from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in来电         来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in call' from /usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:155:in运行'         来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:383:in run_active_command' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/command_runner.rb:100:in运行!'         来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/delegates.rb:7:in run!' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/cli.rb:37:in start'         来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/bin/rhc:20         来自/ usr / bin / rhc:19:在'load'中         来自/ usr / bin / rhc:19

我在创建Python和Ruby应用程序时遇到了类似的错误。

1 个答案:

答案 0 :(得分:0)

我整天都在讨论这个问题,似乎在CentOS下安装Tomcat / Jboss只是打破了。使用替代存储库(EPEL)来获取所需的包仍然会遗漏一些东西。 我还在Openshift tracker中找到了一些错误报告,但是你知道,如果没有订阅,你就可以自己动手了。 Openshift已确认该错误,因为您可以阅读跟踪器的评论,但修复仍然缺失。

因此,缺少选项,我已经结束代码my own openshift cartridge以支持Tomcat7(没有Jboss支持)。我不知道我是否会朝着正确的方向前进,但至少我可以部署并运行一些东西。我希望它有所帮助,随意分叉并做出贡献。