Sunday, July 3, 2011

JDev/ADF sample - Oracle WebCenter 11g PS3/PS4 Workaround for User Session Timeout Error 404

  • Oracle WebCenter 11g PS3/PS4 Workaround for User Session Timeout Error 404. Most of you who are developing/using WebCenter 11g PS3/PS4 apps, probably noticed one annoying behavior related to user session timeout - Error 404 Resource not Found. Starting from ADF 11g PS3, user session timeout is handled by ADF with a new session timeout warning functionality. By default, 2 minutes before session expiry, ADF informs user to resume activity, if no action was taken after 2 minutes another warning message will inform about session timeout. Once user comes back and press OK for session timeout warning - automatic redirect happens to landing login page, this behavior is controlled by ADF Security. Read more about session timeout warning functionality from Frank Nimphius blog - How-to enable user session time out warning (JDev 11.1.1.4). While this works well with ADF, it doesn't want to work so well with WebCenter. Mainly because WebCenter navigation model prevents ADF Security to redirect successfully to login page. However, I have found workaround for WebCenter project as well, you are free to use it, until it will be fixed in future versions.
    Download - EnterprisePortalApp_v4.zip

1 comment:

Anonymous said...

Hi Andrejus,

Is is possible to customize the ADF session timeout warning message popup? I'm using JDeveloper 11.1.2.1.0