The user is losting the session during the navigation and it's redirected to the logi

I have problems with the user login session, The user is losting the session during the navigation and it's redirected to the login page

There is 6 servers into the same virtual IP on the enviroment

There is an alias that balances between those.

When this error happens, a given user that was logged on the affected server, got stuck into that one.

If he F5 the screen nothing happens, when he input the user/pass the screen blinks and the screen refresh

Then the user get back to the login screen. Without any visual error.  That's what an affected user will see.

This happens for Service Center login screen and also for ower application. Both will present the same behavior.

I think this problem can be a issue of how the platform store the user session and this problem is happening in all applications, including the Service Center.


We need to know more how the platform store this session to investigate this case.

I had done debug at production. The Session Value was empty. So the redirect page was done to same page.

It is exactly behavior the application and the Service Center.

This happens sometimes and them the issue clear by itself.

Today with higher volume this has already affected 2 servers.

when the servers are restarted they got back to normal.

So at this moment we aren’t facing issues but this is a recurrent situation.

Does anyone knows how can be the problem ? why the aplication lost the user session

unexpectedly ?


If I'm not mistaken, the session mechanisms used by the OutSystems platform are exactly those used by ASP.NET. You can read about them on MSDN( ).

Your issue being intermittent makes it hard to figure out.

Are you sure losing the session is random? Couldn't it be some screen or action that is logging the user out, doing a "tenant switch" (which clears the session), deleting the session cookie, redirecting to another domain, or something along those lines? All of the things I listed will cause a user to lose the session.

Since you have a load balancer, am i right to assume the users are always in the same domain when navigating through your application? Because sessions are tied to the domain.


Thanks for your help João Pedro, 

Today we had the same problem, but at this time we got a log message with the error bellow and we the problem is the open cursors , we'll check what's happen

thank you

/RedirectToHome.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@7672ace4]

13:42:07,436 INFO  [stdout] (http-/ XYZ-INICIO

13:42:07,437 INFO  [stdout] (http-/ XYZ-ConsultaBureau()

13:42:07,437 INFO  [stdout] (http-/ XYZ-ConsultaBureau()

13:42:07,437 INFO  [stdout] (http-/ XYZ-ConsultaBureau()

13:42:07,989 INFO  [stdout] (http-/ XYZ-Fim

13:42:09,581 ERROR [stderr] (http-/ java.sql.SQLException: ORA-01000: maximum open cursors exceeded

13:42:09,581 ERROR [stderr] (http-/ ORA-06512: at "T1_OS_STATE_O.TEMPCREATEORUPDATESTATEITEM", line 24

13:42:09,581 ERROR [stderr] (http-/ ORA-06512: at line 1

13:42:09,581 ERROR [stderr] (http-/

13:42:09,582 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CTTIoer.processError(

13:42:09,582 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CTTIoer.processError(

13:42:09,582 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4C8Oall.processError(

13:42:09,582 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CTTIfun.receive(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CTTIfun.doRPC(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4C8Oall.doOALL(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CCallableStatement.doOall8(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(

13:42:09,583 ERROR [stderr] (http-/    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(

13:42:09,584 ERROR [stderr] (http-/    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(

13:42:09,584 ERROR [stderr] (http-/    at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(

13:42:09,584 ERROR [stderr] (http-/    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(

13:42:09,584 ERROR [stderr] (http-/    at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)

13:42:09,584 ERROR [stderr] (http-/    at sun.reflect.DelegatingMethodAccessorImpl.invoke(

13:42:09,584 ERROR [stderr] (http-/    at java.lang.reflect.Method.invoke(

13:42:09,585 ERROR [stderr] (http-/    at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(

13:42:09,585 ERROR [stderr] (http-/    at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(

13:42:09,585 ERROR [stderr] (http-/    at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(

13:42:09,585 ERROR [stderr] (http-/    at com.sun.proxy.$Proxy154.executeUpdate(Unknown Source)

13:42:09,585 ERROR [stderr] (http-/    at outsystems.hubedition.runtimeplatform.db.DbCommand.execute(Unknown Source)

13:42:09,585 ERROR [stderr] (http-/    at Source)

13:42:09,585 ERROR [stderr] (http-/    at outsystems.hubedition.http.OSRequest.dispose(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at outsystems.hubedition.http.OSRequest.dispose(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at outsystems.hubedition.http.o.executeImpl(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at outsystems.hubedition.util.delegates.Action$Action0.execute(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at outsystems.hubedition.http.HttpContext.endRequest(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at outsystems.hubedition.webwidgets.filters.HttpContextFilter.doFilter(Unknown Source)

13:42:09,586 ERROR [stderr] (http-/    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

13:42:09,587 ERROR [stderr] (http-/    at org.apache.catalina.core.ApplicationFilterChain.doFilter(

13:42:09,587 ERROR [stderr] (http-/    at org.apache.catalina.core.StandardWrapperValve.invoke(

13:42:09,587 ERROR [stderr] (http-/    at org.apache.catalina.core.StandardContextValve.invoke(

13:42:09,587 ERROR [stderr] (http-/    at

13:42:09,587 ERROR [stderr] (http-/    at org.apache.catalina.core.StandardHostValve.invoke(

13:42:09,587 ERROR [stderr] (http-/    at org.apache.catalina.valves.ErrorReportValve.invoke(

13:42:09,588 ERROR [stderr] (http-/    at org.apache.catalina.valves.AccessLogValve.invoke(

13:42:09,588 ERROR [stderr] (http-/    at org.apache.catalina.core.StandardEngineValve.invoke(

13:42:09,588 ERROR [stderr] (http-/    at org.apache.catalina.connector.CoyoteAdapter.service(

13:42:09,588 ERROR [stderr] (http-/    at org.apache.coyote.http11.Http11Processor.process(

13:42:09,588 ERROR [stderr] (http-/    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

13:42:09,588 ERROR [stderr] (http-/    at$

13:42:09,588 ERROR [stderr] (http-/    at




did you resolve the issue ORA-01000: maximum open cursors exceeded?