Portal 6.1 cluster exception adding LDAP custom attibutes - Websphere

This is a discussion on Portal 6.1 cluster exception adding LDAP custom attibutes - Websphere ; Hi, I have Portal 6.1 cluster configured (two nodes, the deployment manager configured on secondary)to use an LDAP user registry. The LDAP directory has some custom attributes which I need to: - add the custom attributes to VMM - map ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Portal 6.1 cluster exception adding LDAP custom attibutes

  1. Portal 6.1 cluster exception adding LDAP custom attibutes

    Hi,

    I have Portal 6.1 cluster configured (two nodes, the deployment manager configured on

    secondary)to use an LDAP user registry.

    The LDAP directory has some custom attributes which I need to:

    - add the custom attributes to VMM
    - map the custom attributes
    - read the value of these attributes in a portlet (possibly using puma api).


    To add the attributes, I set the values for the following under the "Add property" section of

    the wkplc.properties file.

    la.providerURL=corbaloc:iiop: : Adding attributes

    Running the task fails with ConfigLog below.

    A below talks about the provider URL being incorrect. I've double checked that.
    http://www-01.ibm.com/support/docvie...=utf-8&lang=en

    *Note:* I ran entered values to the wkplc.properties file and ran it from the primary node. The deployment mgr sits on the secondary node.

    Any clues as to what's the issue here?

    Thanks in advance,

    M



    -------------------------------------------------------------------------------------------------------------------
    {code}
    [wplc-add-property] javax.naming.NameNotFoundException: Context: DEVCELL1/nodes/DMGR01NODE/servers/dmgr, name: ejb/com/ibm/websphere/wim/ejb/WIMServiceHome: First component in name com/ibm/websphere/wim/ejb/WIMServiceHome not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.processNot FoundException(CNContextImpl.java:4754)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1911)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1866)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:1556)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:1358)
    [wplc-add-property] at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:172)
    [wplc-add-property] at javax.naming.InitialContext.lookup(InitialContext. java:363)
    [wplc-add-property] at com.ibm.websphere.wim.client.LocalServiceProvider. locateService(LocalServiceProvider.java:265)
    [wplc-add-property] at com.ibm.websphere.wim.client.LocalServiceProvider. (LocalServiceProvider.java:146)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.impl.AddPropertyImpl.exe cute(AddPropertyImpl.java:42)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecuteTask(AbstractBaseAdminTask.java:495)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapp erTask.executeTask(AbstractBaseWsAdminWrapperTask. java:301)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecute(AbstractBaseAdminTask.java:156)
    [wplc-add-property] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
    [wplc-add-property] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wplc-add-property] at org.apache.tools.ant.Target.execute(Target.java:34 1)
    [wplc-add-property] at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
    [wplc-add-property] at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1216)
    [wplc-add-property] at org.apache.tools.ant.Project.executeTarget(Project .java:1185)
    [wplc-add-property] at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:40)
    [wplc-add-property] at org.apache.tools.ant.Project.executeTargets(Projec t.java:1068)
    [wplc-add-property] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [wplc-add-property] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [wplc-add-property] at org.apache.tools.ant.Main.start(Main.java:150)
    [wplc-add-property] at com.ibm.wps.config.ConfigEngine.process(ConfigEngi ne.java:861)
    [wplc-add-property] at com.ibm.wps.config.ConfigEngine.main(ConfigEngine. java:236)
    [wplc-add-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-add-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    [wplc-add-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    [wplc-add-property] at java.lang.reflect.Method.invoke(Method.java:618)
    [wplc-add-property] at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.ja va:263)
    [wplc-add-property] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    [wplc-add-property] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    [wplc-add-property] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    [wplc-add-property] at java.lang.reflect.Method.invoke(Method.java:618)
    [wplc-add-property] at com.ibm.wps.config.launch.WpsConfigLauncher.proces s(WpsConfigLauncher.java:243)
    [wplc-add-property] at com.ibm.wps.config.launch.WpsConfigLauncher.main(W psConfigLauncher.java:459)
    [wplc-add-property] Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0
    [wplc-add-property] at org.omg.CosNaming.NamingContextPackage.NotFoundHel per.read(NotFoundHelper.java:85)
    [wplc-add-property] at com.ibm.WsnOptimizedNaming._NamingContextStub.reso lve_complete_info(_NamingContextStub.java:504)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve (CNContextImpl.java:4375)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1905)
    [wplc-add-property] ... 35 more

    BUILD FAILED
    /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/actions/wp_security_pub.xml:1277: Add LA properties failed.
    {code}

  2. Re: Portal 6.1 cluster exception adding LDAP custom attibutes

    What exactly did you double check? Does the ConfigTrace.log reflect the update you made? Check for "[wplc-add-property] [datetime] Looking up EJB: ..." in ConfigTrace.log.
    Is the server running and listening on its port? Check for DMGR's port in "netstat -an" output. Did you verify this port against the ISC or serverindex.xml?

  3. Re: Portal 6.1 cluster exception adding LDAP custom attibutes

    Hi JMW98,

    Sorry for that, the log got clipped. The log starts with. Port 9809 did show up in netstat.

    The server was running as I had restarted after running ./ConfigEngine.sh wp-la-install-ear. Dmgr's bootstrap port
    under the configuration tab of the dgmr in the WAS console, specifies 9809.

    {code}
    [wplc-add-property] Instance attributes (Set 1 of 1):
    [wplc-add-property] attribute=[ *** NONE_SPECIFIED *** ]
    [wplc-add-property] nsURI="http://www.ibm.com/websphere/wim"
    [wplc-add-property] customproperty=[ *** NONE_SPECIFIED *** ]
    [wplc-add-property] entityTypes="PersonAccount"
    [wplc-add-property] repositoryId=""
    [wplc-add-property] propertyName="myAttr"
    [wplc-add-property] ignoreDuplicateIDs= *** NOT_SPECIFIED ***
    [wplc-add-property] dataType="String"
    [wplc-add-property] trimSpaces= *** NOT_SPECIFIED ***
    [wplc-add-property] providerURL="corbaloc:iiop:10.2.127.73:9809"
    [wplc-add-property] multiValued="false"
    [wplc-add-property] [05/07/09 16:03:17.937 EST] Looking up EJB: corbaloc:iiop:10.2.127.73:9809...
    [wplc-add-property] [05/07/09 16:03:18.427 EST] security.LoadSCI
    [wplc-add-property] [05/07/09 16:03:18.439 EST] security.GettingConfig
    [wplc-add-property] [05/07/09 16:03:18.453 EST] security.AuthTarget
    [wplc-add-property] [05/07/09 16:03:18.629 EST] security.ClientCSI
    [wplc-add-property] Realm/Cell Name: o=ana-asa
    [wplc-add-property] User Identity:
    [wplc-add-property] User Password:
    [wplc-add-property] [05/07/09 16:03:53.225 EST] Can not find EJB: ejb/com/ibm/websphere/wim/ejb/WIMServiceHome
    [wplc-add-property] javax.naming.NameNotFoundException: Context: DEVCELL1/nodes/DMGR01NODE/servers/dmgr, name: ejb/com/ibm/
    websphere/wim/ejb/WIMServiceHome: First component in name com/ibm/websphere/wim/ejb/WIMServiceHome not found. [Root exception
    is org.omg.CosNaming.NamingContextPackage.NotFound: IDLmg.org/CosNaming/NamingContext/NotFound:1.0]
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.processNot FoundException(CNContextImpl.java:4754)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1911)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1866)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:1556)
    [wplc-add-property] at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:1358)
    [wplc-add-property] at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:172)
    [wplc-add-property] at javax.naming.InitialContext.lookup(InitialContext. java:363)
    [wplc-add-property] at com.ibm.websphere.wim.client.LocalServiceProvider. locateService(LocalServiceProvider.java:265)
    [wplc-add-property] at com.ibm.websphere.wim.client.LocalServiceProvider. (LocalServiceProvider.java:146)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.impl.AddPropertyImpl.exe cute(AddPropertyImpl.java:42)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecuteTask(AbstractBaseAdminTask.java:495)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapp erTask.executeTask(AbstractBaseWsAdminWrapperTask
    java:301)
    [wplc-add-property] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.ex ecute(AbstractBaseAdminTask.java:156)
    [wplc-add-property] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
    [wplc-add-property] at org.apache.tools.ant.Task.perform(Task.java:364)

    {code}

  4. Re: Portal 6.1 cluster exception adding LDAP custom attibutes

    You need to run ConfigEngine task "wp-la-install-ear". If you did, then there was something wrong. WIMServiceHome was not found. This means WIMSYSTEM.ear was not correctly set up.

    -FF

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

  5. Re: Portal 6.1 cluster exception adding LDAP custom attibutes

    Hi Fang,

    I did run the wp-la-install-ear task, then stopped and restarted, then I tried to add the attribute. I can't figure out why
    it says WIMServiceHome cannot be found.

  6. Re: Portal 6.1 cluster exception adding LDAP custom attibutes

    Check your system for the location of WIMSYSTEM.ear. It's in different directories when you have a clustered portal or standalone. Let us know where do you find it.

    -FF

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

+ Reply to Thread