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 →

WASX7017E: Exception received while running file “C:/scripts/audit-wmq.py”; exception information: com.ibm.ws.scriping.ScriptingException: WASX7080E: Invalid attributes specified for type “MQQueue” — “queueName” This error occurs when you are using AdminConfig to modify an MQQueue in WAS. Problem is you have used the wrong property. When you use AdminTask functions thay often change the names of the properties and.. read more →

 Ths class below was created to manage JVMs. To create, update or delete JVM properties, and add custom props. It is designed using an OO approach and imlpements Log4J for logging.  

read more →

When testing a jython script create JVM custom properties in WebSphere Application Server version 8, I have the following issue:

Reason: Well my code was using “property” instead of “property” when calling AdminConfig.create for example AdminConfig.create(‘property’, jvmId, attrib) as opposed to AdminConfig.create(‘Property’, jvmId, attrib) 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 →

Very Basic example of a Jython File-Handler class read more →

Some simple concepts that help with using Jython to deploy applications. When installing an application and you want to know all the options for binding resources and virtual hosts etc in your Jython script, the quickest way to learn is to record a deployment using the console. In my example I am using WebSphere Application.. 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 coding some jython I get the following error: Solution: In this example, I had declared in my classes instance variable but it had a syntax error. AttributeError: instance of ‘JVMModifier’ has no attribute ‘_JVMModifier__eJFN’. What this means Is that the class called JVMModifier has an attribute or class instance variable that does not exist… read more →