0

Please help with getting IBM HTTP Server version from wsadmin (jython) script.

The ISC webconsole displays webserver versions but I'm not able to fetch this in scripts.

For WebSphere we can use

AdminTask.getNodeBaseProductVersion('[-nodeName ' + nname +']')

that returns version for WebSphere ND itself

or get mbeans by

AdminControl.invoke and serverVersion object

What would be the equivalent for "webserver" object?

Also, we need to get version from primary (dmgr) node and remote node as well so launching OS query like:

/opt/IBM/HTTPServer/bin/versionInfo.sh

or executing other external scripts from OS (Linux/Windows) is NOT an option.

Appreciate your help, thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.