This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32158 - HTTP Server prints confusing message to stdout (seen on monitor replay)
Summary: HTTP Server prints confusing message to stdout (seen on monitor replay)
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 09:39 UTC by Ana.von Klopp
Modified: 2003-12-11 14:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2003-03-20 09:39:19 UTC
If a servlet registered on the internal server attempts to 
set the response encoding to UTF-8, then the server prints 
a message to stdout ("Unsuported encoding: UTF-8"). The 
message is harmless. 




This happens every time a user requests a replay through 
the HTTP Monitor. The servlet which serves up the data of 
the old request to the server side component needs to set 
the encoding to UTF-8 in case the original request contains 
Japanese characters for example. setEncoding is used to set 
the HTTP Header (without which the receiving URLConnection 
will not parse the stream correctly), but the Tomcat server 
also tries to open the writer with the encoding (which is 
unnecessary anyway, all you need is a 16bit writer). 




I don't expect that it is worth fixing this bug since the 
server will presumably be upgraded soon anyway.
Comment 1 _ rkubacki 2003-03-24 17:41:18 UTC
coming from 
jakarta-tomcat-3.2.3-src/src/share/org/apache/tomcat/core/ResponseImpl.java
Comment 2 _ rkubacki 2003-10-07 15:30:00 UTC
This probably wont be fixed until we upgrade internal HTTP server