gpt4 book ai didi

tomcat - Openshift Origin-rhc app create tomcat7 报错-Failed to execute : : 'control start'

转载 作者:行者123 更新时间:2023-11-28 23:34:04 25 4
gpt4 key购买 nike

安装 JBoss EWS 2.0 cartridge 后,app create 命令导致如下所示的错误。我的virtual box centos 6.5环境安装了Openshift Origin。非常感谢任何帮助。

rhc app create MyJava7 tomcat7 --trace

为“tomcat7”使用 jbossews-2.0(Tomcat 7(JBoss EWS 2.0))

应用选项

域名:我的域名墨盒: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!': 执行失败:/var 的 'control start'/lib/openshift/544c1df34fe5a091c8000153/jbossews (RHC::Rest::ValidationException)
来自/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'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:375:in
each' 来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/rest/client.rb:375:in attempt'
来自/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'
来自/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'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:142:in
create' 来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:190:in call'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:190:in
部分' 来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/highline_extensions.rb:204:in 段落'
从/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 段落'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands/app.rb:138:in
create' 来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:294:in send'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:294:in
execute' 来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/commands.rb:285:in to_commander'
来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in
call' 来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:180:in call'
来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/command.rb:155:in
run' 来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/runner.rb:383:in run_active_command'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/command_runner.rb:100:in
run!' 来自/usr/lib/ruby/gems/1.8/gems/commander-4.0.3/lib/commander/delegates.rb:7:in run!'
来自/usr/lib/ruby/gems/1.8/gems/rhc-1.26.9.1/lib/rhc/cli.rb:37:in
开始' 来自/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 应用程序时遇到了类似的错误。

最佳答案

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

所以,缺少选项,我已经结束了代码 my own openshift cartridge支持 Tomcat7(不支持 Jboss)。我不知道我的方向是否正确,但至少我可以部署和运行一些东西。我希望它有所帮助,请随意 fork 和贡献。

关于tomcat - Openshift Origin-rhc app create tomcat7 报错-Failed to execute : : 'control start' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26568111/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com