Bug 1050196
Summary: | CDIHelper does not take kjar into account during wiringListnerAndWIHs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Adam Baxter <abaxter> | ||||
Component: | jBPM Core | Assignee: | Mario Fusco <mfusco> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Svitak <jsvitak> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0.0 | CC: | abaxter, agiertli, etirelli, jsvitak, mbaluch, mfusco, mwinkler, rafaelcba, ravindra.tubati | ||||
Target Milestone: | ER1 | ||||||
Target Release: | 6.0.1 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-08-06 20:03:31 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: | |||||||
Attachments: |
|
Description
Adam Baxter
2014-01-08 20:18:37 UTC
Created attachment 847784 [details]
Reproducer code
Hey Mario,
I tried to create the reproducer like you asked, but Eclipse is giving me some bizarre problems.
This is as close as I could get. It matches up with what we're doing in our code.
The kjar project is: https://github.com/abaxter-rh4u/jbpm-ee/tree/use_kmodule/jbpm-ee-samples/jbpm-ee-kjar-sample Additional notes: Simply modifying the instances of Class.forName() to Thread.currentThread().getContextClassLoader() would be enough for the CDI and Reflection pathways in CDIHelper, but that requires the ContextClassLoader be set manually from above jBPM. I was able to get the MVEL pathway working only if the WIH/Listener entry was "Thread.currentThread().getContextClassLoader().loadClass("org.jbpm.ee.test.TestHandler").newInstance();" However, this prevents us from utilizing the ksession, etc... identifiers in the constructor. Adam Yes, this problem is fixed. Thanks Adam for checking! Verified in BPMS 6.0.1.ER2. |