1 Reply Latest reply: Jan 27, 2014 9:42 AM by Daniel Merchán RSS

    Multiple users found with the same name

    Chely

      Hi,

       

      In my ADF bean, I am trying to access some users from ldap. I found there are two users with the same email in my console under "Users and Groups" tab.

       

      I am getting the following error in logs:

       

      oracle.jbo.JboException: multiple users found with same name

              at com.castandcrew.portal.am.StartPaperworkCenterAMImpl.setStartPaperworkApprovalHistory(StartPaperworkCenterAMImpl.java:627)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:657)

              at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)

              at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)

              at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)

         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)

              at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)

              at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)

              at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2151)

              at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

              at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

              at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

              at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

              at com.castandcrew.portal.view.bean.startpaperwork.StartPaperworkCenterManagedBean.handleRowDisclosure(StartPaperworkCenterManagedBean.java:696)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at com.sun.el.parser.AstValue.invoke(AstValue.java:187)

              at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)

              at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)

              at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:263)

              at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:147)

              at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:404)

              at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)

              at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:280)

              at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:147)

              at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:404)

              at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

              at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

              at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

              at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)

              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:431)

              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

              at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

              at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

       

      I am wondering how open ldap can allow two users with same email.

       

      Any suggestions are welcome.can i try some work around for that?

       

      Thanks.