Sunday, 15 August 2010

uncheck debug mode in Websphere Aplication Server through script -



uncheck debug mode in Websphere Aplication Server through script -

i need uncheck websphere aplication server debug mode through script,i'm 7.0 server running on windows 2008r2 64bit.

you should run wsadmin in profile bin directory:

wsadmin.bat -lang jython -user *** -password ***

and in wsadmin promt:

admintask.setjvmproperties('[-nodename node01 -servername server1 -debugmode false]') adminconfig.save()

substituting node , server name, , select true of false.

and can run script file. add together 2 lines to, e.g. debugoff.py , phone call as

wsadmin.bat -lang jython -user *** -password *** -f [real-path-to]/debugoff.py

websphere websphere-7

No comments:

Post a Comment