activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: exception while launching my application with JRE9 when it tries to establish a secure socket connection with activemq
Date Tue, 14 Nov 2017 14:10:06 GMT
Try launching the JRE with a --add-exports option for that class. We need
to get away from the sun.* classes (would you be willing to write a JIRA
bug to request that?), but in the mean time I believe that flag will get
you past the problem.

Tim

On Nov 14, 2017 2:40 AM, "mprakash" <MPrakash@infinera.com> wrote:

Hi,
Getting the below exception when using JRE 9.
Is support for JRE9 available in activemq?

ERROR | Could not set property host on 46cd1b26[SSL_NULL_WITH_NULL_NULL:
Socket[unconnected]]
java.lang.IllegalAccessException: class
org.apache.activemq.util.IntrospectionSupport cannot access class
sun.security.ssl.SSLSocketImpl (in module java.base) because module
java.base does not export sun.security.ssl to unnamed module @5e028a15
        at
java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Unknown
Source)
        at java.base/java.lang.reflect.AccessibleObject.checkAccess(Unknown
Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.activemq.util.IntrospectionSupport.setProperty(
IntrospectionSupport.java:175)
        at
org.apache.activemq.util.IntrospectionSupport.setProperties(
IntrospectionSupport.java:151)
        at
org.apache.activemq.transport.tcp.SslTransport.<init>(SslTransport.java:72)
        at
org.apache.activemq.transport.tcp.SslTransportFactory.createTransport(
SslTransportFactory.java:122)
        at
org.apache.activemq.transport.TransportFactory.doConnect(
TransportFactory.java:120)
        at
org.apache.activemq.transport.TransportFactory.connect(
TransportFactory.java:65)
        at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(
ActiveMQConnectionFactory.java:331)
        at
org.apache.activemq.ActiveMQSslConnectionFactory.createTransport(
ActiveMQSslConnectionFactory.java:120)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(
ActiveMQConnectionFactory.java:346)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(
ActiveMQConnectionFactory.java:304)
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(
ActiveMQConnectionFactory.java:244)

Regards,
Monica



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message