[jboss-jira] [JBoss JIRA] (WFLY-4259) ClassNotFound exception when connecting a remote HornetQ client over SSL
Jon Kranes (JIRA)
issues at jboss.org
Tue Jan 20 08:43:49 EST 2015
[ https://issues.jboss.org/browse/WFLY-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Kranes updated WFLY-4259:
-----------------------------
Description:
When using HornetQ with a remote client connecting with SSL (using a netty-connector with ssl-enabled=true) the server throws an exception in ModuleClassLoader when the client attempts to connect. The exception is:
java.lang.ClassNotFoundException: javax.net.SSLException
After doing some investigation I was able to resolve this issue by adding a dependency in the io.netty module.xml file
<dependencies>
<module name="javax.api"/>
<dependencies
Without this dependency, it appear that Netty is unable to load classes that it needs from javax.net.ssl.
was:
When using HornetQ with a remote client connecting with SSL (using a netty-connector with ssl-enabled=true) the server throws an exception in ModuleClassLoader when the client attempts to connect. The exception is:
java.lang.ClassNotFoundException: javax.net.SSLException
After doing some investigation I was able to resolve this issue by adding a dependency in the io.netty module.xml file
<dependencies>
<module name="javax.api"/>
<dependencies
Without this dependency, it appear that Netty is unable to load classes that it needs from javax.net.ssl.
NOTE: adding this dependency resolves the issue in Wildfly 8.2.0.Final. However, it does NOT resolve the issue in 8.1.0.Final. Even after adding this dependency I still got the ClassNotFoundException.
> ClassNotFound exception when connecting a remote HornetQ client over SSL
> ------------------------------------------------------------------------
>
> Key: WFLY-4259
> URL: https://issues.jboss.org/browse/WFLY-4259
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 8.1.0.Final, 8.2.0.Final
> Reporter: Jon Kranes
> Assignee: Jeff Mesnil
>
> When using HornetQ with a remote client connecting with SSL (using a netty-connector with ssl-enabled=true) the server throws an exception in ModuleClassLoader when the client attempts to connect. The exception is:
> java.lang.ClassNotFoundException: javax.net.SSLException
> After doing some investigation I was able to resolve this issue by adding a dependency in the io.netty module.xml file
> <dependencies>
> <module name="javax.api"/>
> <dependencies
> Without this dependency, it appear that Netty is unable to load classes that it needs from javax.net.ssl.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list