Bug 780902 (SOA-3365)

Summary: Port JBESB-3001 to SOA-P 4.3CP05
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: david.boeren <david.boeren>
Component: JBossESBAssignee: Rick Wagner <rwagner>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP05CC: fnguyen, jcoleman, rwagner
Target Milestone: ---   
Target Release: One Off Releases   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3365
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-30 20:07:25 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
jbossesb-rosetta.jar
none
helloworld.zip none

Description david.boeren 2011-09-08 14:07:38 UTC
Patch Instructions: PATCH NAME: SOA-3365
PRODUCT NAME: SOA-P
VERSION:  4.3.0CP5     
SHORT DESCRIPTION: Resolve could not find file error.
LONG DESCRIPTION: There was definitely a change in the JCA integration at some point, for which JBESB-3001 was the fix.  The problem was that the inflow was no longer being associated with the correct context classloader.  This results in an error 'Could not find file'.
MANUAL INSTALL INSTRUCTIONS:  Replace the .jar jbossesb-rosetta.jar with the supplied version.
  Please replace them in your servers in the following directories: deploy/soapui-client.sar/jbossesb-rosetta.jar, jbossesb.sar/lib/jbossesb-rosetta.jar
COMPATIBILITY: N/A
DEPENDENCIES:  N/A
SUPERSEDES: None
SUPERSEDED BY: None
CREATOR:  Rick Wagner
DATE: 09/14/2011
Patch Repository Link: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=8513
Support Case Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007s4vM&sfdc.override=1
project_key: SOA

There was definitely a change in the JCA integration at some point, for which JBESB-3001 was the fix.  The problem was that the inflow was no longer being associated with the correct context classloader.  This is causing the following error:

WARNING: org.jboss.soa.esb.services.routing.MessageRouterException: Could not locate file [from_tid.drl], neither as a file on the local filesystem, on the classpath nor as a URL.
org.jboss.soa.esb.actions.ActionProcessingException: org.jboss.soa.esb.services.routing.MessageRouterException: Could not locate file [from_tid.drl], neither as a file on the local filesystem, on the classpath nor as a URL.

Comment 1 tcunning 2011-09-08 18:15:43 UTC
Link: Added: This issue relates to JBESB-3679


Comment 2 Julian Coleman 2011-09-11 09:30:45 UTC
jbossesb-rosetta.jar built from SOA-P 4.3 CP05 CR2 plus ESB .../tags/GSS-SOA-3365/

Comment 3 Julian Coleman 2011-09-11 09:30:45 UTC
Attachment: Added: jbossesb-rosetta.jar


Comment 5 Filip Nguyen 2011-09-14 09:38:19 UTC
reproducer

Comment 6 Filip Nguyen 2011-09-14 09:38:19 UTC
Attachment: Added: helloworld.zip


Comment 7 Filip Nguyen 2011-09-14 09:44:28 UTC
QE finished testing of the patch.

Regression test suit before the patch: job 1281 
Regression test suit after the patch: job 1282

MD5 sum of patched file: 624f83c84728b20024d318fbb2b44ba7  jbossesb-rosetta.jar

I attached reproducer. The reproducer is helloworld quickstart configured with jms-jca provider and action in action pipeline outputs contextclassloader. Before the patch output is: 
    11:27:16,342 INFO  [STDOUT] Classloader: org.jboss.mx.loading.UnifiedClassLoader3@5ba88001{ url=file:/home/fnguyen/work/soaplatform/products/esb/jboss-as/server/production/tmp/deploy/tmp2165187439273570232jms-ra.rar ,addedOrder=41}

After applying the patch: 
    11:31:00,882 INFO  [STDOUT] Classloader: org.jboss.mx.loading.UnifiedClassLoader3@5549f0e{ url=file:/home/fnguyen/work/soaplatform/products/esb/jboss-as/server/production/tmp/deploy/tmp8532767073507318566Quickstart_helloworld.esb ,addedOrder=51}


This verifies that fix indeed sets correct classloader.


Comment 8 Rick Wagner 2011-09-14 13:26:45 UTC
Patch Instructions: Added: PATCH NAME: SOA-3365
PRODUCT NAME: SOA-P
VERSION:  4.3.0CP5     
SHORT DESCRIPTION: Resolve could not find file error.
LONG DESCRIPTION: There was definitely a change in the JCA integration at some point, for which JBESB-3001 was the fix.  The problem was that the inflow was no longer being associated with the correct context classloader.  This results in an error 'Could not find file'.
MANUAL INSTALL INSTRUCTIONS:  Replace the .jar jbossesb-rosetta.jar with the supplied version.
  Please replace them in your servers in the following directories: deploy/soapui-client.sar/jbossesb-rosetta.jar, jbossesb.sar/lib/jbossesb-rosetta.jar
COMPATIBILITY: N/A
DEPENDENCIES:  N/A
SUPERSEDES: None
SUPERSEDED BY: None
CREATOR:  Rick Wagner
DATE: 09/14/2011


Comment 9 Tushar Gandotra 2011-09-16 10:44:57 UTC
This patch is applicable to JBoss SOA-P 4.3.0 CP05 . It is available for download
from the following location:
https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=8513

Comment 10 Tushar Gandotra 2011-09-16 10:44:57 UTC
Patch Repository Link: Added: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=8513


Comment 11 Rick Wagner 2011-11-30 20:07:25 UTC
Resolved.