Microsoft
Software
Hardware
Network
Question : Jython Script - Update WebSphere JVM System Properties (jvm custom properties)
I'm looking for a jython script to be used on a base install of WebSphere 7 using the AdminAgent. It needs to have two methods that would do the following:
1) delete all JVMSystemProperties (the ones listed under Application servers > <JVMName> > Process definition > Java Virtual Machine > Custom properties).
2) then read a properties file that has the name/value pairs to add new JVMSystemProperties. The file will have multiple properties, with the values for each on per line.
I would be passing the following variables from a shell script to call the .py file.
serverName (JVM)
propFile (this would be the full path and file name of the file containing the properties)
The properties file would look something like this, with tabs between the three items - and where there may or may not be a propDesc listed.
<JVMName>.properties - this is the file name, below are the contents.
prop1 prop1Value prop1Desc
prop2 prop2Value prop2Desc
prop3 prop3Value
prop4 prop4Value prop4Desc
If you are up to this task, and have an questions please let me know.
Answer : Jython Script - Update WebSphere JVM System Properties (jvm custom properties)
Something like this perhaps?
setJVMproperties.py.txt
(7 KB)
(File Type Details)
setJVMproperties.py
Random Solutions
Firebird : to get data types of all fields in user tables
New user setup in exchange 2007
NETWARE 5.1 - HOW TO RUN MULTIPLE FRAME TYPES
Need to lock down SMTP traffic - Urgent!
Reusing a C++ object on a new call to a "main" method.
Journaling for Exchange 2003
Sending multi lines email by Linux sendemail script
trying to write an if/else statement can someone clean this up..doesnt work...
find and replace characters within a feild or cell
is it possible to connect a mobile phone (of any type) to my PC and have any incoming sms messages received and processed by the pc.