Oracle Weblogic Server (MOSC)

MOSC Banner

java.lang.IllegalStateException relation with weblogic idle thread

edited Nov 25, 2013 9:30PM in Oracle Weblogic Server (MOSC) 1 commentAnswered
The following stacktrace appears with the attached program code. And it was found the weblogic idle thread dropped to 0 and required weblogic restart eventually.    What will be the cause and how can it be avoided?

java.lang.IllegalStateException: Session invalidation is in progress with different thread

        at weblogic.servlet.internal.session.SessionData.invalidate(SessionData.java:792)


doGet(HttpServletRequest request, HttpServeletResponse reponse)
{

    HttpSession session = request.getSession();
    session.setAttribute("logout","true");
    session.invalidate();
}

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center