You can use the middleware descriptor administrative tasks to list the middleware descriptors and versions, display or change middleware descriptor information, and modify the middleware descriptor discovery interval.
The listMiddlewareDescriptors command lists the installed middleware descriptors in your cell.
Required parameters
None
Return value
jboss_server
application_server
liberty_server
phpRuntime
customhttp_server
wasceRuntime
apacheWebServerRuntime
apache_server
weblogic_server
tomcat_server
Batch mode example usage
$AdminTask listMiddlewareDescriptors
AdminTask.listMiddlewareDescriptors()
The listMiddlewareDescriptorVersions command lists which versions have specific information provided in the middleware descriptors.
Return value
default
Batch mode example usage
$AdminTask listMiddlewareDescriptorVersions {-name wasceRuntime}
AdminTask.listMiddlewareDescriptorVersions ('[-name wasceRuntime]')
Interactive mode example usage
$AdminTask listMiddlewareDescriptorVersions {-interactive}
AdminTask.listMiddlewareDescriptorVersions ([-interactive]')
The showMiddlewareDescriptorInformation command displays the contents of the specified middleware descriptor.
Return value
wasceRuntime: Discovery Interval: 4 min Version: default install.locations:win.install.loc="C:\\Program Files\\IBM\\WebSphere\\AppServerCommunityEdition;C:\\Program Files (x86)\\WebSphere\\AppServerCommunityEdition" install.locations:unix.install.loc="/opt/IBM/WebSphere/AppServerCommunityEdition" install.locations:foreign.discovery.class="com.ibm.ws.xd.agent.discovery.wasce.WASCEDiscoveryPlugin" timeOutGroup:startTimeOutValue="300000" timeOutGroup:stopTimeOutValue="300000"
Batch mode example usage
$AdminTask showMiddlewareDescriptorInformation {-name wasceRuntime}
AdminTask.showMiddlewareDescriptorInformation ('[-name wasceRuntime]')
Interactive mode example usage
$AdminTask showMiddlewareDescriptorInformation {-interactive}
AdminTask.showMiddlewareDescriptorInformation ([-interactive]')
You can use the modifyMiddlewareDescriptorProperty command to edit the middleware descriptor properties.
Return value
None.
Batch mode example usage
$AdminTask modifyMiddlewareDescriptorProperty {-name wasceRuntime -version default -propName install.locations:win.install.loc -propValue c:\blade\server1 }
AdminTask.modifyMiddlewareDescriptorProperty ('[-name wasceRuntime -version default -propName install.locations:win.install.loc -propValue c:\blade\server1]')
Interactive mode example usage
$AdminTask modifyMiddlewareDescriptorProperty {-interactive}
AdminTask.modifyMiddlewareDescriptorProperty ([-interactive]')
You can use the modifyMiddlewareDescriptorDiscoveryInterval command to modify the discovery interval of the selected middleware descriptor.
Return value
None.
Batch mode example usage
$AdminTask modifyMiddlewareDescriptorDiscoveryInterval {-name wasceRuntime -interval 5 -units seconds}
AdminTask.modifyMiddlewareDescriptorDiscoveryInterval ('[-name wasceRuntime -interval 5 -units seconds]')
Interactive mode example usage
$AdminTask modifyMiddlewareDescriptorProperty {-interactive}
AdminTask.modifyMiddlewareDescriptorProperty ([-interactive]')