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:46:10 UTC

[jira] Created: (JS1-489) 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-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


[jira] Closed: (JS1-489) 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: Wed, 14 Jul 2004 6:59 PM

This portlet described is a 3rd party portlet.  Please contact the author of the portlet with any issues that you may have.
---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: WON'T FIX

    Project: Jetspeed
 Components: 
             Portlets
   Versions:
             1.5

   Assignee: 
   Reporter: Sathija Pavuluri

    Created: Tue, 8 Jun 2004 2:44 PM
    Updated: Wed, 14 Jul 2004 6:59 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