Use wsadmin to obtain server version information
Query server version
Start wsadmin.sh|bat and execute...### Identify the server and assign it to the server variable.
set server [$AdminControl completeObjectName type=Server,name=server1,node=mynode,*]### Get value of serverVattribute...
$AdminControl getAttribute $server1 serverVersionserver = AdminControl.completeObjectName('type=Server,name=server1,node=mynode,*') print server
print AdminControl.getAttribute(server1, 'serverVersion')
See Also
AdminControl object for scripted administration
Using scripting (wsadmin)
Getting started with scripting
Commands for the AdminControl object