You still need to use the localized JDK if you are on Windows Dov Rosenberg
On 11/17/08 5:26 PM, "Q" <[EMAIL PROTECTED]> wrote: > Launch tomcat using the JDK instead of the JRE. > > On 18/11/2008, at 6:21 AM, David Avendasora wrote: > >> Okay, I'm stumped. >> >> I'm getting the "java.io.UnsupportedEncodingException: >> NSMacOSRomanStringEncoding" error when I load some of my new Components, but >> only the first time the page is requested after a restart. >> >> I've double-checked all my components properties (and verfied in the .woo >> files) that the encoding is set to UTF-8 (or in properties that it inherits >> from the container, which is UTF-8). >> >> Everything I've found with on the lists says that these settings should fix >> this problem, but they don't. I'm running Java 1.6.0_07 on Windows 2000 >> Server though Tomcat. >> >> I can't figure out where it's getting something other than UTF-8 in the first >> place. >> >> Dave >> >> >> >> >> >> >> >> Original Exception: >> java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding >> 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(WOC >> omponentDefinition.java:340) >> at >> com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentD >> efinition.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 er.ajax.AjaxComponent.appendToResponse(AjaxComponent.java:103) >> at er.ajax.AjaxAutoComplete.appendToResponse(AjaxAutoComplete.java:132) >> at >> com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOCom >> ponentReference.java:111) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WOD >> ynamicGroup.java:121) >> at >> er.extensions.components._private.ERXWOForm.appendChildrenToResponse(ERXWOFor >> m.java:277) >> at >> er.extensions.components._private.ERXWOForm.appendToResponse(ERXWOForm.java:4 >> 27) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WOD >> ynamicGroup.java:121) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGr >> oup.java:130) >> at >> com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOCompo >> nentContent.java:43) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WOD >> ynamicGroup.java:121) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGr >> oup.java:130) >> at >> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992) >> at >> er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:106) >> at >> com.bestmaid.bakeryManagement.client.web.components.pagewrappers.DefaultWrapp >> er.appendToResponse >> <http://web.components.pagewrappers.DefaultWrapper.appendToResponse> >> (DefaultWrapper.java:23) >> at >> com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOCom >> ponentReference.java:111) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WOD >> ynamicGroup.java:121) >> at >> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGr >> oup.java:130) >> at >> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992) >> at >> er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:106) >> at >> com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1 >> 388) >> at >> com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.j >> ava:1356) >> at >> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1351) >> at >> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOAct >> ionRequestHandler.java:259) >> at >> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActi >> onRequestHandler.java:142) >> at >> er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirect >> ActionRequestHandler.java:124) >> at >> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:130 >> 6) >> at >> er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplicat >> ion.java:1646) >> at >> er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:16 >> 10) >> at >> com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApp >> licationWrapper.java:118) >> at >> com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.ja >> va:678) >> at >> com.webobjects.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:660) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF >> ilterChain.java:290) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha >> in.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.jav >> a:230) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.jav >> a:175) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: >> 109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http1 >> 1Protocol.java:581) >> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) >> at java.lang.Thread.run(Unknown Source) >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com >> >> This email sent to [EMAIL PROTECTED] > > > > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
