Troubleshooting
Problem
The generateMergedPluginConfigForLibertyProfileServers job creates a single plugin-cfg.xml file by merging all the plugin-cfg.xml files that were generated for the Liberty server on the targeted hosts. You can run the job using a command such as:
[]AdminTask.submitJob('[-jobType generateMergedPluginConfigForLibertyProfileServers
-targetList [host1 host2] -description generateMergedPluginConfigForLibertyProfileServers
-jobParams [[jmxpassword ********][serverName runtime/wlp/liberty_server/defaultServer][jmxuser c]]]') [
]
The serverName parameter must specify the name or resource ID of the server for which to generate plugin-cfg.xml files on the targeted hosts.
The generateMergedPluginConfigForLibertyProfileServers submitJob command fails if the serverName parameter requests to match a particular Liberty server name in any Liberty project or runtime; for example, []project/*/runtime/*/liberty_server/server1[
].
Symptom
The command fails with the following error:
CWWKJ0023E: Command generateMergedPluginConfigForLibertyProfileServers failed on host myhost.com. Specified resource project/*/runtime/*/liberty_server/server1 cannot be found on host myhost.com.
Resolving The Problem
Specify pattern matching in the Liberty_server part of the serverName parameter when a project or runtime part of the serverName parameter uses pattern matching.
Thus, change the parameter from:
project/*/runtime/*/liberty_server/server1
to:
project/*/runtime/*/liberty_server/serv*1
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21593570