Problem: Attempting to use the JYTHON command below and I cannot retrieve the id of my active specification defined at a node-server level in Websphere. I believe its a syntax issue but I'm not sure what.
Code:
AdminConfig.getid('/Cell:mycell/Node:mynode/Server:myserver/J2CActivationSpec:myActiveSpecName/')
Problem Notes:
- I do not get a invalid object error so I believe I have the syntax right but it just cannot find the resource even though it exists.
- I am using the AdminConfig.getid() as a way to check if the resource already exists in order to do a modify or a create.
- If I use the following code: AdminConfig.getid('/J2CActivationSpec:myActiveSpecName/') it will find it but not if I use a more specific path listed above.
Reference Material: