Bug 1054106

Summary: Intermittent failure of ExternalContextBindingTestCase
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: TestsuiteAssignee: Jan Martiska <jmartisk>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: cdewolf, kkhan, pjelinek
Target Milestone: DR0   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
https://bugzilla.redhat.com/show_bug.cgi?id=1054106#add_commentCause: Consequence: Fix: Result:
Story Points: ---
Clone Of:
: 1061618 (view as bug list) Environment:
Last Closed: 2014-06-28 15:36:59 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:
Bug Depends On:    
Bug Blocks: 1061618, 1063823    

Description Jan Martiska 2014-01-16 09:11:40 UTC
The server setup task sometimes fails to start the ApacheDS server instance because for some reason, BouncyCastle security provider doesn't get registered (it is added through a maven dependency rather than added to the JDK). This leads to a "connection refused" error during the test when it is trying to connect to the LDAP instance.

It worked for us if we just programatically forced registration of the BouncyCastleProvider before the initialization of ApacheDS.

Comment 2 Kabir Khan 2014-01-21 17:43:19 UTC
https://github.com/jbossas/jboss-eap/pull/830

Comment 3 JBoss JIRA Server 2014-01-29 12:18:28 UTC
Jan Martiska <jmartisk> updated the status of jira WFLY-2760 to Resolved

Comment 5 Pavel Jelinek 2014-02-19 13:09:52 UTC
The correct PR 852 was merged and this issue didn't happen for EAP 6.3.0 DR0 so far again.