Bug 1326010

Summary: KieServer controller fails to start on wildfly 8.2.x due to java.lang.IllegalAccessError
Product: [Retired] JBoss BPMS Platform 6 Reporter: Maciej Swiderski <mswiders>
Component: Kie-ServerAssignee: Edson Tirelli <etirelli>
Status: CLOSED EOL QA Contact: Karel Suta <ksuta>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.3.0CC: rrajasek
Target Milestone: CR1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:08: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:

Description Maciej Swiderski 2016-04-11 15:13:09 UTC
Description of problem:
For unknown reason when Wildfly 8.2.x (in particular weld used by it) attempts to create instance (proxy) of org.kie.workbench.common.screens.server.management.backend.runtime.AsyncKieServerInstanceManager it fails with  java.lang.IllegalAccessError due to not being able to access RemoteKieServerOperation private class of super class org.kie.server.controller.impl.KieServerInstanceManager.

looks like it might be related to some scanning done by weld to inspect internals of the parent class which causes this failure. Since this fails it makes org.kie.workbench.common.screens.server.management.backend.runtime.AsyncKieServerInstanceManager not available for injection and thus breaks both Server UI and controller capabilities.

Version-Release number of selected component (if applicable):


How reproducible:
deploy workbench on Wildfly 8.2.x and access Server UI (Rules deployments) or
when accessed controller REST api (http://localhost:8080/kie-wb/rest/controller/management/servers) error is produced

Steps to Reproduce:
1.
2.
3.

Actual results:
majority of the screen is empty

Expected results:


Additional info:

Comment 2 Edson Tirelli 2016-04-11 16:03:59 UTC
Rajesh, this is a blocker for our community release (and as so, the product as well, although the product doesn't officially test wildfly 8.2 I guess?), so we need the acks to merge this into the 6.4.x branch.

Can we please get the blocker and acks flags?

Comment 5 Karel Suta 2016-04-27 13:45:41 UTC
Verified in 6.3.0CR1