VMM - CUR installation error in wp-create-cur-custom-property task - Websphere

This is a discussion on VMM - CUR installation error in wp-create-cur-custom-property task - Websphere ; Hello, We are implementing VMM CUR adapter. Before implementing our own adapter, we are trying to install the File Based Sample implementation that was available for public at the following URL. http://www.ibm.com/developerworks/we...ory/index.html We are following the steps in the white ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: VMM - CUR installation error in wp-create-cur-custom-property task

  1. VMM - CUR installation error in wp-create-cur-custom-property task

    Hello,

    We are implementing VMM CUR adapter. Before implementing our own adapter, we are trying to install the File Based Sample implementation that was available for public at the following URL.

    http://www.ibm.com/developerworks/we...ory/index.html

    We are following the steps in the white paper below:
    http://download.boulder.ibm.com/ibmd...itoryFinal.pdf

    In step 5.1.1 Add custom repository as additional federated repository, after completing step 2, we are trying to start adding additional File Repository properties using the following task.

    wp-create-cur-custom-property

    But getting following exception:

    {code}

    wp-create-cur-custom-property:
    Fri Jul 24 01:20:37 PDT 2009
    [wplc-create-federated-cur-custom-property] Task parameters:
    [wplc-create-federated-cur-custom-property] Global attributes:
    [wplc-create-federated-cur-custom-property] cell="portal"
    [wplc-create-federated-cur-custom-property] engineinstalllocation="/home/wasprofile61/wpprofile/ConfigEngine"
    [wplc-create-federated-cur-custom-property] osarch="x86"
    [wplc-create-federated-cur-custom-property] pathseparator=":"
    [wplc-create-federated-cur-custom-property] node=""
    [wplc-create-federated-cur-custom-property] server=""

    [wplc-create-federated-cur-custom-property] Instance attributes (Set 1 of 1):
    [wplc-create-federated-cur-custom-property] name="groupMap.description cur.value=description"
    [wplc-create-federated-cur-custom-property] ignoreDuplicateIDs= *** NOT_SPECIFIED ***
    [wplc-create-federated-cur-custom-property] attribute=[ *** NONE_SPECIFIED *** ]
    [wplc-create-federated-cur-custom-property] customproperty=[ *** NONE_SPECIFIED *** ]
    [wplc-create-federated-cur-custom-property] value="${cur.value}"
    [wplc-create-federated-cur-custom-property] id=""
    [wplc-create-federated-cur-custom-property] trimSpaces= *** NOT_SPECIFIED ***
    [wplc-create-federated-cur-custom-property] Repository does not exist in the WIM Repository System
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.impl.FederatedRepository CurCustomPropertyCreateImpl.execute(FederatedRepos itoryCurCustomPropertyCreateImpl.java:33)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecuteTask(AbstractBaseAdminTask.java:495)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapp erTask.executeTask(AbstractBaseWsAdminWrapperTask. java:301)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecute(AbstractBaseAdminTask.java:156)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.execute(Target.java:34 1)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1216)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:40)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.start(Main.java:150)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.process(ConfigEngi ne.java:861)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.main(ConfigEngine. java:236)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.ja va:260)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.proces s(WpsConfigLauncher.java:243)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.main(W psConfigLauncher.java:459)

    BUILD FAILED
    /home/wasprofile61/wpprofile/ConfigEngine/config/actions/wp_security_pub.xml:653: Create custom property failed.

    Total time: 6 seconds

    {code}

  2. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    It sounds like "wp-create-cur" was not complete. Can you attach wimconfig.xml and wkplc.properties?

    -FF

    The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.

  3. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    Actually it was run successfully. Please see the attached log.

    Attaching other files in the next reply.

    Thanks!

  4. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    Adding combined wkpl.properties and wimconfig.xml

    Thanks!

  5. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    I know what you did wrong. I was confused when I tried to add the CUR properties.

    You have to do the properties one at a time. So Step 3 in section 5.1.1 actually asked you to run "wp-create-cur-custom-property" many times (17 to be accurate). For example, you need to set up the following three in wkplc.properties
    cur.id=myCustomRepository
    cur.name=readOnly
    cur.value=false

    When you run "wp-create-cur-custom-property", an entry is added to wimconfig.xml.
    You have to make 17 runs to get all the custom properties created before the sample CUR to start function.

    -FF

    The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.

  6. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    Thanks for the quick response!

    I have restarted portal server, but I could run the task any more. Getting the following error:

    {code}

    wp-create-cur-custom-property:
    Fri Jul 24 04:58:08 PDT 2009
    [wplc-create-federated-cur-custom-property] Task parameters:
    [wplc-create-federated-cur-custom-property] Global attributes:
    [wplc-create-federated-cur-custom-property] cell="portal"
    [wplc-create-federated-cur-custom-property] engineinstalllocation="/home/wasprofile61/wpprofile/ConfigEngine"
    [wplc-create-federated-cur-custom-property] osarch="x86"
    [wplc-create-federated-cur-custom-property] pathseparator=":"
    [wplc-create-federated-cur-custom-property] node=""
    [wplc-create-federated-cur-custom-property] server=""

    [wplc-create-federated-cur-custom-property] Instance attributes (Set 1 of 1):
    [wplc-create-federated-cur-custom-property] name="readOnly"
    [wplc-create-federated-cur-custom-property] ignoreDuplicateIDs= *** NOT_SPECIFIED ***
    [wplc-create-federated-cur-custom-property] attribute=[ *** NONE_SPECIFIED *** ]
    [wplc-create-federated-cur-custom-property] customproperty=[ *** NONE_SPECIFIED *** ]
    [wplc-create-federated-cur-custom-property] value="true"
    [wplc-create-federated-cur-custom-property] id="myCustomRepository"
    [wplc-create-federated-cur-custom-property] trimSpaces= *** NOT_SPECIFIED ***
    [wplc-create-federated-cur-custom-property] com.ibm.websphere.management.cmdframework.CommandE xception: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getCommandMetaInfo operation on RemoteCommandMgr MBean because of insufficient or empty credentials.
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.cmdframework.impl.ClientComm andMgr.initCommandMetadata(ClientCommandMgr.java:3 61)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.cmdframework.impl.ClientComm andMgr.createCommand(ClientCommandMgr.java:295)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.impl.BaseSecurityModify. getRepositoryNames(BaseSecurityModify.java:59)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.impl.BaseSecurityModify. federatedRepositoryExists(BaseSecurityModify.java: 90)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.impl.FederatedRepository CurCustomPropertyCreateImpl.execute(FederatedRepos itoryCurCustomPropertyCreateImpl.java:32)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecuteTask(AbstractBaseAdminTask.java:495)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapp erTask.executeTask(AbstractBaseWsAdminWrapperTask. java:301)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecute(AbstractBaseAdminTask.java:156)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.execute(Target.java:34 1)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1216)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:40)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.start(Main.java:150)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.process(ConfigEngi ne.java:861)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.main(ConfigEngine. java:236)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.ja va:260)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.proces s(WpsConfigLauncher.java:243)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.main(W psConfigLauncher.java:459)
    [wplc-create-federated-cur-custom-property] Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getCommandMetaInfo operation on RemoteCommandMgr MBean because of insufficient or empty credentials.
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.handleAdminFault(SOAPConnectorClient.java:9 19)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplateOnce(SOAPConnectorClient.java :887)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplate(SOAPConnectorClient.java:659 )
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplate(SOAPConnectorClient.java:649 )
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:635)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:457)
    [wplc-create-federated-cur-custom-property] at $Proxy0.invoke(Unknown Source)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.AdminClientImpl.invoke(Admin ClientImpl.java:224)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.cmdframework.impl.ClientComm andMgr.initCommandMetadata(ClientCommandMgr.java:3 17)
    [wplc-create-federated-cur-custom-property] ... 31 more
    [wplc-create-federated-cur-custom-property] com.ibm.websphere.management.exception.ConfigServi ceException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the discard operation on ConfigService MBean because of insufficient or empty credentials.
    [wplc-create-federated-cur-custom-property] at com.ibm.websphere.management.configservice.ConfigS erviceProxy.discard(ConfigServiceProxy.java:203)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.impl.FederatedRepository CurCustomPropertyCreateImpl.execute(FederatedRepos itoryCurCustomPropertyCreateImpl.java:48)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecuteTask(AbstractBaseAdminTask.java:495)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapp erTask.executeTask(AbstractBaseWsAdminWrapperTask. java:301)
    [wplc-create-federated-cur-custom-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecute(AbstractBaseAdminTask.java:156)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.execute(Target.java:34 1)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1216)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:40)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [wplc-create-federated-cur-custom-property] at org.apache.tools.ant.Main.start(Main.java:150)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.process(ConfigEngi ne.java:861)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.ConfigEngine.main(ConfigEngine. java:236)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.ja va:260)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-create-federated-cur-custom-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    [wplc-create-federated-cur-custom-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    [wplc-create-federated-cur-custom-property] at java.lang.reflect.Method.invoke(Method.java:599)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.proces s(WpsConfigLauncher.java:243)
    [wplc-create-federated-cur-custom-property] at com.ibm.wps.config.launch.WpsConfigLauncher.main(W psConfigLauncher.java:459)
    [wplc-create-federated-cur-custom-property] Caused by: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the discard operation on ConfigService MBean because of insufficient or empty credentials.
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.handleAdminFault(SOAPConnectorClient.java:9 19)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplateOnce(SOAPConnectorClient.java :887)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplate(SOAPConnectorClient.java:659 )
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invokeTemplate(SOAPConnectorClient.java:649 )
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:635)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.connector.soap.SOAPConnector Client.invoke(SOAPConnectorClient.java:457)
    [wplc-create-federated-cur-custom-property] at $Proxy0.invoke(Unknown Source)
    [wplc-create-federated-cur-custom-property] at com.ibm.ws.management.AdminClientImpl.invoke(Admin ClientImpl.java:224)
    [wplc-create-federated-cur-custom-property] at com.ibm.websphere.management.configservice.ConfigS erviceProxy.discard(ConfigServiceProxy.java:181)
    [wplc-create-federated-cur-custom-property] ... 28 more

    BUILD FAILED
    /home/wasprofile61/wpprofile/ConfigEngine/config/actions/wp_security_pub.xml:653: com.ibm.websphere.management.exception.ConfigServi ceException: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the discard operation on ConfigService MBean because of insufficient or empty credentials.

    {code}


    I have tried with password on the command line as well but it is giving me the same error. On the system out during the portal restart I see the new repository could not load the Sample file (UserRepository.xml) because the path is not yet updated.


    Is there a way to update these properties directly in the wimconfig.xml file ? If yes, can I have a working sample wimconfig.xml file?

    Thanks again!

  7. Re: VMM - CUR installation error in wp-create-cur-custom-propertytask

    You have to make sure your WAS user ID and Password are correctly entered.

    -FF

    The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.

+ Reply to Thread