This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Siteminder Timeout Overriding Weblogic Timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Siteminder Timeout Overriding Weblogic Timeout" Watch "Siteminder Timeout Overriding Weblogic Timeout" New topic
Author

Siteminder Timeout Overriding Weblogic Timeout

orjun thengdi
Greenhorn

Joined: May 13, 2006
Posts: 1
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
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Are you using Siteminder for SSO(Single-Sign-On) ? If yes, what LDAP does?
Pascal Roche
Greenhorn

Joined: Jul 18, 2006
Posts: 1
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Siteminder Timeout Overriding Weblogic Timeout
 
Similar Threads
Browser timeout OR session timeout
Killing cookies when session is invalidated
Siteminder session timeout - AJAX response issue
Axis2 stub Client taking time to get response from a webservice
Transaction Timeout Issue - Weblogic