Bug 29044

Summary: The symlink jasper-jdt.jar (package tomcat-lib-9.0.41-1.mga8) is not correctly done.
Product: Mageia Reporter: Xuo <xuoy>
Component: RPM PackagesAssignee: Java Stack Maintainers <java>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: geiger.david68210, ouaurelien, xuoy
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: tomcat CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 28501    

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