Red Hat Bugzilla – Bug 976799
Slash escaping in add vault command on Windows
Last modified: 2014-08-14 11:17:34 EDT
Title: Configure the JBoss Enterprise Application Platform to Use the Password Vault
Describe the issue:
In the documentation it supplies an example of the command to add a password vault in Linux. I am using windows, so the file separator is "\" instead of "/". This causes issues with some of the jboss-cli commands as the "\" need to be escaped.
In the case of the add vault command you must double escape the slashes, so "\" becomes "\\\\" (4 in total).
Suggestions for improvement:
The escaping is fine, but can the documentation be updated to let users know this is a requirement when using Windows, it took me a while to figure out it was the escaping that was giving me problems with the command.
I added the following in a note:
If you use Microsoft Windows, replace each <literal>/</literal> character in a filename or directory path with four <literal>\</literal> characters. This is because it should be two <literal>\</literal> characters, each escaped. This does not need to be done for other <literal>/</literal> characters.
Let me know if this works for you.
The text has been corrected and it now available for QE at . When validating this change, first confirm that you're viewing revision 1.0-58 or later.
Verification failed. The point 2 from comment #4 is still not fixed. (/ -> \)
Replace the current text with something like:
If you use Microsoft Windows Server, in the CLI command, escape each \ character in a directory path with an additional \ character (e.g. "C:\\data\\vault\\vault.keystore"). This is because single \ character is used for character escaping.
This can be verified at the following locations:
Note from comment 7 was added. Verified on stage in Administration and Configuration Guide in Revision 6.3.0-24 and in Development Guide in Revision 6.3.0-20.