06 Apr 2015
April 6, 2015

ADMF0007E: target object is required

April 6, 2015 Blog, IBM, Jython, WebSphere Jython 0 Comment

WASX7209I: Connected to process “server01” on node node01 using SOAP connector; The type of process is: UnManagedProcess
WASX7017E: Exception received while running file “/root/scripts/was/disableMQ.py”; exception information: com.ibm.websphere.management.cmdframework.CommandValidationException: ADMF0007E: target object is required.


ADMF0007E: target object is required.

Problem This command requires a target object.
User response Specify target object for the command.

You are trying to run a commnand that requires an object to assign the property change to:

AdminTask.manageWMQ(“-disableWMQ true”)


Change the code above to be:

AdminTask.manageWMQ(‘”WebSphere MQ Resource Adapter(cells/s15418557Node01Cell/nodes/node01/servers/server01|resources.xml#J2CResourceAdapter_1299445909935)”‘, ‘[-nativePath -disableWMQ true ]’)

You can see above there is a resource being specified that is a target resource.



Leave a Reply