Using tomcat 3.2.2 in a sparc solaris 8 environment, I have
no problems at all. But, when I move the same data and
servlet to either MacOS X or intel solaris 8, still with
tomcat 3.2.2, I get the exception noted below whenever
I attempt to write accented characters. At times it even
makes the jvm core dump.

I have tried response.setContentType("text/html; charset="X");
where X = lots of different things likeUTF-8, ISO-8859-1
and others without success.

I'm using jvm 1.3.1-b24 on solaris on both sparc/intel.
I'm using jvm 1.3.0 on MacOS X out-of-the-box.

Ideas anyone?

Frank

Here are the exception messages..................
>
> Internal Servlet Error:</b><br><pre>java.io.IOException: Not an ISO 8859_1
> character:<h1>Error: 500</h1>
> <h2>Location: /nettopbox/servlet/NetTopBox</h2><b>Internal Servlet
> Error:</b><br><pre>java.io.IOException: Not an ISO 8859_1
> character:<h1>Error: 500</h1>
> [snip...this exception message a few 100 times]
> <h2>Location: /nettopbox/servlet/NetTopBox</h2><b>Internal Servlet
> Error:</b><br><pre>java.io.IOException: Not an ISO 8859_1
> character:<h1>Error: 500</h1>
> <h2>Location: /nettopbox/servlet/NetTopBox</h2><b>Internal Servlet
> Error:</b><br><pre>java.io.IOException: Not an ISO 8859_1
> character:<h1>Error: 500</h1>
> <h2>Location: /nettopbox/servlet/NetTopBox</h2><b>Internal Servlet
> Error:</b><br><pre>java.lang.StackOverflowError
>         at java.util.Hashtable.get(Hashtable.java:320)
>         at java.util.Properties.getProperty(Properties.java:478)
>         at java.lang.System.getProperty(System.java:562)
>         at
> sun.security.action.GetPropertyAction.run(GetPropertyAction.java:69)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.io.PrintWriter.<init>(PrintWriter.java:75)
>         at java.io.PrintWriter.<init>(PrintWriter.java:60)
>         at
>
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:26
> 8)
>         at org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at org.apache.tomcat.core.ContextManager.handleError
> [snip...this also a few hundred times]
> (ContextManager.java:1147)
>         at org.apache.tomcat.core.Handler.service(Handler.java:311)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at org.apache.tomcat.core.ContextManager.handleError
>

Reply via email to