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