Quantcast
Channel: WebSphere Blog by Steve Robinson » Jython
Browsing all 10 articles
Browse latest View live

AttributeError: instance of ‘Class’ has no attribute...

When coding some jython I get the following error: C:\scripts>"C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.bat" -lang jython -f "C:/scripts/jvm. py"...

View Article



syntaxError: Lexical error at line

When running Jython code I get the following error. C:\scripts>"C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.bat" -lang jython -f "C:/scripts/gen.py" "c:/scripts/gen.props"...

View Article

Image may be NSFW.
Clik here to view.

Deploying using Jython

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...

View Article

WebSphere Jython Examples – File Handler Class

Very Basic example of a Jython File-Handler class Jython File Handler Class class FileHandler : def __init__(self, fileName) : self.fileName = fileName return #endDef # a file exists if you can open...

View Article

Jython Websphere Error – Encountered: “\r” (13), after “”

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...

View Article


Invalid object name :/JavaVirtualMachine – Websphere Jython Example – Error

When runnnig a Jython script, I got the following error: WASX7017E: Exception received while running file “C:/scripts/jvmManager/manageJVM.py”; exception information:...

View Article

WebSphere Jython Examples: – Error – Cannot create objects of type “property”...

When testing a jython script create JVM custom properties in WebSphere Application Server version 8, I have the following issue: WASX7017E: Exception received while running file...

View Article

WebSphere Jython to set JVM properties – WebSphere Jython Example – Class

 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.  #Import Java...

View Article


WASX7080E: Invalid attributes specified for type “MQQueue”—“queueName”

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” —...

View Article


UnicodeError: unicode escape decoding error: truncated \xXX

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...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images