I am trying readApplication operation (https://www-304.ibm.com/support/docview.wss?uid=swg24023347) in manageODC.py script, but I cannot figure out how to use it.
I am using WAS ND 126.96.36.199 + WVE 188.8.131.52.
First, I deployed DefalutApplication.ear on a certain application server and confirmed it operates properly.
Then, I made corrupted the ODC information using modifyODCProperty operation in manageODC.py and successfully it made 503 error without stopping the application server nor the application.
So I would like to refresh ODC information using readApplication operation but InfoCenter nor manageODC.py's help message provides how to use it.
Does someone know how to use readApplication operation in manageODC.py?
Pinned topic How to use readApplication operation in manageODC.py?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-06-07T09:31:54Z at 2011-06-07T09:31:54Z by babatch
TomPatterson 2700048X0X2 Posts
Re: How to use readApplication operation in manageODC.py?2011-06-06T16:00:51ZThis is the accepted answer. This is the accepted answer.The arguments that must be passed into manageODC.py for the readApplication operation are listed below.
readApplication <applicationName> [<editionName>] <nodeName> <serverName>
applicationName is the name of the application to read or reread from the config repository
editionName is the optional name of the edition of the application to read or reread from the config repository
nodeName is the name of the WebSphere node containing the server which will perform the read
serverName is the name of the server to perform the read
However I have a couple of concerns. There are two flavors of manageODC.py, one provided by ND and one provided by VE; both are named identically. The ND version of manageODC.py does not support the readApplication operation while the VE version does. If the contents of manageODC.py does not contain references to the string readApplication I suspect your using the ND version. If there are no references to readApplication in the script has the profile where your invoking this command been augmented with WVE? If the profile has been augmented and the manageODC.py still has no references to the readApplication string can you provide the order in which WAS, WVE, and the corresponding fix packs where installed? A list of any ifixes that have been applied may also be useful.
Generally ODC problems that can be corrected by the readApplication operation result in 404 errors being returned by the ODR not 503s. Would it be possible to provide the arguments that were passed into the modifyODCProperty operation which resulted in the ODR returning 503s for the requests destined for the application?
babatch 0100003C9F5 Posts
Re: How to use readApplication operation in manageODC.py?2011-06-07T09:31:54ZThis is the accepted answer. This is the accepted answer.
- TomPatterson 2700048X0X
I have tried below at /opt/IBM/WebSphere/AppServer/bin where DefaultApplication is deployed on server2.
- ./wsadmin.sh -lang jython -f manageODC.py readApplication DefaultApplication wvedg01Node01 server2
but "Unsupported operation" returned.
My admin console shows as attached, so I think my WAS ND environment is augmented properly by WVE.
The output of versionInfo is below. No ifix is installed.
root@wvedg01 bin# ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 184.108.40.206, dated 8/9/08
IBM WebSphere Application Server Product Installation Status Report
Report at date and time June 7, 2011 6:22:10 PM JST
Product Directory /opt/IBM/WebSphere/AppServer
Version Directory /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /opt/IBM/WebSphere/AppServer/logs
Backup Directory /opt/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory /tmp
Name IBM WebSphere Virtual Enterprise
Build Level cf31047.61043
Build Date 11/18/10
Architecture Intel (32 bit)
Name IBM WebSphere Application Server - ND
Build Level cf151107.06
Build Date 2/15/11
Architecture Intel (32 bit)
End Installation Status Report
This is the command line which caused 503, where DefaultApplication is deployed on server2 and properly worked until I tried modifyODCProperty.
- ./wsadmin.sh -lang jython -f manageODC.py modifyODCProperty /cell/wvedg01Cell01/node/wvedg01Node01/server/server2 state 1::STOPPED wvedg01Node01 server2
Do you have any idea what I should do / check next?