0

安装 JBoss EWS 2.0 插件后,app create 命令导致如下所示的错误。Openshift Origin 安装在我的虚拟盒子 centos 6.5 环境中。任何帮助深表感谢。

rhc 应用程序创建 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:inrequest'来自 /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:ineach' 来自 /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:inrequest' 来自 /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:inadd_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:increate' 来自 /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:insection' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb :204:在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 发送':从 /usr/lib/ruby/gems/1.8/gems/rhcparagraph' from /usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:138:in创建' -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:inexecute' from /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:incall '来自 /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:inrun' 来自 /usr/lib/ruby/gems/1.8/gems/commander- 4.0.3/lib/commander/runner.rb:383: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:instart' 从 /usr/lib/ruby/gems/1.8/gems/rhc-1.26 .9.1/bin/rhc:20 来自 /usr/bin/rhc:19:in `load' 来自 /usr/bin/rhc:19

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

4

1 回答 1

0

我整天都在研究这个问题,似乎在 CentOS 下安装 Tomcat/Jboss 刚刚坏了。使用替代存储库 (EPEL) 来获取所需的包仍然会遗漏一些东西。我还在Openshift 跟踪器中发现了几个错误报告,但你知道,如果没有订阅,你就只能靠你自己了。Openshift 已确认该错误,您可以在跟踪器的评论中阅读,但仍然缺少修复。

所以,缺少选项,我已经结束了编写自己的 openshift 墨盒以支持 Tomcat7(不支持 Jboss)。我不知道我是否朝着正确的方向前进,但至少我可以部署和运行一些东西。我希望它有所帮助,请随时分叉和贡献。

于 2014-11-07T22:21:19.717 回答