You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/04/08 13:17:00 UTC

[jira] [Commented] (AMQ-8220) Compatibility issue of 5.16.1 with Java 16

    [ https://issues.apache.org/jira/browse/AMQ-8220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317189#comment-17317189 ] 

Jean-Baptiste Onofré commented on AMQ-8220:
-------------------------------------------

It seems a missing {{--add-opens}} in {{bin/activemq}}.

> Compatibility issue of 5.16.1 with Java 16
> ------------------------------------------
>
>                 Key: AMQ-8220
>                 URL: https://issues.apache.org/jira/browse/AMQ-8220
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.16.1
>            Reporter: Jiri Formanek
>            Priority: Major
>
> After switch to new Java version 16 ActiveMQ stopped to work. Better said broker network stopped to work. Connections to other servers is opened and immediately stopped because of following error (that is repeating again and again);
> {quote}2021-04-08 13:11:21,198 | INFO | Network connection between vm://localhost#74736 and HTTP Reader https://rsas8.kstm.labornetz.net:1043 (localhost) has been established. | org.apache.activemq.network.DemandForwardingBridgeSupport | triggerStartAsyncNetworkBridgeCreation: remoteBroker=HTTP Reader https://rsas8.kstm.labornetz.net:1043, localBroker= vm://localhost#74736
> 2021-04-08 13:11:21,212 | WARN | Network connection between vm://localhost#74736 and HTTP Reader https://rsas8.kstm.labornetz.net:1043 shutdown due to a remote error: com.thoughtworks.xstream.converters.ConversionException: No converter available
> ---- Debugging information ----
> message : No converter available
> type : java.util.concurrent.atomic.AtomicLong
> converter : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
> message[1] : Unable to make field private static final long java.util.concurrent.atomic.AtomicLong.serialVersionUID accessible: module java.base does not "opens java.util.concurrent.atomic" to unnamed module @29caf222
> ------------------------------- | org.apache.activemq.network.DemandForwardingBridgeSupport | triggerStartAsyncNetworkBridgeCreation: remoteBroker=HTTP Reader https://rsas8.kstm.labornetz.net:1043, localBroker= vm://localhost#74736
> 2021-04-08 13:11:21,213 | WARN | Network connection between vm://localhost#74736 and HTTP Reader https://rsas8.kstm.labornetz.net:1043 shutdown due to a remote error: java.io.IOException: Failed to perform GET on: https://rsas8.kstm.labornetz.net:1043 as response was: HttpResponseProxy\{HTTP/1.1 500 Internal Server Error [Date: Thu, 08 Apr 2021 11:11:21 GMT, Server: Jetty(9.4.35.v20201120), Strict-Transport-Security: max-age=31536000; includeSubDomains, Vary: Accept-Encoding,User-Agent, X-XSS-Protection: 1; mode=block, X-Frame-Options: DENY, Connection: close, Content-Type: text/html] org.apache.http.client.entity.DecompressingEntity@735e13b5} | org.apache.activemq.network.DemandForwardingBridgeSupport | ActiveMQ Transport: HTTP Reader https://rsas8.kstm.labornetz.net:1043
> 2021-04-08 13:11:21,214 | INFO | Connector vm://localhost stopped | org.apache.activemq.broker.TransportConnector | ActiveMQ BrokerService[localhost] Task-1044
> 2021-04-08 13:11:21,214 | INFO | localhost bridge to localhost stopped | org.apache.activemq.network.DemandForwardingBridgeSupport | ActiveMQ BrokerService[localhost] Task-1044
> {quote}
> It seems that is incompatibility with Java 16 especially this message:
> {{Unable to make field private static final long java.util.concurrent.atomic.AtomicLong.serialVersionUID accessible: module java.base does not "opens java.util.concurrent.atomic" to unnamed module @29caf222}}
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)