• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Siteminder Timeout Overriding Weblogic Timeout

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I wanted some inputs on the following senario... I have an application running on Struts - Weblogic - Oracle Framework. We have been using Siteminder and LDAP authentication with Weblogic. The problem is as follows...

Once a user logs in and is authenticated by Siteminder, there is a complex calculation that takes place in one of the Applications' modules ( which takes more than 1Hr.) Now so that the Weblogic session does not get timed (set to 30 min timeout) out we have written a refresh logic on the JSP that pings the Database every 90 seconds...

we are using the following URL which POSTs and redirects to the same JSP.

URL=/rms/RFGenerate.do?actionString=refresh_complete&PERMISSION_CODE=RevenueForecasting&REPORT_NAME=RevenueForecasting&REQUEST_TYPE=report&distribution=VIEW&format=CSV


Even though this work well when we do not use Siteminder Authentication, with Siteminder, the Application gets timed out (redirects to login page) even though the calculation is continuning in the Background. I understand that there a 2 different timeout parameters for Siteminder and Weblogic. What I want to understand is how can siteminder timeout the session even though I am sending a request to the server every 90 seconds.
Also if someone can guide me for the solution of such a problem...

Thanks in advance
 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using Siteminder for SSO(Single-Sign-On) ? If yes, what LDAP does?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Siteminder manages 2 differents session timeouts :
- idle timeout (happens after a given time of inactivity)
- maximum timeout (happens after a given time since the last authentication).
If you get a reauthentication page when you ping the server frequently, it's probably because your calculation exceeds the maximum timeout, so you should set the value of this parameter (in the session tab of the realm dialog box) greater than the maximum length of you calculation.
 
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic