Message:

   The following issue has been closed.

   Resolver: Jeremy Ford
       Date: Sat, 19 Jun 2004 1:33 PM

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

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

     Status: Closed
   Priority: Minor
 Resolution: DUPLICATE

    Project: Jetspeed
 Components: 
             Portlets
   Versions:
             1.5

   Assignee: 
   Reporter: Sathija Pavuluri

    Created: Tue, 8 Jun 2004 2:44 PM
    Updated: Sat, 19 Jun 2004 1:33 PM

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to