Bug 1136365 - [QE] (6.3.z) Some module JARs are not crippled by patching subsystem
Summary: [QE] (6.3.z) Some module JARs are not crippled by patching subsystem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Patching
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.3.3
Assignee: baranowb
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On: 1134735
Blocks: eap633-payload
TreeView+ depends on / blocked
 
Reported: 2014-09-02 12:35 UTC by Jitka Kozana
Modified: 2019-08-19 12:43 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1134735
Environment:
Last Closed: 2019-08-19 12:43:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFCORE-154 0 Major Open Patching does not process subdirectories 2014-10-08 05:10:23 UTC

Description Jitka Kozana 2014-09-02 12:35:14 UTC
+++ This bug was initially created as a clone of Bug #1134735 +++

Description of problem:
After installation of 6.3.1.CR1 patch on 6.3.0, we noticed that the this jar:

modules/system/layers/base/org/jboss/resteasy/resteasy-spring/main/bundled/resteasy-spring-jar/resteasy-spring-2.3.8.Final-redhat-3.jar

does not get crippled (its MD5 sum stays the same after patch installation). It might be because patching subsystem doesn't expect jars being under two subdirectories under the 'main' directory (?)

Steps to Reproduce:
1. Install this patch: http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.3.1.CP.CR1/jboss-eap-6.3.1.CP.CR1-patch.zip on EAP 6.3.0.

Actual results:
resteasy-spring-2.3.8.Final-redhat-3.jar is not crippled (even though this module was overlaid by the patch) and JRE is able to load classes from it

Expected results:
all jars in overlaid modules should be unusable

Additional info:
For a quick check whether JRE is able to load classes from a JAR, you can use this groovy command:

groovysh -cp resteasy-spring-2.3.8.Final-redhat-3.jar "Class.forName('javax.ws.rs.core.MediaTypeEditor')"

where javax.ws.rs.core.MediaTypeEditor is a class included in the jar. If the JRE is unable to load the class, you will get a ClassNotFoundException.

Comment 11 Jan Martiska 2015-01-20 09:26:32 UTC
Verified in EAP 6.3.3.CR1.


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