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

Hsu <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Annoying, I belive that it is different. The JDK installs the devkit  
+ JRE + "international support" of some kind. The JRE by itself isn't  
sufficient (last I checked, which was a year or so ago) for WO.

Karl

On Feb 4, 2007, at 7:37 AM, Anders Peterson wrote:

> Hi Karl,
>
> Aha, that's probably it then. Currently there is a J2SE Development  
> Kit 5.0 update 8, and a matching public JRE, installed. This is  
> what was there before I did anything. I'm sure the offer to upgrade  
> only applied to the public JRE.
>
> Is the public JRE different depending on if you install an SDK or  
> not? The application is running on the system's default VM which is  
> the one that is part of the public JRE.
>
> /Anders
>
> Hsu wrote:
>> 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.readWoDeclar 
>>> ation(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._dispatc 
>>> hWithPreparedPage(WOComponentRequestHandler.java:230)
>>>
>>>     at  
>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatc 
>>> hWithPreparedSession(WOComponentRequestHandler.java:287)
>>>
>>>     at  
>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatc 
>>> hWithPreparedApplication(WOComponentRequestHandler.java:322)
>>>
>>>     at  
>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleR 
>>> equest(WOComponentRequestHandler.java:358)
>>>
>>>     at  
>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRe 
>>> quest(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
>>
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev

--

His philosophy was a mixture of three famous schools -- the Cynics,  
the Stoics and the Epicureans - and summed up all three of them in  
his famous phrase, "You can't trust any bugger further than you can  
throw him, and there's nothing you can do about it, so let's have a  
drink."

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.