Tuesday, 28 April 2015

PLGC0049E: Propagation of the plug-in configuration file has failed for the Web server

If you get exceptions such as: -

PLGC0049E: Propagation of the plug-in configuration file has failed for the Web server

when trying to propagate the WebSphere Plugin configuration file from the WAS cell ( via the Deployment Manager ) to the IHS server, check that the Node Agent is running :-)

In my case, I have an unmanaged node ( so IHS is on the same "box" as the WAS Node Agent, and I am NOT running the IHS management server - apachectl ), and I'm using Jython to generate and propagate the Plugin configuration file ( plugin-cfg.xml ) and the TLS keyring: -

cellID=AdminControl.getCell()

AdminControl.invoke('WebSphere:name=PluginCfgGenerator,process=dmgr,platform=common,node=Dmgr,version=8.5.5.5,type=PluginCfgGenerator,mbeanIdentifier=PluginCfgGenerator,cell='+cellID+',spec=1.0', 'generate', '[/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config '+cellID+' Node1 webserver1 false]', '[java.lang.String java.lang.String java.lang.String java.lang.String java.lang.Boolean]')

AdminControl.invoke('WebSphere:name=PluginCfgGenerator,process=dmgr,platform=common,node=Dmgr,version=8.5.5.5,type=PluginCfgGenerator,mbeanIdentifier=PluginCfgGenerator,cell='+cellID+',spec=1.0', 'propagate', '[/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config '+cellID+' Node1 webserver1]', '[java.lang.String java.lang.String java.lang.String java.lang.String]')

AdminControl.invoke('WebSphere:name=PluginCfgGenerator,process=dmgr,platform=common,node=Dmgr ,version=8.5.5.5,type=PluginCfgGenerator,mbeanIdentifier=PluginCfgGenerator,cell='+cellID+',spec=1.0', 'propagateKeyring', '[/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config localhostCell01 ihsNode1 webserver1]', '[java.lang.String java.lang.String java.lang.String java.lang.String]')

For the record, these were the exceptions that I was seeing in the Deployment Manager's SystemOut.log: -

[28/04/15 11:43:06:194 BST] 000000cd SystemOut     O PLGC0062I: The plug-in configuration file is propagated from /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/PCCell1/nodes/Node1/servers/webserver1/plugin-cfg.xml to /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml on the Web server computer.
[28/04/15 11:43:06:195 BST] 000000cd SystemOut     O PLGC0048I: The propagation of the plug-in configuration file is complete for the Web server. PCCell1.Node1.webserver1.
[28/04/15 11:43:06:195 BST] 000000cd SystemOut     O PLGC0063E: The propagation of the plug-in configuration file from /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/PCCell1/nodes/Node1/servers/webserver1/plugin-cfg.xml to /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml on the Web server computer failed.
[28/04/15 11:43:06:195 BST] 000000cd SystemOut     O PLGC0049E: The propagation of the plug-in configuration file failed for the Web server. PCCell1.Node1.webserver1.
[28/04/15 11:43:06:196 BST] 000000cd MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=PluginCfgGenerator,process=dmgr,platform=common,node=Dmgr,version=8.5.5.5,type=PluginCfgGenerator,mbeanIdentifier=PluginCfgGenerator,cell=PCCell1,spec=1.0 because of an mbean exception: com.ibm.websphere.plugincfg.exception.PluginConfigException: Applicaton centric propagation did not complete successfully: null
[28/04/15 11:50:31:123 BST] 000000cf SystemOut     O PLGC0062I: The plug-in configuration file is propagated from /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/PCCell1/nodes/Node1/servers/webserver1/plugin-cfg.xml to /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml on the Web server computer.
[28/04/15 11:50:31:124 BST] 000000cf SystemOut     O PLGC0048I: The propagation of the plug-in configuration file is complete for the Web server. PCCell1.Node1.webserver1.
[28/04/15 11:50:31:127 BST] 000000cf SystemOut     O PLGC0063E: The propagation of the plug-in configuration file from /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/PCCell1/nodes/Node1/servers/webserver1/plugin-cfg.xml to /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml on the Web server computer failed.
[28/04/15 11:50:31:127 BST] 000000cf SystemOut     O PLGC0049E: The propagation of the plug-in configuration file failed for the Web server. PCCell1.Node1.webserver1.
[28/04/15 11:50:31:129 BST] 000000cf MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=PluginCfgGenerator,process=dmgr,platform=common,node=Dmgr,version=8.5.5.5,type=PluginCfgGenerator,mbeanIdentifier=PluginCfgGenerator,cell=PCCell1,spec=1.0 because of an mbean exception: com.ibm.websphere.plugincfg.exception.PluginConfigException: Applicaton centric propagation did not complete successfully: null

No comments: