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

Summary: HTTP Server prints confusing message to stdout (seen on monitor replay)
Product: ide Reporter: Ana.von Klopp <avk>
Component: Internal ServerAssignee: issues@ide <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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