DavidAlphaFox / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

部署openshift为何不成功 #85

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
按教程一步一步下来.也没先什么什么错误,但为何打开网址没
有显示snova的欢迎页面,一片空白,是哪里出问题呢?
 git push
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 873.59 KiB, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: Stopping application...
remote: Done
remote: ~/git/1.git ~/git/1.git
remote: ~/git/1.git
remote: Running .openshift/action_hooks/pre_build
remote: Running .openshift/action_hooks/build
remote: Emptying tmp dir: 
/var/lib/stickshift/5a4f1ac23ef248b7b10fef6434f9beae/1/jbossas-7/standalone/tmp/
auth
remote: Emptying tmp dir: 
/var/lib/stickshift/5a4f1ac23ef248b7b10fef6434f9beae/1/jbossas-7/standalone/tmp/
vfs
remote: Emptying tmp dir: 
/var/lib/stickshift/5a4f1ac23ef248b7b10fef6434f9beae/1/jbossas-7/standalone/tmp/
work
remote: Running .openshift/action_hooks/deploy
remote: Starting application...
remote: Done
remote: Running .openshift/action_hooks/post_deploy
To ssh://5a4f1ac23ef248b7b10fef6434f9beae@XXXX.rhcloud.com/~/git/1.git/
   750bfd6..9f1701e  master -> master

rhc app status -a 1 -d
Password: ******

Contacting https://openshift.redhat.com
Problem reported from server. Response code was 500.

DEBUG:
1.  Application directory doesn't exist:  
/var/lib/stickshift/66df8ac8a69b483ea0bebb126fd074da//app-root
Cartridge return code: 125

Exit Code: 1
broker_c: 
namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.3

RESULT:
Node execution failure (invalid exit code from node).  If the problem persists 
please contact Red Hat support.

Original issue reported on code.google.com by juyyao on 8 Jun 2012 at 3:40

GoogleCodeExporter commented 8 years ago
建议用heroku或者cloundfoundry,操作相对简单些,效率也更高些

Original comment by yinqiwen@gmail.com on 11 Jun 2012 at 12:34

GoogleCodeExporter commented 8 years ago
Also fail:
(on jboss as 7.1)

Exit Code: 0
broker_c: 
namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
api_c: placeholder
API version:    1.1.3

RESULT:
tailing 
/var/lib/stickshift/a60331d4f5844d10ace3366c9ab1122c/sn//jbossas-7/standalone/lo
g/server.log
------ Tail of sn application server.log ------
    at org.jboss.as.pojo.service.DescribedPojoPhase.start(DescribedPojoPhase.java:69)
    ... 5 more
2012/08/19 03:03:43,407 INFO  [org.jboss.web] (MSC service thread 1-4) 
JBAS018210: Registering web context: /snova
2012/08/19 03:03:43,416 INFO  [org.jboss.as.server] (DeploymentScanner-threads 
- 2) JBAS015870: Deploy of deployment "snova.war" was rolled back with failure 
message {"JBAS014671: Failed services" => 
{"jboss.pojo.\"org.jboss.netty.internal.LoggerConfigurator\".DESCRIBED" => 
"org.jboss.msc.service.StartException in service 
jboss.pojo.\"org.jboss.netty.internal.LoggerConfigurator\".DESCRIBED: 
java.lang.ClassNotFoundException: 
org.jboss.netty.container.microcontainer.NettyLoggerConfigurator from [Module 
\"deployment.snova.war:main\" from Service Module Loader]"}}
2012/08/19 03:03:43,419 INFO  [org.jboss.as.controller] 
(DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service 
jboss.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED: 
org.jboss.msc.service.StartException in service 
jboss.pojo."org.jboss.netty.internal.LoggerConfigurator".DESCRIBED: 
java.lang.ClassNotFoundException: 
org.jboss.netty.container.microcontainer.NettyLoggerConfigurator from [Module 
"deployment.snova.war:main" from Service Module Loader]
2012/08/19 03:03:43,497 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and 
was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: 
Failed services" => 
{"jboss.pojo.\"org.jboss.netty.internal.LoggerConfigurator\".DESCRIBED" => 
"org.jboss.msc.service.StartException in service 
jboss.pojo.\"org.jboss.netty.internal.LoggerConfigurator\".DESCRIBED: 
java.lang.ClassNotFoundException: 
org.jboss.netty.container.microcontainer.NettyLoggerConfigurator from [Module 
\"deployment.snova.war:main\" from Service Module Loader]"}}}}
2012/08/19 03:03:43,702 INFO  [org.jboss.as.server.deployment] (MSC service 
thread 1-1) JBAS015877: Stopped deployment snova.war in 285ms

Original comment by ericbre...@gmail.com on 19 Aug 2012 at 7:27

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
和你一样,不过已经听从作者建议转到cloundfoundry 成功实现。

Original comment by xilo...@gmail.com on 22 Oct 2012 at 8:46