Bug 29044 - The symlink jasper-jdt.jar (package tomcat-lib-9.0.41-1.mga8) is not correctly done.
Summary: The symlink jasper-jdt.jar (package tomcat-lib-9.0.41-1.mga8) is not correctl...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Java Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 28501
  Show dependency treegraph
 
Reported: 2021-05-30 11:27 CEST by Xuo
Modified: 2021-07-20 12:50 CEST (History)
3 users (show)

See Also:
Source RPM: tomcat
CVE:
Status comment:


Attachments

Description Xuo 2021-05-30 11:27:23 CEST
Hi,

The file /usr/share/java/tomcat/jasper-jdt.jar from the package tomcat-lib is a symlink. 
This symlink is not correctly done :
jasper-jdt.jar -> ../../../../usr/share/java/ecj/ecj.jar:/usr/share/java/ecj/java14api.jar

Then tomcat complains with :
29-May-2021 20:48:28.188 AVERTISSEMENT [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR file [/usr/share/java/tomcat/jasper-jdt.jar], exists: [false], canRead: [false]

If I replace it with :
jasper-jdt.jar -> ../../../../usr/share/java/ecj/ecj.jar

the problem seems solved.
The package tomcat-lib-9.0.45-1.mga9.noarch.rpm does not have this issue. But I've found it in the Cauldron hierarchy. The regular source should be corrected.

Regards.

Xuo.
Comment 1 Aurelien Oudelet 2021-05-30 16:11:22 CEST
Assigning to Java Stack Devel.

Assignee: bugsquad => java
CC: (none) => ouaurelien
Source RPM: (none) => tomcat

David GEIGER 2021-06-01 07:46:21 CEST

Blocks: (none) => 28501

Comment 2 David GEIGER 2021-06-01 07:48:21 CEST
Should be fixed with tomcat-9.0.41-1.2.mga8 in Core/Updates_testing repo!

CC: (none) => geiger.david68210

Comment 3 Xuo 2021-06-01 08:40:47 CEST
Thank you.

Xuo.

CC: (none) => xuoy

Comment 4 Thomas Backlund 2021-07-20 12:50:52 CEST

An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0357.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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