When running a Jython script used to configure WebSphere eXtreme Scale I got the following error: connecting to Deployment Manager… WASX7209I: Connected to process “dmgr” on node dmgrMnode using SOAP connector; The type of process is: DeploymentManager WASX7017E: Exception received while running file “/var/was/scripts/configuration_management/Config-test-wxs-aix.py”; exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (innermost last): (no code.. read more →

When runnnig a Jython script, I got the following error: WASX7017E: Exception received while running file “C:/scripts/jvmManager/manageJVM.py”; exception information: com.ibm.ws.scripting.ScriptingException: Invalid object name: /Cell:myCell01/Node:myNode01/Server:Server1/JavaProcessDef:/JavaVirtualMachine Reason: As you can see by my code below, I have did not terminate the string correctly. This means the appropriate MBean cannot be resolved due to an incorrect config id.. read more →

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,.. read more →

When running Jython code I get the following error. The solution is simply that the Jython string has an extra ” in the code. x += indent*3 + ‘print “@ClassName@: Saving configuration after setting new attributes“‘ read more →

When federating a node to a cell using the addNode.bat or addNode.sh command you get the following error: ADMU0027E: An error occurred during federation ADMU0034E The solution is to add the profile with a unique cell name. I had created a new node profiel using the addNode command, however I had neglected to incoude the.. read more →

When running a WAS jython script you get the following error:

  In this example screen shot below you can see that the elif statement has been indented by one space too much. It is wise to use a text editor which provides and option to show tabs and space characters, so you can.. read more →

Result: read more →

When running a jython script in wsadmin.bat/.sh we get this error: SyntaxError: Lexical error A common reason is missing “quotes”. As you can see by this error column 35 has an error and a carriage return was found before the end quote. The fix is to add a set of quotes. Problem code:

 .. read more →

Error located in Jython MBean script

This error occurs when you try to import a WAS MBean object as opposed to Jython object. This error may occur when you inadvertently delete a new line or copy/paste error. EXample Error Code:

Solution:

read more →