History columns in  custom security setting

Hi
JDeveloper 11.1.2.2.0
JHeadstart 11.1.2.1.28
Authentication type = Custom
Authorisation type = Custom
i changed the base class of application module in my model project to (oracle.jheadstart.model.adfbc.v2.JhsApplicationModuleImpl)
and i add , in applicationmoduleImpl.java this changes
protected void prepareSession(Session session) {
ApplicationModule am = getDBTransaction().getRootApplicationModule();
JhsApplicationModule jhsAm = (JhsApplicationModule)am;
Object user = jhsAm.getUser();
JhsUserContext userContext = (JhsUserContext)user;
session.getEnvironment().put(PropertyMetadata.USER_PRINCIPAL.getName(),userContext.getDisplayName());
super.prepareSession(session);
but when i run the ViewController and i want to login ..................
Error 500--Internal Server Error
javax.faces.el.EvaluationException: //C:/Users/user01/AppData/Roaming/JDeveloper/system11.1.2.2.39.61.83.1/o.j2ee/drs/sp11/ViewControllerWebApp.war/security/pages/Login.jsf @21,88 action="#{LoginBean.authenticateUser}": oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: Application pool sp11.model.apm.clubLocal fails to check out an application module due to the following exception:
     at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:970)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:351)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
     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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.jheadstart.controller.jsf.AuthenticationFilter.doFilter(AuthenticationFilter.java:289)
     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:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
     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:139)
     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: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: Application pool sp11.model.apm.clubLocal fails to check out an application module due to the following exception:
     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2556)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
     at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
     at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
     at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
     at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
     at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
     at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
     at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
     at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
     at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
     at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
     at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
     at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1503)
     at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
     at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:557)
     at oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider.getDataControl(JhsModelServiceProvider.java:51)
     at oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider.getJhsModelService(JhsModelServiceProvider.java:100)
     at oracle.jheadstart.controller.jsf.bean.LoginBean.doCustomAuthentication(LoginBean.java:138)
     at oracle.jheadstart.controller.jsf.bean.LoginBean.authenticateUser(LoginBean.java:124)
     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 com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
     at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
     ... 54 more
Caused by: java.lang.NullPointerException
     at sp11.model.apm.clubImpl.prepareSession(clubImpl.java:35)
     at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6898)
     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:174)
     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
     ... 88 more
please help me
what is the problem
it was worked in another project but in this one is not worked?
thanks

Run in debug mode and set a breakpoint in JhsModelServiceImpl.createUserContext, then you can see what is going on.
What might be happening is that the first time in prepareSession the user context is not yet set, because it needs to first query the JHS security table to check the login.
So, when calling jhsAm.getUser() you need to check whether that returns an object.
Steven Davelaar,
Jheadstart team.

