Use the "\20" character sequence for spaces in wsadmin commands

Technote (troubleshooting)


If you enter a user ID or password with spaces in the catalog service domain wsadmin commands, insert the "\20" character sequence for the spaces.


If you do not use the character sequence for the user ID and password, the input values are parsed incorrectly. For example, the resulting user name for the entry "Test user" might be "Test."

Resolving the problem

When you enter the values with the wsadmin tool, use \20 in place of spaces. For example: Test\20User

$AdminTask createXSDomain {-name TestDomain -default true -defineDomainServers 
{{ "" ,2809}} -configureClientSecurity {-securityEnabled false 
-credentialAuthentication Required -authenticationRetryCount 0 
-credentialGeneratorProps "Test\20User Test\20User\20Pwd"}}

In the WebSphere Application Server administrative console, the escape characters are not required. Enter spaces as spaces. For example: Test User.

Cross reference information
Segment Product Component Platform Version Edition
Application Servers WebSphere eXtreme Scale General AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS Edition independent

Document information

More support for:

WebSphere DataPower XC10 Appliance

Software version:


Operating system(s):


Reference #:


Modified date:


Translate my page

Content navigation