在OpenShift上部署失败

时间:2014-06-03 07:23:28

标签: build jenkins openshift

我无法在openshift上部署。我有一个Jboss服务器,mongodb和jenkins作为墨盒。该应用程序不可扩展。构建是成功的。 以下是最后一个控制台行:

Preparing build for deployment
Deployment id is f62b813b
Activating deployment
Starting MongoDB cartridge
Deploying JBoss
Starting jbossas cartridge
Found 127.10.192.1:8080 listening port
Found 127.10.192.1:9999 listening port
/var/lib/openshift/538c7f614382ec6016000002/jbossas/standalone/deployments /var/lib/openshift/538c7f614382ec6016000002/jbossas
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
CLIENT_MESSAGE: Artifact: ./ROOT.war is still deploying
/var/lib/openshift/538c7f614382ec6016000002/jbossas
Failed deployments: ./ROOT.war
Archiving artifacts
Finished: SUCCESS

1 个答案:

答案 0 :(得分:0)

看起来你的war文件可能需要很长时间才能部署。在本地启动该应用程序需要多长时间?您应该尝试在本地构建war文件,然后使用SCP将其传输到您的装备并进行部署,看看是否有效。