When running a Jython script that I was writing to manage Custom JVM Properties, I experiecned the following error:
WASX7017E: Exception received while running file “C:/scripts/jvmManager/manageJVM.py”; exception information: com.ibm.bsf.BSFException: exce
ption from Jython:
Traceback (innermost last):
(no code object) at line 0
File “<string>”, line 290
logger.debug(“DEBUG: server bean id not located, exiting listCustomProps)
^
SyntaxError: Lexical error at line 290, column 86. Encountered: “\r” (13), after : “”
Reason:
This was because I had forgot to add the clogni “double quote” as you can see the error it says encounted carriage return after “” which means a ["] was missed out somewhere.