Error assigning users to application Role in Obiee 11.1.1.7.0

Hello
I installed Obiee 11.1.1.7.0 both on Windows and Linux platform and after that, I successfully set Active Directory integration. I have a problem assigning users to Application Role in EM. When I'm trying to search a user on Display name, the Principal userName returned is blank and the error is : Java Null Pointer Exception
After that I install a fresh copy of 11.1.6.0. After AD Integration, I was able to assign users to Application Role. I made 11.1.1.7.0 upgrade and same error has come. I think this is a bug because same AD settings on 11.1.1.6.0 works.
The error:
ava.lang.NullPointerException
#{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
     Hide Additional Trace Information
javax.faces.FacesException: #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) 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:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) 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:97) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) 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:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 67 more Caused by: java.lang.NullPointerException at oracle.sysman.emas.model.security.DialogAdminBean$1.compare(DialogAdminBean.java:567) at java.util.Arrays.mergeSort(Arrays.java:1270) at java.util.Arrays.mergeSort(Arrays.java:1281) at java.util.Arrays.sort(Arrays.java:1210) at java.util.Collections.sort(Collections.java:157) at oracle.sysman.emas.model.security.DialogAdminBean.fetchPrincipals(DialogAdminBean.java:563) at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.searchPrincipal(EditAppRolePageModel.java:496) 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(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) ... 68 more
Any suggestion?
Thx
Gabriel
Edited by: Gabbriel on Apr 23, 2013 10:46 PM

