Consultor Eletrônico



Kbase P44460: Connection to Aia fails with Java Exception: java.lang.IllegalStateException: getWriter()
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/4/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x
Tomcat
All Supported Operating Systems

SYMPTOM(s):

Can not connect Aia using http://hostname:port/aia/Aia

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

Trying to connect without using straight HTTP

Secure AIA is installed on the system

CAUSE:

When AIA/S is installed it is setup to use HTTPS by default. You need to turn off HTTPS before you can make a connection not using SSL.

FIX:

Using the Progress Explorer select the AIA servlet you are using. Right click and select properties. On the General tab unselect HTTPS.

If you choose not to use the Progress Explorer Tool you can edit the <DLC>/properties/ubroker.properties file. Under the servlet you are using find httpsEnabled=1. Change this parameter to httpsEnabled=0.

Restart the Tomcat Servlet Engine after changing the httpsEnabled property.