[jboss-jira] [JBoss JIRA] (WFLY-4259) ClassNotFound exception when connecting a remote HornetQ client over SSL

Jon Kranes (JIRA) issues at jboss.org
Fri Jan 16 16:09:49 EST 2015


Jon Kranes created WFLY-4259:
--------------------------------

             Summary: 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.2.0.Final, 8.1.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.

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.







--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list