We received from Oracle a work-around of this problem.
It seems to be related to the virtualize flag set to true. I f you set it to false the problem disappear (it works for me).
(rif. http://docs.oracle.com/cd/E28280_01/bi.1111/e10543/privileges.htm#BABDCJBH)
There's an open BUG on this problem: Bug 16808088 - 11G JAVA.LANG.NULLPOINTEREXCEPTION ADDING USER TO ROLE AFTER UPGRADE TO 11.1.1.7.
Hope this works.
S.

Similar Messages

  • How to assign Users to process roles?

    Hi All,
    I have designed a process and I have consolidated all the roles,
    when I intiate the process from the runtime workset it asks to assign users to these roles(I have consolidated all the roles to three mail roles). The problem that I am facing is that the user should not see this screen, depending upon the user login id the approvers should be automatically assigned to the respective roles.
    Is this possible...
    Kindly guide me
    Thanks in Advance
    Sivaprasath

    Hi Sivaprasath,
    assuming that I've got you wright you could try to model the following using the callable object "business logic" and the callable object "assign user to process role".
    With the help of the first CO you can implement the logic to assign the respective approvers to the users (initiator) and let the processflow go on directing it to the appropriate step where the above mentioned second CO assigns the user to the process role (using the result states of the bussiness logic CO)
    At least you are supposed to need an appropriate Parameter that you can consolidate with the User ID.
    Just a quick idea, hope this will work with you.
    Greetings
    Berndt

  • USER MANAGEMENT-CO "Assign users to process role"

    HI,How can I assign the CO "Assign users to process role" to one or more users inside of a process?
    Thanks.
    Regards
    David Valenzuela

    Hi David,
    I am not sure whether a callable object can be assigned to more than one user or not, but for assigning one single user to a callable object inside a process, follow the following steps:
    1)Put the callable object in an action.
    2)Put the action in a block.
    3)In the block, under the <b>Roles</b> tab, you will be able to see an item called <b>Processor of <<i>name of action containing this callable object</i>></b>. You don't need to do anything. If you wish, all you can do here that you can consolidate roles of more than one action under a single name such that one user is assigned to all those actions. For the time being, don't do anything.
    4)Put the block in the process.
    5)In the process, under the <b>Roles</b> tab, you would be able to see the same item <b>Processor of <<i>name of action containing this callable object</i>></b> and a drop down in front of it. Choose <b>Initiation Defined</b> from the drop down.
    6)In the process itself, open the <b>Default Roles</b> tab, and now you would be able to see the same item <b>Processor of <<i>name of action containing this callable object</i>></b>. Just click the <b>Add Default</b> button, search for the user, and assign him to this <b>Processor</b>.
    These steps will make sure that when you run the process, the CO <b>Assign users to process role</b> could be opened by only the user you assigned this CO to.
    Bye
    Ankur
    Do reward points if it helps!!

  • Assigned users for a role

    Hi
    I am looking for auditing feature in Portal. I created a portal role,say ABC in portal and added an iView to that role. When ever I create any user, I am assigning this role to that user. Now I want to know the users associated to this role ABC. Under User Administration tab, when I look at Assigned Users for this role, I don't see any users. But when I see the roles assigned to any user, I can see this role assigned to this user. I don't want to go to all users and check whether this role is assigned or not.
    Also, I want to know the users who all are accessing the iview in role ABC currently. Can you please help me with these points.
    Thanks in advance
    Tejo

    Hi Tejo,
    check below thread
    Read all the users assigned to a portal role
    Koti Reddy

  • Assign User for Process Role Callable Object

    Hi,
         I have a doubt in the Callable Object Assign User for Process Role.wat is the use of this callable object.This Callable Object is used to reterive any portal user information?can any one give description about this Callable Object.
    Regards,
    Satheshkumar

    Hi,
    Take a look at the following [wiki page |https://wiki.sdn.sap.com/wiki/display/BPX/GuidedProceduresCallable+Objects] and look for the callable object you need. There is a link to a tutorial.
    Dick

  • Restore the BISystem application role in OBIEE 11.1.1.6.0

    I accidentaly deleted the BISystem application role in OBIEE 11.1.1.6.0 from the Enterprise Manager and I need to restore it.
    I tried to restore it manually by creating a new BISystem application role and adding the BISystemUser to it. Then I tried to restore related application policies but I did not find the following resources: oracle.bi.server.impersonateUser, oracle.bi.server.queryUserPopulation and EPM_Essbase_Administrator.
    Any way to do that?
    Thanks

    Hi,
    When you are adding permissions to policies in "Add permission" window select "Permissions" and "Permission Class" = oracle.security.jps.ResourcePermission (filter leave empty) and click search. You will find required permissions on the list.

  • LDAP user to application role mapping

    Hi All,
    OBIEE 11.1.1.5
    I have a table with ldap username and role. I have also configured external LDAP server in RPD. Users are able to login to portal.
    Can some one guide me, how to make sure that when user login to OBIEE automatically by table the role will be fetched and mapped with application role created?
    Or, In simple words,
    How can I assign an external ldap user to be mapped to application role? One by one?? or Via table as mentioned above?
    Anyone can help? All documents are not giving this simple picture to me.
    It was easy in 10g, In 11g is it rocket science so that my company can loose the hope to go ahead with 11g?

    Hi,
    1. Create block to initialize USER variable with user name from LDAP
    2. Create block to initialize GROUP variable with role name from external table
    3. In initializtion block for GROUP variable add precedence with User init block to make sure that USER variable have value
    4. If one user can have few roles you should check row-wise-initialization oprion
    Hope it's helpful

  • Can't create Application Role in Obiee 11g Enterprise Manager

    Hi All,
    I was working on obiee11g enterprise manager. I created some of the groups in weblogic console. Now I wanted to create application roles in enterprise manager for those groups. I am surprised that, the "*Create*" button is inactive on the application role page of enterprise manager. I only i could see tthe actives ones "*Create Like*", "*Edit*" and "*Delete*".
    Please assist shoud I need any additional configuration for the same.urgent!!
    Thank you in advance,
    BK.

    Click on Create Like button
    Then click cancel on the Create Like dialog box
    Go back to the Create button, it now works
    But if you log out and log back in, the Create button is disabled again
    so may repeat the above process of accessing the 'Create Like' button first to enable the Create button
    < Bug:13983399> CREATE BUTTON IS DISABLED IN FUSION MIDDLEWARE CONTROL IN OBIEE 11.1.1.6.0 ENV
    Please mark helpful or correct if answered.
    Thanks,
    - A.Y

  • Assign user grop to Role

    Hi all,
    How can i assign the user group to Role.
    Regards
    ganesh

    Hello Ganesh,
    User groups cannot be directly assigned to a role. Only users can be asigned. If I understand correctly then you want to assign a role to a user belonging to a particular group. For this goto SU10 then to Authorization DATA. Give the user group in the filed Group for Authorization ane execute it. You wil get a list of all the users. Select all of them using SELECT ALL option and press the transfer pushbutton. Now you have the list of all users. Press the change button go to roles tab and add the role you want and then save the changes. I hope it solves the issue for you.
    Please award points if the answer was useful.
    Regards.
    Ruchit.

  • Assigning Users to a Role in a BPM Task

    Hi,
    Is it necessary to have User Admin access to add Users to a Role in a BPM Task ?
    Is there any work around to it ?
    Regards,
    Utsav

    Hi Utsav,
    Yes you require User Admin role to search and add UME Users.
    A workaround can be using the 'Use an Expression' :
    User: getPrincipalByUniqueName(string uniqeName,"user")
    Role: getPrincipalByUniqueName(string uniqeName,"role")
    Regards,
    Unni

  • Error assign user rights

    Hello,
    I have ZCM 10.3.1 with BOE on a Windows Server 2008.
    I'm trying to assign rights to differents users of my User Source (Active Directory) to works with reports on BOE, but when assign rights to differents users of Active Directory I get this error on ZCC.LOG.
    Anyone else have this problem ? Any suggestions ??
    Thanks
    14 sep 2010 16:19:46 WebUtils............497 :################ Assertion Failure #################
    14 sep 2010 16:19:46 WebUtils............498 :################ Message: No registered display name for type: Crystal Report #################
    14 sep 2010 16:19:46 WebUtils............497 :################ Assertion Failure #################
    14 sep 2010 16:19:46 WebUtils............498 :################ Message: No registered display name for type: Web Intelligence Document #################
    14 sep 2010 16:19:46 WebUtils............497 :################ Assertion Failure #################
    14 sep 2010 16:19:46 WebUtils............498 :################ Message: No registered display name for type: Crystal Report #################
    14 sep 2010 16:19:46 WebUtils............497 :################ Assertion Failure #################
    14 sep 2010 16:19:46 WebUtils............498 :################ Message: No registered display name for type: Web Intelligence Document #################
    14 sep 2010 16:20:28 ============== Exception (begin) ===========================
    14 sep 2010 16:20:28 Exception occured
    com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [com.novell.zenworks.datamodel.objects.AssignedRigh t]
    at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.newStandardDataModelException(Abst ractDatabaseTypeHelper.java:436)
    at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.throwStandardDataModelException(Ab stractDatabaseTypeHelper.java:421)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.handleException(Abstrac tHibernateSessionImpl.java:177)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.simpleSave(AbstractHibe rnateSessionImpl.java:356)
    at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAdministratorSession._setAllRoleContexts(Hi bernateAdministratorSession.java:808)
    at com.novell.zenworks.datamodel.session.hibernate.Hi bernateAdministratorSession.setAllRoleContexts(Hib ernateAdministratorSession.java:736)
    at com.novell.zenworks.datamodel.services.administrat ors.AdministratorAdminImpl.setAllRoleContexts(Admi nistratorAdminImpl.java:409)
    at com.novell.zenworks.core.web.internal.pages.config uration.AdminRolesSnapshot.onSaveSettings(AdminRol esSnapshot.java:217)
    at com.novell.zenworks.fw.web.internal.layout.Setting sPluginTemplate.fireOnSaveEvent(SettingsPluginTemp late.java:331)
    at com.novell.zenworks.fw.web.internal.layout.Setting sPluginTemplate.applySettings(SettingsPluginTempla te.java:227)
    at com.novell.zenworks.fw.web.internal.layout.Setting s.applyImpl(Settings.java:1197)
    at com.novell.zenworks.fw.web.internal.layout.Setting s.onclick_ApplyAll(Settings.java:1106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.novell.web.controls.WebControl.fireEvent(WebCo ntrol.java:1977)
    at com.novell.web.controls.WebControl.fireEvent(WebCo ntrol.java:1952)
    at com.novell.web.controls.Button.raisePostBackEvent( Button.java:475)
    at com.novell.web.controls.Page.raisePostBackEvent(Pa ge.java:885)
    at com.novell.web.controls.Page.raisePostBackEvents(P age.java:872)
    at com.novell.web.controls.Page.internalProcessReques t(Page.java:584)
    at com.novell.web.controls.Page.processRequest(Page.j ava:528)
    at com.novell.zenworks.fw.web.internal.layout.Index.p rocessRequest(Index.java:586)
    at com.novell.web.internal.controls.PageTag.doEndTag( PageTag.java:86)
    at org.apache.jsp.jsp.index_jsp._jspService(index_jsp .java:179)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:691)
    at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:469)
    at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:364)
    at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
    at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet .java:97)
    at com.novell.zenworks.fw.web.internal.ZENworksServle t.service(ZENworksServlet.java:84)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
    at com.patchlink.sapphire.web.pages.vulnerability.ses sion.HibernateSessionFilter.doFilter(HibernateSess ionFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:174)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:108)
    at com.novell.zenworks.tomcat.ZENRequestValve.invoke( ZENRequestValve.java:1196)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [com.novell.zenworks.datamodel.objects.AssignedRigh t]
    at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:71)
    at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2140)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2503)
    at org.hibernate.action.EntityInsertAction.execute(En tityInsertAction.java:51)
    at org.hibernate.engine.ActionQueue.execute(ActionQue ue.java:248)
    at org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:232)
    at org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:139)
    at org.hibernate.event.def.AbstractFlushingEventListe ner.performExecutions(AbstractFlushingEventListene r.java:297)
    at org.hibernate.event.def.DefaultFlushEventListener. onFlush(DefaultFlushEventListener.java:27)
    at org.hibernate.impl.SessionImpl.flush(SessionImpl.j ava:988)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.simpleSave(AbstractHibe rnateSessionImpl.java:348)
    ... 56 more
    Caused by: java.sql.SQLException: The INSERT statement conflicted with the FOREIGN KEY constraint "fk_zAssignedRight_objectUID". The conflict occurred in database "Zenworks", table "dbo.zZENObject", column 'ZUID'.
    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnos tic(SQLDiagnostic.java:365)
    at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(Td sCore.java:2781)
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCor e.java:2224)
    at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(T dsCore.java:628)
    at net.sourceforge.jtds.jdbc.JtdsStatement.processRes ults(JtdsStatement.java:525)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL (JtdsStatement.java:487)
    at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.ex ecuteUpdate(JtdsPreparedStatement.java:421)
    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement .executeUpdate(NewProxyPreparedStatement.java:105)
    at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(N onBatchingBatcher.java:23)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.insert(AbstractEntityPersister.java:2120)
    ... 65 more
    14 sep 2010 16:20:28
    Exception Info:
    14 sep 2010 16:20:28 Class....... com.novell.zenworks.datamodel.exceptions.InternalD ataModelException
    14 sep 2010 16:20:28 Message..... org.hibernate.exception.ConstraintViolationExcepti on: could not insert: [com.novell.zenworks.datamodel.objects.AssignedRigh t]
    14 sep 2010 16:20:28 Logged at... AdminRolesSnapshot..278
    14 sep 2010 16:20:28 ============== Exception (end) =============================

    Sorry I forget that I also have serveral errors like that on the LOADER-MESSAGES.LOG. I dont know if there is some relationship.
    [DEPURACIN] [14/09/10 13:42:44] [] [Unknown error occured] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: org.hibernate.exception.ConstraintViolationExcepti on: error performing bulk delete
    at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.newStandardDataModelException(Abst ractDatabaseTypeHelper.java:436)
    at com.novell.zenworks.datamodel.database.AbstractDat abaseTypeHelper.throwStandardDataModelException(Ab stractDatabaseTypeHelper.java:421)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.handleException(Abstrac tHibernateSessionImpl.java:177)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.simpleUpdateByQuery(Abs tractHibernateSessionImpl.java:708)
    at com.novell.zenworks.datamodel.services.reports.Rep ortAdminServiceImpl.deleteNonUpdated(ReportAdminSe rviceImpl.java:680)
    at com.novell.zenworks.datamodel.services.reports.Rep ortAdminServiceImpl.syncFromBOE(ReportAdminService Impl.java:256)
    at com.novell.zenworks.reports.loader.modules.SyncBOE .syncFromBOE(SyncBOE.java:332)
    at com.novell.zenworks.reports.loader.modules.SyncBOE .eventCallback(SyncBOE.java:272)
    at com.novell.zenworks.tess.eventsystem.EventThread.r un(EventThread.java:53)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:651)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:676)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.hibernate.exception.ConstraintViolationExcepti on: error performing bulk delete
    at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:71)
    at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
    at org.hibernate.hql.ast.exec.MultiTableDeleteExecuto r.execute(MultiTableDeleteExecutor.java:124)
    at org.hibernate.hql.ast.QueryTranslatorImpl.executeU pdate(QueryTranslatorImpl.java:391)
    at org.hibernate.engine.query.HQLQueryPlan.performExe cuteUpdate(HQLQueryPlan.java:259)
    at org.hibernate.impl.SessionImpl.executeUpdate(Sessi onImpl.java:1130)
    at org.hibernate.impl.QueryImpl.executeUpdate(QueryIm pl.java:94)
    at com.novell.zenworks.datamodel.session.hibernate.Ab stractHibernateSessionImpl.simpleUpdateByQuery(Abs tractHibernateSessionImpl.java:700)
    ... 8 more
    Caused by: java.sql.SQLException: The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "fk_zZENObject_ParentUID". The conflict occurred in database "Zenworks", table "dbo.zZENObject", column 'ParentUID'.
    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnos tic(SQLDiagnostic.java:365)
    at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(Td sCore.java:2781)
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCor e.java:2224)
    at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(T dsCore.java:628)
    at net.sourceforge.jtds.jdbc.JtdsStatement.processRes ults(JtdsStatement.java:525)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL (JtdsStatement.java:487)
    at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.ex ecuteUpdate(JtdsPreparedStatement.java:421)
    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement .executeUpdate(NewProxyPreparedStatement.java:105)
    at org.hibernate.hql.ast.exec.MultiTableDeleteExecuto r.execute(MultiTableDeleteExecutor.java:115)
    ... 13 more

  • Assigning user roles in my application in a programatic way

    Hi,
    How can I assign user roles in a programatic way when I am using the Sun One 7 server? Is that possible?
    Thanks,
    Wanderley.

    Sorry, but I need to know HOW can I assign roles( RolesPrincipals) to the container Subject (using JAAS)?
    When I am using, for instance Tomcat, I assign the roles to the container's Subject defining the Roles Principals in server.xml. Like this:
    <Realm className="org.apache.catalina.realm.JAASRealm"
                 userClassNames="br.com.caf.security.auth.LoginPrincipal"
                 roleClassNames="br.com.caf.security.auth.RolesPrincipal"/>Doing that, Tomcat will know which Principal to return when I call "request.getUserPrincipal()".
    In JBoss I implement a LoginModule (org.jboss.security.auth.spi.AbstractServerLoginModule) that defines who is my User (LoginPrincipal) and his Roles (RolesPrincipal).
    How can I assign user and his roles to the container's subject in Sun One?
    Thanks,
    Wanderley.

  • Assign SQ03 Abap Query User Group to role

    Please advise how to assign SQ03 Abap Query User Group to a role. Thanks.
    Moderator message: please do more research before asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 12, 2011 5:40 PM

    Hello Sunil,
    The problem is that I have hundreds of users to maintain user groups.
    found out that it is possible to assign user group to role and role to user groups. implementing hr authorization with in-direct assignment of auth. So if I could use sq10, user groups could also be link to position in the org chart.
    sq10 does allow you to assign a user group to a role but when you assign the role to a user and the user runs a query, it reports that no user group has been assigned.
    Suspect that there must be a parameter or switch that is not turned on
    Regards

  • About assigning users to role

    Hi all.
    Could I assign users to a role by web dynpro callable object?
    I mean , there is a inputfield in web dynpro view,if I enter a name ,will call some methods to assign the name to a role.

    Hi
    Ya it is possible through IRole and IUser API, take help form following thread and code
    1.[GP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814]
    2.[example how to Call to IUSer and IRole|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0957cb6-5103-2a10-6d9d-a0a4d68c8bf1]
    3. In second thread the user data is populated here you have to put your code
              example IRole  role;
                         role.addUserMember(arg0)
                            role.removeUserMember(arg0)
    Hope you will come to the solution.
    Best Regards
    Satish Kumar

  • OBI 11.1.1.6-Restrict visible application roles while sharing customization

    Hi,
    I am trying to test the security around share customizations functionality accessed through (any)Dashboard -> Page Options -> Save Current Customization -> Save for Others -> Set Permissions -> (+)Add Roles/groups -> Search Application Roles
    While searching for the Application roles, user gets to see all Application Roles and can assign the customization to any role. The search should have shown only the Application roles assigned to the user else irrelevant customization can be assigned to other application roles which cannot see the data for the selected filters in the customization
    Is there some configuration setting somewhere to restrict the application roles seen in the search option while saving customizations for others?

    896267 wrote:
    Nope. Manage Privileges -> Save Customization feature just provides access to save the customization for the defined role(s).
    The question is related to Saving customization for others through the Set Permission dialog box.There is no such setting as the list of application roles and catalog groups are directly sourced from system-jazn-data.xml file and the catalog. In the user trianing, you could probably let the users know to prefix the application role name for that set of filters.
    Thanks,
    -Amith.

