activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprakash <MPrak...@infinera.com>
Subject exception while launching my application with JRE9 when it tries to establish a secure socket connection with activemq
Date Tue, 14 Nov 2017 09:39:53 GMT
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
View raw message