java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding

2006-12-19 Thread Xia, Wen
We are having this problem at work. Thank you for your advice.
Wen

From: Gamache, Don [EMAIL PROTECTED]
Date: Tue, 19 Dec 2006 07:22:33 -0800
To: WebObjects Dev Apple webobjects-dev@lists.apple.com
Conversation: java.io.UnsupportedEncodingException:
NSMacOSRomanStringEncoding
Subject: java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding


I have a WebObjects web application with about 10 pages running on a Window
machine.  When I first brought up the second page I got this error:
java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding .   When I
restarted the application I got past page 2 OK but the error
java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding came up
again.  I restarted and got past page 3 OK but page 4 now had the same
error.  Restarted and page 4 OK but now page 5 has error.  Does anyone know
why the first time these pages come up they have this error?  Thanks.

Don



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding

2006-12-19 Thread Dov Rosenberg
Make sure that the localized version of the JDK/jre charset.jar is
installed. Otherwise you will get this exception.


On 12/19/06 11:48 AM, Xia, Wen [EMAIL PROTECTED] wrote:

 We are having this problem at work. Thank you for your advice.
 Wen
 
 From: Gamache, Don [EMAIL PROTECTED]
 Date: Tue, 19 Dec 2006 07:22:33 -0800
 To: WebObjects Dev Apple webobjects-dev@lists.apple.com
 Conversation: java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding
 Subject: java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding
 
 
 I have a WebObjects web application with about 10 pages running on a Window
 machine.  When I first brought up the second page I got this error:
 java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding .   When I
 restarted the application I got past page 2 OK but the error
 java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding came up
 again.  I restarted and got past page 3 OK but page 4 now had the same error.
 Restarted and page 4 OK but now page 5 has error.  Does anyone know why the
 first time these pages come up they have this error?  Thanks.
 
 Don
 
 
 
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.com
 
 This email sent to [EMAIL PROTECTED]


-- 
Dov Rosenberg
Inquira Inc
370 Centerpointe Circle, ste 1178
Altamonte Springs, FL 32701
(407) 339-1177 x 102
(407) 339-6704 (fax)
(407) 310-8316 (cell)
[EMAIL PROTECTED]
AOL IM: dovrosenberg


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding

2006-12-19 Thread Xia, Wen
Thank you all for your help. This is what we did which seems to solve the
problem:

Edit the file ...YourApp.woa\Contents\Windows\CLSSPATH.TXT

And change the line
# JVM == java

To read something like (give the explicit path to JVM)
# JVM == c:\jdk1.4.2_04\jre\bin\java.exe

-- Wen


On 12/19/06 9:52 AM, Art Isbell [EMAIL PROTECTED] wrote:

 On Dec 19, 2006, at 6:48 AM, Xia, Wen wrote:
 
 I have a WebObjects web application with about 10 pages running on a Window
 machine.  When I first brought up the second page I got this error:
  java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding .
 
 This exception can be thrown if the Java JRE version is not the multilanguage
 version.  However, it appears that at this time, the only Windows download
 choice since Java 1.4 is the multilanguage version.  If you're running a Java
 version earlier than 1.4, you might have the U.S. English version installed
 which is insufficient.
 
  
 Aloha,
  
 Art
   
 
 
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/wen.xia%40dof.ca.gov
 
 This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com