Re: If it aint broken , don't fix it!
Anders Peterson <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I've been thinking: Exactly what went wrong, and should it really? If I develop a Java application on my Mac and by "mistake" include some MacOSRoman encoded resource file; will that application not run on any other platform (other than Mac)? Why did the whole application crash, why not just some screwed up characters in the GUI? /Anders Hsu wrote: > 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.readWoDeclaration(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._dispatchWithPreparedPage(WOComponentRequestHandler.java:230) >>>> >>>> >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287) >>>> >>>> >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322) >>>> >>>> >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358) >>>> >>>> >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(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 >