Created attachment 858609 [details] server log excerpt Deployment of BRMS business-central (generic deployable binaries distribution, CR2) failed with java.lang.IllegalStateException: Singleton is not set, when initializing CDI beans. Detailed server log excerpt is in the attachment. Business-central was deployed without any configuration changes. It seems as a conflict between Weld, which is bundled in business-central.war and webbeans, CDI implementation in WAS.
Created attachment 860028 [details] Server log after removing Weld libraries Attaching server log after Radovan removed weld* jars from business-central.war. It seems there is now a different problem: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.uberfire.security.impl.authz.RuntimeAuthorizationManager] is not found with the qualifiers Qualifiers: [@javax.enterprise.inject.Default()] for injection into Field Injection Point, field : org.uberfire.security.impl.authz.RuntimeAuthorizationManager org.uberfire.security.server.authz.cdi.AbstractSecurityInterceptor.authzManager
Created attachment 860266 [details] server log for drools-wb - after uberfire authManager fix and without Weld
Uberfire uses Errai and Errai uses Weld. Errai 3.x is supposed to be able to work without Weld. Before this is fixed in Errai this BZ can not be fixed.
One fix. master: https://github.com/uberfire/uberfire/commit/d78c21136 0.3.x: https://github.com/uberfire/uberfire/commit/c5d508fc7
(In reply to Toni Rikkola from comment #5) > One fix. > > master: https://github.com/uberfire/uberfire/commit/d78c21136 > 0.3.x: https://github.com/uberfire/uberfire/commit/c5d508fc7 master: https://github.com/droolsjbpm/kie-wb-distributions/commit/03a4602aa 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/dbcf63dd0
Since Toni is continuing working on this issue, I am reassigning this ticket to him.
Removed references to weld extension exclusion and using Alternative in place. (master) http://github.com/uberfire/uberfire/commit/775dba334 (0.3.x) http://github.com/uberfire/uberfire/commit/e7331c1c9
Base for was profile. master: https://github.com/droolsjbpm/kie-wb-distributions/commit/747b56907 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/07a989991
Cleaned Weld from WAS war. master: https://github.com/droolsjbpm/kie-wb-distributions/commit/5680b64c8 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/31fde73d0
More changes based on Toni's findings... (master) http://github.com/uberfire/uberfire/commit/0a9081087 (0.3.x) http://github.com/uberfire/uberfire/commit/933ebe01c (master) http://github.com/droolsjbpm/kie-wb-common/commit/db953bbf9 (6.0.x) http://github.com/droolsjbpm/kie-wb-common/commit/0ddaab0a2
Additional improvements: (master) https://github.com/uberfire/uberfire/commit/222c7d5a (master) https://github.com/uberfire/uberfire/commit/1887c1ac (0.3.x) https://github.com/uberfire/uberfire/commit/2f8487e5 (0.3.x) https://github.com/uberfire/uberfire/commit/964b2042 (6.0.x) http://github.com/droolsjbpm/droolsjbpm-build-bootstrap/commit/32ff9274d
Additional improvements, with the following we manage to get BRMS working on WAS8. (0.3.x) https://github.com/uberfire/uberfire/commit/d8303aca34 (0.3.x) https://github.com/uberfire/uberfire/commit/66e2ec758c (0.3.x) https://github.com/uberfire/uberfire/commit/cfbdfb58a3 (master) https://github.com/uberfire/uberfire/commit/48704a41f5 (master) https://github.com/uberfire/uberfire/commit/01f32e76ac (master) https://github.com/uberfire/uberfire/commit/83f339971c (6.0.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/33886d2eb Missing commits on master: (master) https://github.com/droolsjbpm/kie-wb-distributions/commit/cf1f2ab41 (master) https://github.com/droolsjbpm/kie-wb-distributions/commit/7b7ccdafe (master) https://github.com/droolsjbpm/kie-wb-distributions/commit/44657b626 (master) https://github.com/droolsjbpm/kie-wb-distributions/commit/5f75d626f note: still need to work on BPMS.
Ops.. adding back loging.jsp to master: (master) http://github.com/droolsjbpm/kie-wb-distributions/commit/94a37e7b9
Related commits on form-modeler. (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/690fbb6bdf43c5d67123779e15d31654364ff172 (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/218a7589da97cd8e41dc5b93a8e9197c4efa2be2
More updates... (master) http://github.com/droolsjbpm/jbpm/commit/ea9565529 (6.0.x) http://github.com/droolsjbpm/jbpm/commit/95e5f6753 (master) http://github.com/droolsjbpm/jbpm-console-ng/commit/86c99b03c (6.0.x) http://github.com/droolsjbpm/jbpm-console-ng/commit/7ee6638f0
More changes on form modeler: Github commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/2b3bf0aaea0c9cec3881fe10913c993f5cbf3b4e Github commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/74d3ea7d70872169548b2536079a9a494be4a431
Maciej is taking cara of it right now.
qe_test_coverage: failure of deployment, no additional test needed
here comes all commits for the work done for supporting websphere jbpm master: https://github.com/droolsjbpm/jbpm/commit/c14806943b3817a9766dc56d13f7ad75beeb7273 https://github.com/droolsjbpm/jbpm/commit/4aff9db532457642f7c3c0fe30d944938217225a 6.0.x: https://github.com/droolsjbpm/jbpm/commit/5e2d485e165ca7f5c91bf6eaa114c1513e3c75a4 https://github.com/droolsjbpm/jbpm/commit/94e3f3beb21dc6ff12d50fa587575fb45f2967ed jbpm-console-ng master: https://github.com/droolsjbpm/jbpm-console-ng/commit/b6045a0232a0a2fb8041bef1d46dffbbb9c6fe22 6.0.x: https://github.com/droolsjbpm/jbpm-console-ng/commit/c9e16205a7102db9f935a0f0e276c1b700e51f70 drools-wb master: https://github.com/droolsjbpm/drools-wb/commit/9691a792f5ae0c67491eaa4cbbfdfc3c4325233b 6.0.x: https://github.com/droolsjbpm/drools-wb/commit/2290a04b73ad036e467e03c2c02570f8021bcb10 drools: master: https://github.com/droolsjbpm/drools/commit/0eca1635f0e2046d46084e32cc723002c631e43c 6.0.x: https://github.com/droolsjbpm/drools/commit/d07d53e329da39d414b9e111444a1e18182ca736 kie-wb-disitributions: master: https://github.com/droolsjbpm/kie-wb-distributions/commit/f7181d8245691e8f291c7357226f936f9628a2e7 6.0x: https://github.com/droolsjbpm/kie-wb-distributions/commit/59f8c8c101d43a5fc55769d23f6bb64c4111fd54 uberfire master: https://github.com/uberfire/uberfire/commit/1e8f95119333a58d9ffe71b5693da0815d3c0398 0.3.x: https://github.com/uberfire/uberfire/commit/ee0b0c6bfbd9d73f69a3b38cf1a91333f2122d8d the only limitation currently still being in place for WebSphere is CDI extension used for direct injection of ksession (and kbase, container). This seems to be a WebSphere with CDI implementation: websphere forum thread: https://www.ibm.com/developerworks/community/forums/html/topic?id=92ecf4a0-eb16-49a0-95d7-eddbcd885756&ps=25 openwebbeans that is used by WebSphere for CDI does not have this issue with recent versions although not sure which version is used by WAS. That means that limitation is only when custom rules are requires for approving REST interface requests - REST interface for design time operations like build project, etc. Runtime REST is not affected by this at all. Without need to modify rules for default rest approver functionality is exactly the same for both EAP/Tomcat and WebSphere.
As it seems, every commit stated in previous comment 21 is missing in 6.0.1.CR1.
*** Bug 1079348 has been marked as a duplicate of this bug. ***
Verified with BPMS-6.0.2.ER2