I think the documentation wasn't updated when the new CLI "mask" command
was added.  Try using this command:

  $ ./artemis mask <password>

This should be equivalent to the old command, just easier to use.  You can
still use the old command mentioned in the documentation if you wish, but
you'll need to specify all the required jars on the classpath.


Justin

On Fri, Jun 30, 2017 at 7:53 AM, igge47 <igna_gar...@hotmail.com> wrote:

> Hi Howard,
>
> Thanks for the answer. I have gone through the documentation, and I try to
> run the decoder. Nevertheless, I get this error:
>
> [root@serverName lib]# java -cp
> artemis-commons-2.0.0.amq-700005-redhat-1.jar
> org.apache.activemq.artemis.utils.DefaultSensitiveStringCodec "hello"
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/logging/Logger
>         at
> org.apache.activemq.artemis.utils.DefaultSensitiveStringCodec.<clinit>(
> DefaultSensitiveStringCodec.java:49)
> Caused by: java.lang.ClassNotFoundException: org.jboss.logging.Logger
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 1 more
>
>
> Any idea why? It looked straight forward.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Encrypt-plain-text-passwords-in-AMQ7-tp4727567p4728107.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to