-
Bug
-
Resolution: Duplicate
-
Major
-
EAP_EWP 5.1.0_CR3
-
None
-
Windows
The password_tool.bat command found in $JBOSS_HOME%\bin generates a java.lang.ClassNotFoundException:
C:\JBPAPP\jboss-eap-5.1\jboss-as\bin>password_tool.bat
**********************************
-
-
-
- JBoss Password Tool********
**********************************
Error while trying to load data:Encrypted password file not located
Maybe it does not exist and need to be created.
0: Encrypt Keystore Password 1:Specify KeyStore 2:Create Password 3: Remove a domain 4:Enquire Domain 5:Exit
0
Enter Keystore password
testpass
Enter Salt (String should be at least 8 characters)
hshdgfdjdekjdsd,md
Enter Iterator Count (integer value)
4
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/plugins/FilePassword
at org.jboss.security.integration.password.PasswordTool.main(PasswordTool.java:104)
Caused by: java.lang.ClassNotFoundException: org.jboss.security.plugins.FilePassword
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 1 more
org.jboss.security.integration.password.PasswordTool$ShutdownHook run called
Keystore is null. Cannot store.
- JBoss Password Tool********
-
-
THis exception occurs on Windows but does not occur on Linux.
It seems to be a simple classpath problem in the script.
- is related to
-
JBPAPP-4546 password_tool.bat is needed to mirror the password_tool.sh script in bin directory
- Closed