[jboss-user] [JNDI and Naming] - Re: Password encryption

sansate do-not-reply at jboss.com
Tue May 10 15:52:30 EDT 2011


sansate [http://community.jboss.org/people/sansate] created the discussion

"Re: Password encryption"

To view the discussion, visit: http://community.jboss.org/message/604554#604554

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/604554#604554]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110510/053e7dca/attachment.html 


More information about the jboss-user mailing list