portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (JS1-489) Illegal URLConnection state in org.apache.jetspeed.portal.portlets.WebBrowserPortlet
Date Tue, 08 Jun 2004 21:46:10 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-489

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-489
    Summary: Illegal URLConnection state in org.apache.jetspeed.portal.portlets.WebBrowserPortlet
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Jetspeed
 Components: 
             Portlets
   Versions:
             1.5

   Assignee: 
   Reporter: Sathija Pavuluri

    Created: Tue, 8 Jun 2004 2:44 PM
    Updated: Tue, 8 Jun 2004 2:44 PM
Environment: Windows XP, Jetspeed running within Tomcat container.

Description:
In the getReader(String) method of org.apache.jetspeed.portal.portlets.WebBrowserPortlet class,
the encoding is obtained by calling the getContentEncoding() on the URLConnection object.
Subsequently the Authorization request header is set by calling setRequestProperty which causes
IllegalStateException of "Already connected".

Apparently, once the method getContentEncoding() is called a connection is already established
which throws this exception.

The fix would be to call the getContentEncoding() method after setting the required request
headers.





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message