ClassNotFoundException: org.jboss.messaging.util.SecurityUtil

Solution Verified - Updated -

Issue

  • We see the following exception when trying to encrypt the sucker password:
java -cp jboss-messaging-client.jar org.jboss.messaging.util.SecurityUtil CLEARTEXTPASSWORD
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/messaging/util/SecurityUtil
Caused by: java.lang.ClassNotFoundException: org.jboss.messaging.util.SecurityUtil
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.jboss.messaging.util.SecurityUtil.  Program will exit.

Environment

  • JBoss Enterprise Application Platform
    • 5.0.0
    • 5.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content