In the error below, I have a typical problem I keep facing when I can creating more complex Jython scripts that dynamically calculate config IDs MBean Ids. In this error below we see com.ibm.ws.scripting.ScriptingException: WASX7444E: Invalid parameter value “” for parameter “parent config id” on command “create. This error is usually due to a bad defined bean id and often usually the wrong name for an element has been used in the string to define the bean id. A Bean id is the config id used to access the MBean resource.

 

Take for example the node name is Node03 , but in this case Node03 does not exist in the cells configuration and so the config element for this bean cannot be generated. Solution is to ensure that you pass the correct node name or any other variable used in your dynamic string generator which created the bean ids (Config ids)


main13:13:22,338 | DEBUG | [WMQ Manager] self.__name=mgCFService
main13:13:22,338 | DEBUG | [WMQ Manager] beanId=/Cell:Cell01/Node:Node03/JMSProvider:WebSphere MQ JMS Provider/MQConnectionFactory:mgCFService
main13:13:22,479 | DEBUG | [WMQ Manager] beanObjectId=
main13:13:22,479 | DEBUG | [WMQ Manager] EXIT setCFInfo()
main13:13:22,495 | DEBUG | [WMQ Manager] ENTER CFExists()
main13:13:22,495 | DEBUG | [WMQ Manager] beanId(s) =
main13:13:22,495 | DEBUG | [WMQ Manager] EXIT CFExists()
main13:13:22,495 | INFO | [WMQ Manager] CF does not exist, creating....
main13:13:22,495 | DEBUG | [WMQ Manager] METHOD: setConfigIdFilter
main13:13:23,744 | DEBUG | [WMQ Manager] beanObjectId=
main13:13:23,744 | INFO | [WMQ Manager] adminConfigCreate called - variables : MQConnectionFactory,,[['transportType', 'BINDINGS'], ['port', '1414'], ['name', 'CFService'], ['channel', 'SYSTEM.DEF.
VRCONN'], ['host', 'localhost'], ['queueManager', 'QA.WAS01.MANAGER'], ['jndiName', 'jms/CFService']]
mainadminConfigCreate called - variables : MQConnectionFactory,,[['transportType', 'BINDINGS'], ['port', '1414'], ['name', 'mgCFService'], ['channel', 'SYSTEM.DEF.SVRCONN'], ['host', 'localhost'], ['
ueueManager', 'QA.WAS01.MANAGER'], ['jndiName', 'jms/CFService']]
om.ibm.ws.scripting.ScriptingException: WASX7444E: Invalid parameter value "" for parameter "parent config id" on command "create"
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1813)
at com.ibm.ws.scripting.AdminConfigClient.create(AdminConfigClient.java:2221)
at com.ibm.ws.scripting.AdminConfigClient.create(AdminConfigClient.java:2133)
at com.ibm.ws.scripting.AdminConfigClient.create(AdminConfigClient.java:2100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply