Échec déployé sur OpenShift
Question
Je ne peux pas déployer sur OpenShift.J'ai un serveur JBoss, Mongodb et Jenkins comme cartouches.L'application n'est pas évolutive.La construction est réussie. Voici les dernières lignes de la console:
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
La solution
On dirait que votre fichier de guerre prend peut-être longtemps à déployer.Combien de temps faut-il pour faire tourner cette application localement?Vous devriez essayer de construire le fichier de guerre localement, puis de l'utiliser SCP pour la transférer à votre équipement et de le déployer et de voir si cela fonctionne.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow