Bug 1401714

Summary: Unable to start jenkins, missing mina-core.jar
Product: [Fedora] Fedora Reporter: Jonathon Padfield <jonathon.padfield>
Component: jenkinsAssignee: Michal Srb <msrb>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: gwync, java-sig-commits, mizdebsk, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 19:38:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonathon Padfield 2016-12-05 23:01:35 UTC
Description of problem:

The jenkins-webapp-1.651.3-2.fc25.noarch.rpm package contains two circular symlinks,
mina-core.jar -> mina-core.jar
jtidy.jar -> jtidy.ja

The 'mina-core' one at least is preventing jenkins from starting

Dec 05, 2016 5:17:08 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Failed startup of context w.{,file:/usr/share/jenkins/webroot/},/usr/share/jenkins/webroot
java.io.FileNotFoundException: /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar (Too many levels of symbolic links)

Version-Release number of selected component (if applicable):

jenkins-webapp-1.651.3-2.fc25.noarch.rpm

How reproducible:

I've cleaned the dnf cache several times, uninstalled and reinstalled jenkins, and it's always the same result.

I also downloaded and extracted the package to /tmp/

[root@at02 lib]# find /tmp/usr/share/jenkins/webroot/WEB-INF/lib -xtype l
find: ‘/tmp/usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar’: Too many levels of symbolic links
find: ‘/tmp/usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar’: Too many levels of symbolic links

Steps to Reproduce:
1. dnf install jenkins
2. systemctl start jenkins
3. less /var/log/jenkins/jenkins.log
4. find /usr/share/jenkins/webroot/WEB-INF/lib -xtype l

Actual results:

find: ‘/usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar’: Too many levels of symbolic links
find: ‘/usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar’: Too many levels of symbolic links

Expected results:

No errors

Additional info:

Comment 1 Gwyn Ciesla 2017-01-03 19:38:42 UTC

*** This bug has been marked as a duplicate of bug 1401161 ***