[JBoss JIRA] (ELY-1708) java.lang.NoSuchFieldError: state on jdk 1.8.0_191
by Martin Choma (Jira)
[ https://issues.jboss.org/browse/ELY-1708?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1708:
------------------------------
Summary: java.lang.NoSuchFieldError: state on jdk 1.8.0_191 (was: java.lang.NoSuchFieldError: state on oracle jdk 1.8.0_191)
> java.lang.NoSuchFieldError: state on jdk 1.8.0_191
> --------------------------------------------------
>
> Key: ELY-1708
> URL: https://issues.jboss.org/browse/ELY-1708
> Project: WildFly Elytron
> Issue Type: Bug
> Components: SSL
> Affects Versions: 1.7.0.CR3
> Reporter: Martin Choma
> Priority: Blocker
>
> - on oracle java version "1.8.0_181" it was ok on oracle java version "1.8.0_191" it fails
> - I have checked oracle jdk 1.8.0_191 release notes and this seems relevant to this issue https://bugs.java.com/view_bug.do?bug_id=JDK-8074462
> - I have seen so far only in FIPS TS (BC and PKCS11)
> - I dont see on openjdk
> - I dont see on oracle jdk 11
> - I have reported to oracle but get no link to issue tracker back. They just told me "We will contact you if needed" :)
> - similar problem https://youtrack.jetbrains.com/issue/JT-49978
> {noformat}
> 21:19:11 java.lang.NoSuchFieldError: state
> 21:19:11 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:198)
> 21:19:11 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
> 21:19:11 at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
> 21:19:11 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
> 21:19:11 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
> 21:19:11 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
> 21:19:11 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
> 21:19:11 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
> 21:19:11 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (LOGMGR-209) NoSuchAlgorithmException in SocketHandlerTests on IBM JDK
by James Perkins (Jira)
[ https://issues.jboss.org/browse/LOGMGR-209?page=com.atlassian.jira.plugin... ]
James Perkins commented on LOGMGR-209:
--------------------------------------
It seems regenerating the keys using the IBM JDK works on both OpenJDK, Oracle JDK and the IBM JDK.
> 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
>
> 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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (LOGMGR-209) NoSuchAlgorithmException in SocketHandlerTests on IBM JDK
by James Perkins (Jira)
[ https://issues.jboss.org/browse/LOGMGR-209?page=com.atlassian.jira.plugin... ]
James Perkins reassigned LOGMGR-209:
------------------------------------
Assignee: James Perkins
> 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
>
> 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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFCORE-4198) Remove org.dom4j dependency from the org.jboss.log4j.logmanager module
by James Perkins (Jira)
James Perkins created WFCORE-4198:
-------------------------------------
Summary: Remove org.dom4j dependency from the org.jboss.log4j.logmanager module
Key: WFCORE-4198
URL: https://issues.jboss.org/browse/WFCORE-4198
Project: WildFly Core
Issue Type: Task
Components: Logging
Reporter: James Perkins
Assignee: James Perkins
For some reason a {{org.dom4j}} dependency was added to the {{org.jboss.log4j.logmanager}} module. This was marked as option and doesn't seem to be used in log4j so it should be removed. My guess would be the {{java.xml}} module now covers the required implementation.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months