Bug 1110208 - WAS: CNFE org.apache.http.conn.scheme.SchemeSocketFactory when building a project in BRMS
Summary: WAS: CNFE org.apache.http.conn.scheme.SchemeSocketFactory when building a pro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR2
: 6.0.2
Assignee: Alexandre Porcelli
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-17 08:50 UTC by Radovan Synek
Modified: 2014-08-06 19:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:54:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error stacktrace (21.01 KB, text/plain)
2014-06-17 08:50 UTC, Radovan Synek
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.