[
https://issues.apache.org/jira/browse/AMQ-8275?focusedWorklogId=650525&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-650525
]
ASF GitHub Bot logged work on AMQ-8275:
---------------------------------------
Author: ASF GitHub Bot
Created on: 14/Sep/21 11:57
Start Date: 14/Sep/21 11:57
Worklog Time Spent: 10m
Work Description: jgallimore opened a new pull request #711:
URL: https://github.com/apache/activemq/pull/711
This PR avoids the need to use reflection to explicitly set the hostname on
the socket, instead providing the hostname via a SSLParameter. I have tested
this using a HAProxy proxy server to route requests from a client to a broker
based on the host name.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 650525)
Remaining Estimate: 0h
Time Spent: 10m
> Java 16 SSL connection gives an error in the log
> ------------------------------------------------
>
> Key: AMQ-8275
> URL: https://issues.apache.org/jira/browse/AMQ-8275
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.16.2
> Reporter: Evgeni Gordeev
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 2021-05-21 13:53:37.775 ERROR [Row Crops - Integration,,] 449 --- [
> main] o.a.activemq.util.IntrospectionSupport : Could not set property host
> on Socket[unconnected]2021-05-21 13:53:37.775 ERROR [Row Crops -
> Integration,,] 449 --- [ main]
> o.a.activemq.util.IntrospectionSupport : Could not set property host on
> Socket[unconnected]
> java.lang.reflect.InaccessibleObjectException: Unable to make public void
> sun.security.ssl.SSLSocketImpl.setHost(java.lang.String) accessible: module
> java.base does not "exports sun.security.ssl" to unnamed module @636b3685 at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
> at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
> at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
> at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at
> org.apache.activemq.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:179)
> at
> org.apache.activemq.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:155)
> at
> org.apache.activemq.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:140)
> at
> org.apache.activemq.transport.tcp.SslTransport.<init>(SslTransport.java:81)
> 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.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:346)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:304)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:244)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)