Bug 1401714 - Unable to start jenkins, missing mina-core.jar
Summary: Unable to start jenkins, missing mina-core.jar
Keywords:
Status: CLOSED DUPLICATE of bug 1401161
Alias: None
Product: Fedora
Classification: Fedora
Component: jenkins
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 23:01 UTC by Jonathon Padfield
Modified: 2017-01-03 19:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-03 19:38:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.