Example test cases fail on IBM JVM due to lacking SSL algorithms
----------------------------------------------------------------
Key: DIRMINA-219
URL: http://issues.apache.org/jira/browse/DIRMINA-219
Project: Directory MINA
Type: Bug
Versions: 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build
pxp32devifx-20060310 (SR1))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223ifx-20060310
(JIT enabled)
J9VM - 20060220_05389_bHdSMR
JIT - 20060220_2133_r8
GC - 20060214_AA)
JCL - 20060222a
Reporter: Alex Karasulu
Fix For: 0.9.5
The example test cases for the AcceptorTest and ConnectorTest fail due to not
finding SSL algorithm on IBM JVM:
-------------------------------------------------------------------------------
Test set: org.apache.mina.examples.echoserver.AcceptorTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.422 sec <<<
FAILURE!
testTCP(org.apache.mina.examples.echoserver.AcceptorTest) Time elapsed: 3.079
sec <<< ERROR!
java.security.GeneralSecurityException: Can't create Server
SSLContext:java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory
not available
at
org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory.getInstance(BogusSSLContextFactory.java:89)
at
org.apache.mina.examples.echoserver.AbstractTest.setUp(AbstractTest.java:87)
at junit.framework.TestCase.runBare(TestCase.java:125)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira