Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25318

[GSS](7.4.z) wildfly-jms-client-bom missing some netty dependencies

XMLWordPrintable

    • False
    • None
    • False
    • ?
    • Workaround Exists
    • Hide

      Only solution is to add following dependency in client code:

      <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-transport-native-unix-common</artifactId>
      </dependency>

      Show
      Only solution is to add following dependency in client code: <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-unix-common</artifactId> </dependency>
    • Hide

      To reproduce, use modified Helloworld-jms quickstart and standalone-full.xml attached.

      Show
      To reproduce, use modified Helloworld-jms quickstart and standalone-full.xml attached.
    • Important

      This is affecting EAP 7.4.11, but this issue started in EAP7.4.5. Between EAP 7.4.4 and 7.4.5, wildfly-jms-client-bom.pom netty dependencies changed from including netty-all to only some necessary netty artifacts. As a result, client code that connect to broker using SSL will not work when only dependency is wildfly-jms-client-bom. The following error is thrown by the client:

      java.lang.ClassNotFoundException: io.netty.channel.unix.UnixChannel
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

        1. bom-pom.xml
          28 kB
        2. helloworld-jms-missing-netty.zip
          29 kB
        3. server.keystore
          4 kB
        4. standalone-full.xml
          33 kB

              thofman Tomas Hofman
              rhn-support-abelkour Mohamed Amine Belkoura
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: