Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error during ADF Security logout in 12c

eggilbertAug 22 2013 — edited Dec 3 2013

Hello,

I'm in the process of migrating my application from 11.1.2.4 to 12.1.2.0, and one thing I've noticed is the following error message in the weblogic logs when logging out of ADF Security:

<Error> <oracle.adf.share.http.HttpSessionScopeAdapter> <BEA-000000> <HttpSessionScopeAdapter:  Request is in an invalid state.  Could not access the request session.>

The logout still seems to work fine however. Currently I'm logging out with the following code (from here):

   ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
   ectx.redirect(ectx.getRequestContextPath() + "/adfAuthentication?logout=true&end_url=/faces/home");
   FacesContext.getCurrentInstance().responseComplete();

Every time I press logout, the above error happens 5 times in the logs.

I've also tried using the logout code from the 12c documentation and that produces the same error, but interestingly only produces that error 4 times.

Is there something extra or different that is supposed to be done to log out of ADF security in 12c? I can't imagine that getting an error repeatedly is what should be expected.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2013
Added on Aug 22 2013
7 comments
1,235 views