Bug 975435

Summary: one-off patch for SNOWDROP-52: Classpath scanning cannot access contexts from jars in dependecies
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Ricardo Martinelli de Oliveira <rmartine>
Component: SpringAssignee: Ricardo Martinelli de Oliveira <rmartine>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Repel <trepel>
Severity: high Docs Contact:
Priority: high    
Version: 2.2.0CC: bsutter, cobrien, jowilson, kpiwko, maschmid, mmusaji, mnovotny, myarboro, rmartine, tmehta
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 970235 Environment:
Last Closed: 2013-06-24 16:03:55 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:
Embargoed:
Bug Depends On: 970235    
Bug Blocks:    
Attachments:
Description Flags
Patched snowdrop-vfs jars
none
source jar for patched snowdrop-vs.jar none

Comment 2 Ricardo Martinelli de Oliveira 2013-06-20 13:56:21 UTC
@Marek, sorry about that. I changed the bugzilla.

Yes, I'm waiting for Joshua to provide the patch to QA so we can publish to Customer Portal (afaik that's how the process work, correct?)

Comment 4 Marek Novotny 2013-06-20 14:03:55 UTC
(In reply to Ricardo Martinelli de Oliveira from comment #2)
> @Marek, sorry about that. I changed the bugzilla.
> 
> Yes, I'm waiting for Joshua to provide the patch to QA so we can publish to
> Customer Portal (afaik that's how the process work, correct?)

Well sometime GSS does the patch directly ;-)

Comment 5 Marek Novotny 2013-06-21 09:10:16 UTC
Created attachment 763710 [details]
Patched snowdrop-vfs jars

Comment 6 Marek Novotny 2013-06-21 09:12:18 UTC
Created attachment 763711 [details]
source jar for patched snowdrop-vs.jar

Comment 7 Tomas Repel 2013-06-21 13:34:47 UTC
Hi Ricardo,
I verified that the patch works for WFK 2.2.0 on EAP 6.0.1. But I miss the Patch Instructions as described in [1], chapter: `Step 2: Create a Support Patch BZ`

[1] https://docspace.corp.redhat.com/docs/DOC-69766

Comment 8 Marek Novotny 2013-06-21 14:05:42 UTC
PATCH NAME: 
    https://bugzilla.redhat.com/show_bug.cgi?id=975435
PRODUCT NAME:
     JBoss Enterprise WFK Platform 2 (WFK)
VERSION:
    2.2.0
SHORT DESCRIPTION: 
    This patch fixes the issue with Snowdrop VFS while scanning its classpath cannot access contexts from jars in dependecies
LONG DESCRIPTION: 
    This patch fixes the issue with Snowdrop VFS i installed as jboss moduleswhile scanning its classpath cannot access contexts from jars in dependecies
MANUAL INSTALL INSTRUCTIONS:
    Replace all occurences of snowdrop-vfs.jar in your EAP instances installed in EAP modules
 
    Backup and remove the following files:
        $JBOSS_HOME/modules/org/jboss/snowdrop/main/snowdrop-vfs.jar
         
    Instructions to uninstall:
 
        Restore the following files that were backed up before the patch was installed:
           $JBOSS_HOME/modules/org/jboss/snowdrop/main/snowdrop-vfs.jar

COMPATIBILITY: 
    None
DEPENDENCIES:
    None
SUPERSEDES:
    None    
SUPERSEDED BY:
    None
CREATOR:
    Marek Novotny
DATE:
    2013-06-21

Comment 10 Marek Novotny 2013-06-24 11:15:51 UTC
Fixed Long Description

----------------------------------------------------------------------------
PATCH NAME: 
    https://bugzilla.redhat.com/show_bug.cgi?id=975435
PRODUCT NAME:
     JBoss Enterprise WFK Platform 2 (WFK)
VERSION:
    2.2.0
SHORT DESCRIPTION: 
    This patch fixes the issue with Snowdrop VFS classpath scanning.

LONG DESCRIPTION: 
    This patch fixes the issue with Snowdrop VFS  when it is installed as EAP module. Scanning of class path cannot access contexts from jar(s) in dependencies.

MANUAL INSTALL INSTRUCTIONS:
    Replace all occurences of snowdrop-vfs.jar in your EAP instances installed in EAP modules
 
    Backup and remove the following files:
        $JBOSS_HOME/modules/org/jboss/snowdrop/main/snowdrop-vfs.jar
         
    Instructions to uninstall:
 
        Restore the following files that were backed up before the patch was installed:
           $JBOSS_HOME/modules/org/jboss/snowdrop/main/snowdrop-vfs.jar

COMPATIBILITY: 
    None
DEPENDENCIES:
    None
SUPERSEDES:
    None    
SUPERSEDED BY:
    None
CREATOR:
    Marek Novotny
DATE:
    2013-06-21

Comment 11 Tomas Repel 2013-06-24 11:40:30 UTC
The patch is verified (see comment 7), the Patch Instructions from comment 10 seem ok to me too.

I believe the patch can be uploaded.