Hi, I am trying to encrypt the password in windows for my Jboss 4.2.3.GA using the folloing command and getting the error message saying that ClassNotFoundException.
Command:
java -cp "lib/jboss-jmx.jar;lib/jboss-common.jar;server/ default/lib/jboss-jca.jar;server/default/lib/jbosssx.jar" org.jboss.resource.security.SecureIdentityLoginModule password
Error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/resource/se
curity/SecureIdentityLoginModule
Caused by: java.lang.ClassNotFoundException: org.jboss.resource.security.SecureI
dentityLoginModule
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.jboss.resource.security.SecureIdentityLoginMo
dule. Program will exit.
Can somebody pls help me out?
Thanks
San