iPlanet portal gateway throws HTMLTranslator caught UnsupportedEncoding exception

iPlanet portal gateway throws HTMLTranslator caught UnsupportedEncoding exception when translating java.io.UnsupportedEncodingException: ibm-1047, exception. This happens when one of the web server that I try to access sends 401 Basic Authentication response. The web server is IBM HTTP Server/V5R3M0.

HTTP/1.0 401 Unauthorized

Accept-Ranges: bytes

Date: Thu, 14 Feb 2002 21:48:06 GMT

Content-Length: 285

Content-Type: text/html; charset=IBM-1047

Expires: Thu, 14 Feb 2002 21:48:06 GMT

Cache-Control: no-cache

Connection: keep-alive

Server: IBM HTTP Server/V5R3M0

Last-Modified: Thu, 14 Feb 2002 21:48:50 GMT

Pragma: no-cache

WWW-Authenticate: Basic realm="ODTSO"

Via: 1.1 casoddc0-2 (NetCache NetApp/5.1R2D9)

2/14/02 1:48:50 PM PST: Thread[Thread-173,5,main]

HTMLTranslator: Translate /cgi-bin/db2www/restricted/slsmkt/ffms/DriverEntry.d2w/input

2/14/02 1:48:50 PM PST: Thread[Thread-173,5,main]

HTMLTranslator caught UnsupportedEncoding exception when translating

java.io.UnsupportedEncodingException: ibm-1047

at java.lang.Throwable.fillInStackTrace(Native Method)

at java.lang.Throwable.fillInStackTrace(Compiled Code)

at java.lang.Throwable.<init>(Compiled Code)

at java.lang.Exception.<init>(Compiled Code)

at java.io.IOException.<init>(Compiled Code)

at java.io.UnsupportedEncodingException.<init>(UnsupportedEncodingException. java:37)

at sun.io.Converters.getConverterClass(Compiled Code)

at sun.io.Converters.newConverter(Compiled Code)

at sun.io.ByteToCharConverter.getConverter(Compiled Code)

at java.lang.String.getBTCConverter(Compiled Code)

at java.lang.String.<init>(Compiled Code)

at java.lang.String.<init>(Compiled Code)

at com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translateSB(C ompiled Code)

at com.iplanet.portalserver.gateway.connectionhandler.HTMLTranslator.translate(Com piled Code)

at com.iplanet.portalserver.gateway.connectionhandler.Session.processNextRequest(C ompiled Code)

at com.iplanet.portalserver.gateway.server.HTTPConnectionManager$1.run(Compiled Code)

at com.iplanet.portalserver.gwutils.ThreadPoolThread.run(Compiled Code)

Is there any workaround for this situation?

Thanks in advance.

[2436 byte] By [708878] at [2007-11-25 4:35:28]
# 1

Modify iwtPlatform.xml file by including charset value IBM=IBM-1047. May be its accepting only ISO charset. Thats why its generating this error. To modify this XML file access this file as

ipsadmin get component iwtPlatform > somefile.xml

Add the charset value to

<iwt:Att name="iwtPlatform-HTMLcharset>.

After that apply these changes to original file using ipsadmin change comoponent ... command.

Please make sure that backup the original file before modifying.">

708896 at 2007-6-29 2:47:40 > top of Java-index,Web & Directory Servers,Portal Servers...