First of all, let me inform you that this issue is related to OPENSHIFT. I'm tired of building war with Jenkins and then manually transferring the newly built war file to the server - It's time consuming.
I'm trying to deploy a maven application built from Jenkins in one gear and deploy it in the TOMCAT 7 server which is running in another gear.
I'm using Deploy container plugin via Jenkins to push my war file into the TOMCAT server after being built by the Jenkins. In the tomcat server, I edited the tomcat-users.xml.
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="manager"/>
I tried to deploy it with JBoss AS 7 available. But could not deploy either - so decided to switch to the Tomcat with hope that deployment in tomcat is easier than in JBoss.