IBM Support

generateMergedPluginConfigForLibertyProfileServers submitJob command fails

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

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5","Edition":"Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21593570