]
James Perkins updated LOGMGR-209:
---------------------------------
Fix Version/s: 2.2.0.Final
NoSuchAlgorithmException in SocketHandlerTests on IBM JDK
---------------------------------------------------------
Key: LOGMGR-209
URL:
https://issues.jboss.org/browse/LOGMGR-209
Project: JBoss Log Manager
Issue Type: Bug
Affects Versions: 2.1.5.Final
Reporter: Nikoleta Žiaková
Assignee: James Perkins
Priority: Major
Fix For: 2.2.0.Final
Following tests fail on IBM JDK:
{code}
org.jboss.logmanager.handlers.SocketHandlerTests#testProtocolChange
org.jboss.logmanager.handlers.SocketHandlerTests#testTlsConnection
org.jboss.logmanager.handlers.SocketHandlerTests#testTlsConfig
{code}
Error:
{code}
java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm:
Default, provider: IBMJSSE2, class: com.ibm.jsse2.aj)
{code}
Stack Trace:
{code}
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: Default, provider: IBMJSSE2, class: com.ibm.jsse2.aj)
at java.security.Provider$Service.newInstance(Provider.java:1628)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:248)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:176)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:6)
at javax.net.ssl.SSLContext.getDefault(SSLContext.java:8)
at javax.net.ssl.SSLServerSocketFactory.getDefault(SSLServerSocketFactory.java:32)
... 29 more
Caused by: java.security.KeyStoreException: IBMKeyManager: Problem accessing key store
java.io.IOException: Invalid keystore format
at com.ibm.jsse2.ah.a(ah.java:72)
at com.ibm.jsse2.aj.g(aj.java:5)
at com.ibm.jsse2.aj.<init>(aj.java:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:83)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
at java.security.Provider$Service.newInstance(Provider.java:1606)
... 34 more
{code}