Bug 1061024
| Summary: | KieSession cannot be created from kmodule on WebSphere AS | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Radovan Synek <rsynek> | ||||||||
| Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Synek <rsynek> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 6.0.0 | CC: | kverlaen, rrajasek | ||||||||
| Target Milestone: | ER1 | ||||||||||
| 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:57:30 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: |
|
||||||||||
Created attachment 858982 [details]
reproducer web app
Created attachment 859236 [details]
updated reproducer - can run on lightweight WAS.
Fixed by https://github.com/droolsjbpm/drools/commit/95b6ca874 I tested that my fix works with lightweight (free) WAS, but I cannot try on the paid one so I don't know what happens there. Verified with BRMS-6.0.1.ER1 |
Created attachment 858981 [details] server log excerpt Description of problem: In a reproducer web app, KieSession is being injected into SimpleBean on startup. The injection fails on WebSphere AS 8, because KieSession cannot be created as kmodule hasn't been parsed appropriately. Take a look at the classpath protocol wsjar:file, which I believe is the reason pom.properties (and others) cannot be loaded: INFO org.drools.compiler.kie.builder.impl.ClasspathKieProject - Found kmodule: wsjar:file:/opt/IBM/WAS/8.5.5/profiles/AppSrv01/installedApps/vmg64Node01Cell/kie-cdi-war-web-app-1_0_0-SNAPSHOT_war.ear/kie-cdi-war-web-app-1.0.0-SNAPSHOT.war/WEB-INF/lib/kie-cdi-war-kie-module-1.0.0-SNAPSHOT.jar!/META-INF/kmodule.xml Version-Release number of selected component (if applicable): BRMS-6.0.0.CR2 Steps to Reproduce: 1. build the attached reproducer as a maven project 2. deploy kie-cdi-war-example/web-app/target/kie-cdi-war-web-app*.war to WebSphere 8 3. start the application, observe server logs