This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jython and Websphere wsadmin escape issue

 
Vlada Stankovic
Greenhorn
Posts: 14
Java MySQL Database Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have problem setting namespace binding properties from Jython using wsadmin. I read properties from xyz.properties file and set those values to websphere Problem occurs when my .properties file contains special characters like ], [, ", '

Example xyz.properties

vlada2=asd'" vlada3=asd[

WASX7017E: Exception received while running file "blabla.py"; 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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic