Bug 1071213
| Summary: | There's already another KieContainer created from a different ClassLoader | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Ivo Bek <ibek> | ||||||||
| Component: | Business Central | Assignee: | Alexandre Porcelli <porcelli> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ivo Bek <ibek> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 6.0.1 | CC: | etirelli, kverlaen, mbiarnes, rrajasek | ||||||||
| Target Milestone: | CR1 | ||||||||||
| Target Release: | 6.0.1 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-08-06 19:59:09 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
Ivo Bek
2014-02-28 09:51:01 UTC
Created attachment 868934 [details]
server log
Alexandre already fixed a duplicate of this issue. Reassigning to him to double check that is the same thing and eventually close. This issue was already reported by #1051769 - so here is the fix: (master) http://github.com/droolsjbpm/drools/commit/758624fa4 (6.0.x) http://github.com/droolsjbpm/drools/commit/30d9915d2 Verified in BPMS 6.0.1.ER2 It is possible to redeploy Business central and also have an own kie application together with Business central. I have to reopen this issue because the problem is still there. Yes, it is possible to redeploy Business central. Also it is possible to have own kie application together with Business central. The problem is that it is not possible to redeploy own kie spring application. I get: Caused by: java.lang.IllegalStateException: There's already another KieContainer created from a different ClassLoader at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:83) [drools-compiler-6.0.2-redhat-4.jar:6.0.2-redhat-4] at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:68) [drools-compiler-6.0.2-redhat-4.jar:6.0.2-redhat-4] at org.kie.spring.KieSpringUtils.<clinit>(KieSpringUtils.java:51) [kie-spring-6.0.2-redhat-4.jar:6.0.2-redhat-4] ... 18 more I will attach the spring application. To reproduce the issue, all you need to do is: 1) create spring module - just extract springframework.zip into modules/system/layers/base/org 2) start BPMS 6.0.1.ER2 3) deploy springapp.war 4) undeploy springapp.war 5) deploy springapp.war once again 6) see the exception above Created attachment 873020 [details]
springapp.war
Created attachment 873021 [details]
springframework.zip
Fix on spring integration: (6.0.x) http://github.com/droolsjbpm/droolsjbpm-integration/commit/99ea65b52 (master) http://github.com/droolsjbpm/droolsjbpm-integration/commit/72f9388e6 btw: you'll have to update springapp.war with most recent spring integration in order be able to test it. Ticket cherry-picked into 6.0.1.CR1. Commit: 143e86a593e9bc8650716c95e1aa9afed204d4c1 Fix on jbpm RuntimeEnvironmentBuilder: (6.0.x) http://github.com/droolsjbpm/jbpm/commit/b8ae2baf2 (master) http://github.com/droolsjbpm/jbpm/commit/206a63482 Ticket cherry-picked into 6.0.1.CR1. Commit: 755f30801b0090d797e7d5734e4228d36f028f1b Verified in BPMS 6.0.1.CR1 |