13 Replies Latest reply on Jun 11, 2014 5:04 AM by Thomas Segismont

    Custom plugin for WildFly 8 using jboss-as-7-jmx fails; ClassNotFoundException

    Elias Ross Master

      See also Bug 1099220: https://bugzilla.redhat.com/show_bug.cgi?id=1099220

       

      I fixed the plugin to use the new remoting interface. But even if I use http-jmx-remoting, the plugin fails with:

      2014-05-19 21:12:45,134 ERROR [Remoting "endpoint" I/O-1] (org.xnio.listener)- XNIO001007: A channel event listener threw an exception
      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.sasl.digest.DigestMD5Client
              at org.jboss.sasl.digest.DigestMD5ClientFactory.createSaslClient(DigestMD5ClientFactory.java:41)
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities$1.run(ClientConnectionOpenListener.java:428)
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities$1.run(ClientConnectionOpenListener.java:426)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:426)
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:196)
              at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:110)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
              at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)
      

       

      I'm guessing the answer is here: https://access.redhat.com/site/solutions/871183

       

      But anyway, since I'm putting some effort getting this to work with WildFly 8, can you throw me a bone?