Similar Messages

  • How to set record history for a customized form?

    i have created a customized form and register it onto apps. everything is working fine expect for the Record History part. while going to Help -> Record History for my customized form it showing error message -
    Recird History is not availbale here.
    Please suggest if i have to write a specific trigger for setting the record history. also please provide the sample code for the same.
    Thanks,
    Sam

    Sam,
    Please see if these threads help.
    How to enable record history for custom forms
    How to enable record history for custom forms
    RECORD HISTORY (or) WHO COLUMNS in R12???
    RECORD HISTORY (or) WHO COLUMNS in R12???
    Regards,
    Hussein

  • Cannot change setting in privacy from remember history to use custom settings for history. I can set in to change but on closing with the ok button thus closing the privacy tab, it then reverts back to remember history.

    I have been by a web sit that the cookies are disabled in the browser. on looking at the help on firefox help the instuction as i understand was to change the setting under the privacy tab ref history fromthe default setting of rember hhistory to use custom settings for history. I change the setting click ok but it reverts back to rember history. I just cannot change the setting.This also happend in the prevous version.

    To see History and Cookie settings in Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    You need to make at least one change to make "Use Custom settings" stay selected.
    If all history settings are the default then the History and Cookie setting revert to "Remember history" the next time you open Tools > Options > Privacy.
    So it looks that your cookie setting are already correct.
    * http://kb.mozillazine.org/Cookies
    * http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • When I change from "remember History" to "use custom settings" it defaults back to remember history when I close the window. How do I keep my new setting?

    I need 3rd party cookies enabled for a specific site. When I try to save custom settings, it defaults back to remember history and I can't open what I need on the site

    Enabling thirds-party cookies is the default and if there aren't any other changes made then Firefox will show "Remember History"
    Choosing the "Use custom settings for history" setting doesn't make any changes.<br />
    If Firefox shows the "Use custom settings for history" setting then that is an indication that at least one of the history and cookie settings are not the default to make you aware that changes were If all History settings are default then you see "Firefox will: (Never) Remember History" and the custom settings are hidden.<br />

  • Options/Privacy/History/custom-is set to remember. Why then are there "no items" in the library???

    I want to see my history! FF 24 is set to remember browsing, download, search and form!
    No items it library!

    You're welcome

  • Not able to update history columns in Jdeveloper11.1.1.3.0

    Hi ,
    We have one ADF application that is migrated from 10g to 11g.And our application is deployed on the weblogic server.
    We are Using JDeveloper 11.1.1.3.
    we are facing some session time out issues in the application which is intermitent and whenever we leave the web page for some times, the session get timed out and page gets errored out.
    We have checked the error trace and seems after comming back to the page say around 20-25 mins and tried to update any record in the table it throws the error.
    Jan 4, 2012 4:24:36 AM com.sun.faces.application.ActionListenerImpl processAction
    SEVERE: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
    javax.faces.el.EvaluationException: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         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:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at com.oracle.stbpo.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.RuntimeException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at com.oracle.stbpo.datamodel.appmodule.SecurityAMImpl.saveProgramUsrPermissions(SecurityAMImpl.java:1187)
         at com.oracle.stbpo.view.backing.security.PermissionListBackingBean.saveProgramPermissions(PermissionListBackingBean.java:182)
         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:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 38 more
    Caused by: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PGM_USR_PERMISSIONS(PGM_USR_PERMISSION_ID,PROGRAM_ID,LST_UPD_TSTMP,LST_UPD_USR,USER_ID,PERMISSION_ID) VALUES (:1,:2,:3,:4,:5,:6) RETURNING PGM_USR_PERMISSION_ID INTO :7; END;".
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:582)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:7990)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6319)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3168)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2976)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2014)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2273)
         at com.oracle.stbpo.datamodel.appmodule.SecurityAMImpl.saveProgramUsrPermissions(SecurityAMImpl.java:1180)
         at com.oracle.stbpo.view.backing.security.PermissionListBackingBean.saveProgramPermissions(PermissionListBackingBean.java:182)
         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:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.oracle.stbpo.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
         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)
         ... 9 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("STBPO"."PGM_USR_PERMISSIONS"."LST_UPD_USR")
    ORA-06512: at line 1
    Some how LST_UPD_USR is comming as null.
    We are Using JDeveloper 11.1.1.3.
    We have set the session time out parameter in web.xml as well as for AM.
    Attached is the problem statement doc.
    Also the behaviour is only on the weblogic server and we don't face any issues in the local set up.
    Kindly help us in solving this problem. Also let me know if any further details is required.
    Thanks
    Namit Kakkar

    Thanks John
    My Web logic server version is WebLogic Server 10.3.3.0..
    Java Version:     
    1.6.0_20
    OS Name:     
    Linux
    OS Version:     
    2.6.18-164.0.0.0.1.el5
    JACC Enabled:     
    false
    Also I have find some where that there is some issues with the Jdev11.1.1.3.0 updating the history columns.
    Further, We have migrated the application from ADF10g to 11g (11.1.1.3.0)
    and we are using trinidad tags .
    Do we have any issues with the Trinidad libraries?
    Please help me in fixing this issue.
    Thanks
    Namit.
    Edited by: 899138 on Jan 5, 2012 1:54 AM

  • Not able to save date column with custom date format. in OBIEE 11g

    Hi,
    I have migrated one report from OBIEE 10g to 11g. There is a date column with customized date format(i.e. Default format is 'dd-MMM-yyyy' and I have used 'MMM-yyyy').
    But when I use this custom format and try to save the report in 11g its giving this below error.
    ''Catalog object privilege validation failed for user to path /shared/ALM BI/Finacial Results/History Income Statement Detail.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup.
    This HTML might be present in column headings, table headings, text views, narrative views, the print header,
    or the print footer and must be removed before saving.''
    Please let me know what changes I need to do for this.
    Regards,
    Ambika Nanda.

    Hi ,
    privilage issues...check the security settings once..
    Thanks,
    Ananth

  • History Columns - Modified by - EL expression - JHS 10.1.3.3

    Hi,
    We dont use custom authentication implementation available in Jheadstart. We use our own user defined authentication mechanism and we set the user id information in the cookie.
    When we mark a column under "history columns - modified by", we would like to use the cookie value using an EL expression like ${cookie.ShopperCookie.value}, instead of JhsUser.JHS_USER_KEY ? Can this be possible? How do we do it?
    Or do you want us to create a new JhsUser object with this userid info and set in session when we set the user information in the cookie? Is there any other place like EntityImpl that we can create this object(jhsUser) and set it in session?
    Any pointers?
    Thanks,
    Siva

    Hi Siva,
    Apparently the current user can not be retrieved when using these adf history columns. Maybe it is relying on the JAZN JAAS provider instead of the your custom authentication method. You can try to override the mechanism of retrieving the current user information when using "ADF History attributes". Maybe some guys on the jdeveloper forum can give you some pointers on how to do that.
    JDeveloper and ADF
    Alternatively you can fill your history columns without using the ADF History functionality by extending the EntityImpl class and overriding some of it's methods. Have a look at pascal's blog for some pointers on how to do that. (google on "Pascal’s Blog » Filling audit columns automatically with ADF")
    Regards,
    Ruud Bijkerk
    JHeadstart team

  • Using History Columns without SecurityManager

    Hi
    There is a nice feature in BC4J which allows to manage history columns ("created by", "modified by") automatically. See Entity Wizard/Attribute/Checkbox "History column".
    This mechanismn uses JAZN to retrive the Name of the User.
    This is a nice feature as long as you use JAZN for security management. But is there a hook, which I can use, to provide the user name from a different source, like my own implementation of a (non standard) security manager? Something like a method which I can override to retrive the correct user name?
    Any hints are welcome
    Frank Brandstetter

    As there is no setter for the UserPrincipalName, as it's propagates through JAAS, you have to use some kind of security which maps to the adf security.
    Timo

  • In PWA, can I use a "Site Column" as "Custom Field" or vise versa?

    Hello,
    I am using PS 2013; I was wondering how/where "Custom Fields" are created? How there are related to the Site Column?
    Can I create a site column and use it as a Custom Field? 
    Hope my question is clear ^_^

    Hello,
    As Guillaume has mention, there is no link between SharePoint site columns and Project Server custom fields, they are different entities used for different parts of the system. Site Columns are a SharePoint setting that can be used in the lists / libraries
    on the SharePoint sites. Project Server custom fields are used by Project Server and not SharePoint. Project Server custom fields are created via the PWA > PWA Settings > Enterprise Custom Fields and Lookup Tables page. You can see a post
    here on creating Project custom fields in the second half of this post:
    http://pwmather.wordpress.com/2014/01/17/getting-started-with-projectonline-part-2-ps2013-office365-project-ppm-sharepointonline-pm/
    Scroll down to the section starting with: "Before we look at creating custom fields lets have an overview.." for details on custom fields.
    You can also create Project Server custom fields and lookup tables programmatically using the PSI / CSOM / JSOM if needed.
    There are ways in which you can "sync" SharePoint columns with Project Server custom fields but this is not out of the box. You would need to look at developing your own solution or look for a 3rd party solution. Fluent Pro have a solution to sync
    Look up tables with other sources such as a SharePoint list, see the Lookup Manager here:
    http://www.fluentpro.com/project-server/other-products/products-for-project-server-2013/
    If you just want Project Server data / fields to be available as a option for a list item on a SharePoint list, look at using the BCS, an example can be seen here:
    http://blogs.catapultsystems.com/epm/archive/2010/11/02/adding-project-server-data-as-columns-to-sharepoint-sites.aspx
    Hope that helps
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • I forgot my security questions and I have a different email address but it's not updated to my Apple ID how can I change my security setting and how to rescue my Apple ID?

    I forgot my security questions and I have a different email address but it's not updated to my Apple ID how can I change my security setting and how to rescue my Apple ID?

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • How to pass custom cookie from report builder application to SSRS Custom Security Extension?

    We want to implement SSRS in SaaS model. We implemented Custom Security extension in order to authenticate users from other application. When user enters username/password, i would like to authenticate the user in other application and it will return some data which can be used for autherization. I am expecting the same set of data will be accessible during all autherization calls.
    Currently we are implementing this in Report Builder application. I couldn't able to persist the information in cookie. Report builder removes all the cookies exceprt one cookie which is used by report server.Is there any way to share the information in all reportbuilder autherization calls in same session?

    if you have your own data extension, you can using
    HttpContext.Current.Application.Add("yourkey",
    yourdata);
    to save your data, but the issue I met it the key, I cannot find a key depended on report builder. If I use username, if the user open 2 report builder, both of them will get the same key and same data, but at this case the data should be different.
    I hope it will help you.

  • Custom security provider exception

    Good day, colleagues. I want to raise an old topic.
    I use custom security provider exceptions:
    -AccountExpiredException
    -AccountLockedException
    However, the login() method only captures FailedLoginException
    try
      CallbackHandler pwcall = new weblogic.security.URLCallbackHandler(user, pass.getBytes("UTF-8"));
      subject = weblogic.security.services.Authentication.login(pwcall);
      weblogic.servlet.security.ServletAuthentication.runAs(subject, request);
    catch (javax.security.auth.login.LoginException e) {
      e.printStackTrace();
    javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User ...
      at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:240)
      at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
    I found similar questions IdentityAssertion custom exception, FailedLoginException asked many years ago for WLS 9.2
    Their solution (wlp.propogate.login.exception.cause=true) does not work for WLS 10.3.
    How to propagate original LoginException?
    Or exception message only.

    I did it! look closely to source code:
    javax.security.auth.login.LoginContext:875
    if (moduleStack[i].entry.getControlFlag() == AppConfigurationEntry.LoginModuleControlFlag.REQUISITE) {
      // if REQUISITE, then immediately throw an exception
      if (methodName.equals(ABORT_METHOD) || methodName.equals(LOGOUT_METHOD)) {
           if (firstRequiredError == null)
                firstRequiredError = le;
      } else {
           throwException(firstRequiredError, le);
    } else if (moduleStack[i].entry.getControlFlag() == AppConfigurationEntry.LoginModuleControlFlag.REQUIRED) {
      // mark down that a REQUIRED module failed
      if (firstRequiredError == null)
           firstRequiredError = le;
    } else {
      // mark down that an OPTIONAL module failed
      if (firstError == null)
           firstError = le;
    javax.security.auth.login.LoginContext:922
    // we went thru all the LoginModules.
    if (firstRequiredError != null) {
      // a REQUIRED module failed -- return the error
      throwException(firstRequiredError, null);
    } else if (success == false && firstError != null) {
      // no module succeeded -- return the first error
      throwException(firstError, null);
    } else...
    I set Control flag: OPTION to DefaultAuth (was REQUIRED)
    and order it after my LoginModule. (restart required!)
    Now I catch my exceptions %)

  • What is the best way to deploy/update custom security realm classes to WLS 6.0?

    From the WLS 6.0 console, I see that I can specify the Java class that
    implements my custom security realm but I am wondering what is the best way
    to deploy/update this code. I don't see a way to do this from the console.
    Does this mean that I have to manually copy the class files over that
    implement my custom security realm?

    Thanks Danut,
    A jar file seems to be a good way to package it up but it sounds like it
    still needs to be manually copied to each Weblogic server install directory
    post-installation and whenever it is updated. I thought it would be nice to
    be able to deploy/update the custom security realm by uploading it through
    the Console just as you can with web applications and EJBs.
    Brian
    "Danut Prisacaru" <[email protected]> wrote in message
    news:3aba2db0$[email protected]..
    You have to have your Custom Realm class in the class path. I usually havea
    jar file with all the Custom Realm classes and that jar I copy it in thelib
    folder. Then I modify "startWebLogic.cmd" and I add to the classpath
    ".\lib\CustomRealm.jar"
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\CustomRealm.jar;
    >
    Be aware that in order to have you custom realm besides creating thecustom
    realm using the console you also have to create a custom caching andchoose
    that one as your default caching realm.
    Here is how the security settings are looking in my "config.xml"
    <CustomRealm Name="CustomRealm"
    RealmClassName="Custom.appserver.weblogic.security.CustomRealm"/>
    <CachingRealm BasicRealm="CustomRealm" CacheCaseSensitive="true"
    Name="CustomCachingRealm"/>
    <Realm CachingRealm="CustomCachingRealm" FileRealm="wl_default_file_realm"
    Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <Security GuestDisabled="false"
    Name="mydomain" PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm"/>
    Danut

  • How to maintain change history for a custom field

    Hi All,
    I have added a new custom field in standard table FKKVKP by appending a new structure to FKKVKP. Now this custom field will appear in transaction CAA2. My requirement is I have to maintain change history for my custom field. In transaction SCDO I have seen that there is an object MKK_VKONT that maintains change history for FKKVKP entries. But I am not aware how to adjust this field so that SAP generates change history for my custom field as well.
    Thanks in advance,
    Venkat

    Venkatesh,
    DFKKTAXEX
    FKKVK
    FKKVKP
    FKKVK_CORR
    I have never used these tables but I have working experience with change docs.
    The Z field which you have added should be in the above structures, then you should be able to see that field in the changes.
    Of course change document should be set to that field-data element.

Maybe you are looking for

  • Handling unpredicted error message with return value of the same  in BDC

    Hi all, When i create a bdc program to create a purchase order , the screen stops at an message (of type I). in background mode (eg : Sometimes becoz of condensing problem in fields and character conversion). In such cases i need to move on with tran

  • Idoc data record updating which tables ???

    Hi, I want to check Idoc posted in SAP , is updating which database tables ? Could any one please help me ? Idoc Basic type : RESAPS_SAVEMULTIPLE03 Message type : RESAPS_SAVEMULTIPLE Thanks.

  • Creating albums in photos, pictures disappear in album?

    When selecting photos on iPad to move to album folder, the selected photo appears and then instantly disappears in the album. what is going on?

  • Running Class JAVA from CICS on Z/OS Mainframe

    Hi , I am trying to invoke a Java class from CICS (4th language generation running as a CICS transaction) . I used FTP to create the Java class with BINARY option in Z/OS Unix Services (HFS organization) . How do I have to make the java class work ?

  • Issue with unregistered candidates registration

    I have created a service user RCF_WD_SERV an have mapped the role ZSAP_RCF_UNREGISTERED_CANDIDAT and SAP_BC_USR_CUA_CLIENT. also I have created a reference user RCF_CAND_EXT and mapped the role ZSAP_RCF_EXTERNAL_CANDIDATE. but when I test the hrrcf_a