Bug 1110208

Summary: WAS: CNFE org.apache.http.conn.scheme.SchemeSocketFactory when building a project in BRMS
Product: [Retired] JBoss BRMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Alexandre Porcelli <porcelli>
Status: CLOSED CURRENTRELEASE QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.2CC: kverlaen, mbiarnes, rrajasek, rzhang
Target Milestone: CR2   
Target Release: 6.0.2   
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:54: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 Flags
error stacktrace none

Description Radovan Synek 2014-06-17 08:50:54 UTC
Created attachment 909483 [details]
error stacktrace

Description of problem:
CNFE being thrown by kie-ci when building a project on BRMS WAS distribution. This is probably caused by missing httpclient library in BRMS, although the library is present in BRMS WAS distro. For EAP, httpclient is a part of EAP modules.

Comment 1 Radovan Synek 2014-06-17 08:57:35 UTC
Sorry for a mistake - the httpclient is present in BPMS WAS distribution, but is _NOT_ present in BRMS WAS distribution. So far we have tested with BRMS only.

Also is worth to mention that only projects containing dependencies have described problem.

Comment 2 Ryan Zhang 2014-06-18 04:23:25 UTC
I think there are two things need to fix after checking the assembly code in kie-wb-distributions.
1) Not exclude  httpclient and httpcore in [1] for it seeems that kie-drools-wb for WAS distribution requires the httpcore and httpclient. And they already have included in kie-wb for WAS distributions. 
2) There is typo for:
 <exclude>WEB-INF/lib/httpcore_*.jar</exclude>
It should be httpcore-* instead of httpcore_ in all assembly script in kie-wb-distributions


[1]:https://github.com/jboss-integration/kie-wb-distributions/blob/6.0.x/kie-drools-wb/kie-drools-wb-distribution-wars/src/main/assembly/assembly-kie-drools-wb-websphere-as-8_5.xml#L203

Comment 3 Alexandre Porcelli 2014-06-18 14:08:24 UTC
All dependencies were reviewed and updated in kie-wb-distributions repository:

(6.0.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/364d0a713
(6.1.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/014093d03
(master) http://github.com/droolsjbpm/kie-wb-distributions/commit/eda22a445

Comment 4 Michael 2014-06-18 16:08:40 UTC
Cherry picked to 6.0.2ER3: commit 710dd5c4a79424958df6753429ff348666ef1d33

Comment 6 Radovan Synek 2014-06-20 10:27:12 UTC
Verified with BRMS-6.0.2.CR2