Maybe you are looking for

  • 3rd generation iPod Touch and Video Out - "whoops!!!"

    Before I jump to any conclusions about Apple, here is my experience with the Video out operation of my brand new 3rd generation 64 GB iPod Touch. This is my third iPod and about a year ago I decided (at great personal expense) to purchase the Apple C

  • Oracle 8.1.6 Installation on RedHat 6.2

    I was sitting here now for 1 day and now got Oracle 8.1.6 installed on RedHat 6.2. First I downloaded it from the Oracle-Ftp-Server and wanted to run the "runInstaller". That didn't work because of bin/jre not found. In the version 8.1.5 I had an ext

  • PowerShell on Windows 8.1 Pro x64

    Last week I installed Windows 8.1 Pro x64 on my business laptop. Since I am in the process of learning PowerShell I could not find PowerShell(x86) nor PowerShell ISE and PowerShell ISE(x86), I found only PowerShell. Is this normal or something went w

  • Question about creating a head shot with text

    A local actor wants me to create a head shot...The only photo application I have is iphoto. He wants his name to appear at the bottom of the 8 1/2 X 11 print. Can I add text to a regular photo and have it appear in the print? Or is there another way?

  • I am no good at this

    Hello everyone out there on the internets. I am in my third week of a Java class. I am trying to show at least a small amount of progress to my instructor, so if anyone could tell me where my stupid mistakes are in this code it would be greatly appre