Troubleshooting
Problem
Your attempts to execute the Jython command AdminConfig.modify() using square brackets "[" at the beginning of value fails.
Symptom
When attempting to create or update a J2EEResourceProperty using wsadmin Jython command: AdminConfig.modify(), a java.lang.IllegalArgumentException exception is returned, if the value of the property begins with the "[" character.
For example, this command:
AdminConfig.modify('(cells/ebzCell01|resources.xml#J2EEResourceProperty_1327700267852)', '[[name "test"] [type "java.lang.String"] [description ""] [value "[]"] [required "false"]]')
produces this output:
WASX7015E: Exception running command: "AdminConfig.modify('(cells/ebzCell01|resources.xml#J2EEResourceProperty_1327700267852)', '[[name "test"] [type "java.lang.String"] [description ""] [value "[]"][required "false"]]')"; exception information:
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: WASX7123E: Unexpected "]" found.
Attribute= had invalid value= for input parameter=]
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
03 March 2025
UID
swg21587193