You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ji...@apache.org on 2004/06/08 23:44:14 UTC

[jira] Created: (JS1-488) Illegal URLConnection state in org.apache.jetspeed.portal.portlets.WebBrowserPortlet

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: 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

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


[jira] Closed: (JS1-488) Illegal URLConnection state in org.apache.jetspeed.portal.portlets.WebBrowserPortlet

Posted by je...@jakarta.apache.org.
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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org