[JIRA] (JENKINS-57811) Jenkins trying to create duplicate instance of Tomcat

26 views
Skip to first unread message

regop412@gmail.com (JIRA)

unread,
Jun 2, 2019, 3:52:02 AM6/2/19
to jenkinsc...@googlegroups.com
Philip Rego created an issue
 
Jenkins / Bug JENKINS-57811
Jenkins trying to create duplicate instance of Tomcat
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screenshot from 2019-06-02 03-50-14.png, Screenshot from 2019-06-02 03-51-02.png, Screenshot from 2019-06-02 03-51-09.png
Components: deploy-plugin
Created: 2019-06-02 07:51
Priority: Blocker Blocker
Reporter: Philip Rego

When you set "clean install" on your root pom. Then Jenkins will try to start a seperate instance of tomcat on your server on the same port. 

The Jenkins error doesn' t give the right info:
Caused by: java.net.SocketException: Connection reset

That's not the real issue. On the server it gives:
java.net.BindException: Address already in use (Bind failed)

Jenkins shouldnt be trying to start another instance. Nowhere did I tell Jenkins to be creating other instances. I'm only deploying to 1 tomcat server. 

This is a blocking defect. Can't use Jenkins with Tomcat anymore.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

regop412@gmail.com (JIRA)

unread,
Jun 2, 2019, 5:06:03 AM6/2/19
to jenkinsc...@googlegroups.com
Philip Rego commented on Bug JENKINS-57811
 
Re: Jenkins trying to create duplicate instance of Tomcat

Fails without any goals or options also
Deploying /var/lib/jenkins/workspace/WhatThePhil/target/ROOT.war to container Tomcat 8.x Remote with context
[/var/lib/jenkins/workspace/WhatThePhil/target/ROOT.war] is not deployed. Doing a fresh deployment.
Deploying [/var/lib/jenkins/workspace/WhatThePhil/target/ROOT.war]
ERROR: Build step failed with exception
org.codehaus.cargo.container.ContainerException: Failed to deploy [/var/lib/jenkins/workspace/WhatThePhil/target/ROOT.war]
at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:110)
at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:184)

regop412@gmail.com (JIRA)

unread,
Jun 2, 2019, 5:09:01 AM6/2/19
to jenkinsc...@googlegroups.com

regop412@gmail.com (JIRA)

unread,
Jun 2, 2019, 5:10:02 AM6/2/19
to jenkinsc...@googlegroups.com

regop412@gmail.com (JIRA)

unread,
Jun 2, 2019, 5:10:02 AM6/2/19
to jenkinsc...@googlegroups.com

robin.jansohn@zf.com (JIRA)

unread,
Jul 19, 2019, 9:56:02 AM7/19/19
to jenkinsc...@googlegroups.com
Robin Jansohn commented on Bug JENKINS-57811
 
Re: Jenkins trying to create duplicate instance of Tomcat

I have no clue what you are actually trying to do but the deploy-plugin does not start any Tomcat instances. As the name indicates it only deploys WAR/EAR files.

My guess would be that your Maven configuration (pom.xml) contains something which starts a new Tomcat instance.

Reply all
Reply to author
Forward
0 new messages