1 Reply Latest reply on Apr 23, 2013 8:54 AM by Colm Divilly-Oracle

    PWC3990: getWriter() has already been  called... (Glassfish)

    1004817
      Currently i'm installing APEX on Glassfish. I would like to configure it on http://localhost:8080/apex/listenerConfigure but i'm getting the following:

      HTTP Status 500 -

      exception
      java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this response

      I couldn't find a solution on the web for the moment.
        • 1. Re: PWC3990: getWriter() has already been  called... (Glassfish)
          Colm Divilly-Oracle
          1001814 wrote:
          Currently i'm installing APEX on Glassfish. I would like to configure it on http://localhost:8080/apex/listenerConfigure but i'm getting the following:
          From the Listener 2.0.1 Release Notes (http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25068/toc.htm#BAJIHHCJ)

          Application Express Listener no longer supports the Listener Administration web-based version from the previous releases. Use Oracle SQL Developer Listener Administration to configure the Application Express Listener. See Oracle SQL Developer User's Guide for details.

          You can also use the Listener command line commands to configure the Listener.

          This means there is no listenerConfigure or listenerAdmin URLS in 2.0.x, use the command line (java -jar apex.war) or SQL Developer instead.

          >
          HTTP Status 500 -

          exception
          java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this response

          I couldn't find a solution on the web for the moment.
          This is a regression that only happens on GlassFish when listener attempts to do some redirects, on GlassFish when a redirect occurs GlassFish writes to the response stream itself, then when Listener also tries to write to the response stream GlassFish complains with the above error.

          This will be addressed in the patch release of Listener.