My Oracle Support Banner

Session Lost When Running Application in OC4J 10.1.3 Standalone through HTTPS (Doc ID 786320.1)

Last updated on JULY 20, 2018

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Application developed with JDeveloper 10.1.3.x runs successfully on 10.1.3.x OC4J standalone when
accessed with http protocol.
When the applications are accessed via https then, after some time, the login mask reappears, and
the user is asked again for login credentials (username/password).

Sometimes after several login trials, the user gets the following message:

500 Internal Server Error
Servlet Error: An exception occured. The current application deployment descriptors do not allow
for including it in this response. Please consult the application log for details.



and the application.log file reports:

Servlet error
javax.faces.FacesException: #{LoginBean.authenticateUser}: javax.faces.el.EvaluationException:
java.lang.NullPointerException
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.jheadstart.controller.jsf.AuthenticationFilter.doFilter(AuthenticationFilter.java:291)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)



The issue occurs randomly.
The same behavior occurs with Internet Explorer browser and with Firefox.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.