|
Problem(Abstract) |
How to modify IBM® WebSphere® Application Server
environment variables that have unicode chars, using the wsadmin tool and
the Jython scripting language. |
|
|
|
Cause |
The wsadmin tool cannot recognize the specific Python
unicode-escaped string when parsing the object name with DBCS characters
while creating or modifying the config object. |
|
|
Resolving the
problem |
To workaround this issue, you can can pass the attribute
in string format (instead of passing an Object Attribute).
Passing an Object Attribute will not throw an exception, however the entry
in the variables.xml file will not be in DBCS chars and may look
something like this:
c:/twdb\351\351\351\351\351\351dadadada
wsadmin>AdminConfig.modify('(cells/CellName/nodes/Nodename|
variables.xml#VariableSubstitutionEntry_1145537844093)', [['value',
'c:/twdbééééééaaaaa']])
Passing it as a String Attribute will store the DBCS chars as mentioned in
the Jython language.
AdminConfig.modify('(cells/acappar1Node01Cell/nodes/acappar1Node01|
variables.xml#VariableSubstitutionEntry_1145537844093)', '[[value
c:/twdbééééééaaaaa]]') |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
Historical Number |
86815
49R
000 |
|
|
|
|