My Oracle Support Banner

java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream() Executing Long Running Reports (Doc ID 1573219.1)

Last updated on APRIL 10, 2023

Applies to:

Oracle Reports Developer - Version and later
Oracle Forms for OCI - Version and later
Information in this document applies to any platform.


Executing long running reports from a browser using OHS port or WLS_REPORTS port is failing with the following message:

Internet Explorer cannot display the webpage

Checking the job via showjobs shows that the report is finishing fine at back-end.


The following error is registered in WLS_REPORTS.out file:

####<Mar 28, 2013 7:50:07 AM CDT> <Error> <HTTP> <hostname.domain> <WLS_REPORTS> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <ID> <BEA-101020> <[ServletContext@10779770[app:reports module:/reports path:/reports spec-version:2.5 version:11.1.2]] Servlet failed with Exception
java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()
at weblogic.servlet.internal.ServletResponseImpl.getWriter(
at oracle.reports.rwclient.RWWriter.print(
at oracle.reports.rwclient.RWWriter.printErrorMsg(
at oracle.reports.rwclient.RWClient.handleException(
at oracle.reports.rwclient.RWClient.handleException(
at oracle.reports.rwclient.RWClient.processRequest(
at oracle.reports.rwclient.RWClient.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.TailFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(



 The data the report uses has increased and now it takes longer for the reports server to generate the output


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

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

In this Document

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