Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-8220

Compatibility issue of 5.16.1 with Java 16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.16.1
    • 5.16.2, 5.17.0
    • None
    • None

    Description

      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);

      2021-04-08 13:11:21,198 | INFO | Network connection between vm://localhost#74736 and HTTP Reader https://xxxx:1043 (localhost) has been established. | org.apache.activemq.network.DemandForwardingBridgeSupport | triggerStartAsyncNetworkBridgeCreation: remoteBroker=HTTP Reader https://xxx:1043, localBroker= vm://localhost#74736
      2021-04-08 13:11:21,212 | WARN | Network connection between vm://localhost#74736 and HTTP Reader https://xxx: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://xxx:1043, localBroker= vm://localhost#74736
      2021-04-08 13:11:21,213 | WARN | Network connection between vm://localhost#74736 and HTTP Reader https://xxx:1043 shutdown due to a remote error: java.io.IOException: Failed to perform GET on: https://xxx:1043 as response was: HttpResponseProxy

      Unknown macro: {HTTP/1.1 500 Internal Server Error [Date}

      | org.apache.activemq.network.DemandForwardingBridgeSupport | ActiveMQ Transport: HTTP Reader https://xxx: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

      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

       

       

       

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jiri.formanek@atos.net Jiri Formanek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m