Use scripting to configure the message listener service.
Before you begin
Before starting this task, the wsadmin tool must be running.
About this task
Complete the following steps to configure the message
listener service for an application server:
Procedure
- Identify the application server and assign it to the server
variable:
Example output:
server1(cells/mycell/nodes/mynode/servers/server1|server.xml#Server_1)
- Identify the message listener service belonging to the
server and assign it to the mls variable:
- Using Jacl:
set mls [$AdminConfig list MessageListenerService $server]
- Using Jython:
mls = AdminConfig.list('MessageListenerService', server)
print mls
Example output: (cells/mycell/nodes/mynode/servers/server1|server.xml#MessageListenerService_1)
- Modify various attributes with one of the following examples:
Example output:
my(cells/mycell/nodes/mynode/servers/server1:server.xml#ListenerPort_1079471940692)
(cells/mycell/nodes/mynode/servers/server1:server.xml#StateManageable_107947182623)
- Save the configuration changes.
- In a network deployment environment only,
synchronize the node.