If you get the following Jython NameError in wsadmin scripting , it means you have not imported the Java lib.

WASX7017E: Exception received while running file “/root/scripts/wasscripts/manageCell.py”; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File “<string>”, line 776, in ?
NameError: Properties

Solution:

from java.util import Properties

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply