Note that there are some explanatory texts on larger screens.

plurals
  1. POJenkins war deployment to Tomcat 7
    text
    copied!<p>I'm using Jenkins for war deployment to my remote server which uses Tomcat 7. I need my application to be directly installed at dedicated port like this:</p> <pre><code>http://localhost:8083 </code></pre> <p>instead of usual:</p> <pre><code>http://localhost:8080/myCoolApp </code></pre> <p>To achieve this I deploy my war archive as ROOT directly to 'webapp' Tomcat's directory. Everything works fine, archive is sent and deployed but I get an error from Jenkins: <img src="https://i.stack.imgur.com/Kb9XP.png" alt="enter image description here"></p> <p>Just to remind - archive is deployed successfully! But as a perfectionist I just can't stand a result like this. </p> <p>Here is my configuration for Jenkins deployment: <img src="https://i.stack.imgur.com/M5IBk.png" alt="enter image description here"></p> <p>Here is Tomcat configuration for my application as a separate service:</p> <pre><code> &lt;Service name="Jangel"&gt; &lt;Connector port="8083" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /&gt; &lt;Engine name="Jangel" defaultHost="localhost"&gt; &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" /&gt; &lt;Host name="localhost" appBase="Jangel" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"&gt; &lt;/Host&gt; &lt;/Engine&gt; </code></pre> <p> </p> <p>So the question is - how should I configure correctly Tomcat&amp;Jenkins? </p> <p>Or how may I avoid/silence this Jenkins error? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload