File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Jython and Websphere wsadmin escape issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Jython and Websphere wsadmin escape issue" Watch "Jython and Websphere wsadmin escape issue" New topic

Jython and Websphere wsadmin escape issue

Vlada Stankovic

Joined: Feb 18, 2010
Posts: 10

I have problem setting namespace binding properties from Jython using wsadmin. I read properties from file and set those values to websphere Problem occurs when my .properties file contains special characters like ], [, ", '


vlada2=asd'" vlada3=asd[

WASX7017E: Exception received while running file ""; exception information: java.lang.IllegalArgumentException:

java.lang.IllegalArgumentException: WASX7122E: Expected "]" not found.

Attribute=stringToBind had invalid value=asd\ for input parameter=[stringToBind asd\'"] [nameInNameSpace "vlada1"] [name "vlada1"]

Script source code

I agree. Here's the link:
subject: Jython and Websphere wsadmin escape issue
Similar Threads
Jython code not working for Horizontal Clustering
Brackets "}" in server.xml through .jacl scripts
Dynamic enabling/disabling of tracing
WAS 6.1 Server Creation
Deployment of ear without using admin console