Re: If it aint broken , don't fix it!

Hsu <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Did you install the full JDK, or just the JRE? MacRoman support only  
exists in the JDK (or the JRE + "International" package of some sort).

Karl

On Feb 3, 2007, at 7:49 AM, Anders Peterson wrote:

> Hi,
>
> I passed by the office today and caused a problem...
>
> There is a test server running Windows XP Professional with Java 5  
> and WO 5.2.4 installed. The deployed WO application is built on Mac  
> using WOLips and WebObjects 5.3 and built/deployed with embedded  
> frameworks. Until today everything worked just fine.
>
> When I logged in to the test server today I was informed about  
> available updates to both Windows XP (including a new version of  
> IE) and Java (update 10). For some reason I accepted to install  
> these, and now the WebObjects application that was already  
> installed and running wont function. It seems the application  
> throws an java.io.UnsupportedEncodingException:  
> NSMacOSRomanStringEncoding
> whenever it should display anything in a browser. It seems to  
> function ok as long as it doesn't have to show a gui.
>
> I'm guessing the problem is the Java update, but before I start un/ 
> reinstalling I'd like to know if anyone have experienced a similar  
> problem?
>
> /Anders
>
> INFO - Problem: com.webobjects.foundation.NSForwardException  
> [java.io.UnsupportedEncodingException] NSMacOSRomanStringEncoding
>
> INFO -
>
> INFO - com.webobjects.foundation.NSForwardException for  
> java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding
>
> 	at sun.io.Converters.getConverterClass(Unknown Source)
>
> 	at sun.io.Converters.newConverter(Unknown Source)
>
> 	at sun.io.ByteToCharConverter.getConverter(Unknown Source)
>
> 	at java.lang.StringCoding.decode(Unknown Source)
>
> 	at java.lang.String.<init>(Unknown Source)
>
> 	at java.lang.String.<init>(Unknown Source)
>
> 	at  
> com.webobjects.appserver._private.WOComponentDefinition.readWoDeclarat 
> ion(WOComponentDefinition.java:340)
>
> 	at com.webobjects.appserver._private.WOComponentDefinition.template 
> (WOComponentDefinition.java:279)
>
> 	at com.webobjects.appserver.WOComponent.templateWithName 
> (WOComponent.java:597)
>
> 	at com.webobjects.appserver.WOComponent.template(WOComponent.java: 
> 507)
>
> 	at com.webobjects.appserver.WOComponent.appendToResponse 
> (WOComponent.java:982)
>
> 	at com.webobjects.appserver.WOSession.appendToResponse 
> (WOSession.java:1200)
>
> 	at er.extensions.ERXSession.appendToResponse(ERXSession.java:528)
>
> 	at com.webobjects.appserver.WOApplication.appendToResponse 
> (WOApplication.java:1418)
>
> 	at er.extensions.ERXApplication.appendToResponse 
> (ERXApplication.java:968)
>
> 	at  
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW 
> ithPreparedPage(WOComponentRequestHandler.java:230)
>
> 	at  
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW 
> ithPreparedSession(WOComponentRequestHandler.java:287)
>
> 	at  
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW 
> ithPreparedApplication(WOComponentRequestHandler.java:322)
>
> 	at  
> com.webobjects.appserver._private.WOComponentRequestHandler._handleReq 
> uest(WOComponentRequestHandler.java:358)
>
> 	at  
> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ 
> est(WOComponentRequestHandler.java:435)
>
> 	at com.webobjects.appserver.WOApplication.dispatchRequest 
> (WOApplication.java:1306)
>
> 	at er.extensions.ERXApplication.dispatchRequest 
> (ERXApplication.java:1001)
>
> 	at com.webobjects.appserver._private.WOWorkerThread.runOnce 
> (WOWorkerThread.java:173)
>
> 	at com.webobjects.appserver._private.WOWorkerThread.run 
> (WOWorkerThread.java:254)
>
> 	at java.lang.Thread.run(Unknown Source)
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev

--

  /"\
  \ /
   X
  / \ ASCII RIBBON CAMPAIGN AGAINST HTML MAIL

Homepage:
      http://homepage.mac.com/khsu/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.