Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
- Subject: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
- From: Dov Rosenberg <email@hidden>
- Date: Mon, 17 Nov 2008 18:17:34 -0500
- Thread-topic: NSMacOSRomanStringEncoding UnsupportedEncodingException
Title: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
You still need to use the localized JDK if you are on Windows
Dov Rosenberg
On 11/17/08 5:26 PM, "Q" <email@hidden> 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(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 er.ajax.AjaxComponent.appendToResponse(AjaxComponent.java:103)
at er.ajax.AjaxAutoComplete.appendToResponse(AjaxAutoComplete.java:132)
at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at er.extensions.components._private.ERXWOForm.appendChildrenToResponse(ERXWOForm.java:277)
at er.extensions.components._private.ERXWOForm.appendToResponse(ERXWOForm.java:427)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130)
at com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOComponentContent.java:43)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.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.DefaultWrapper.appendToResponse <http://web.components.pagewrappers.DefaultWrapper.appendToResponse> (DefaultWrapper.java:23)
at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:111)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.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:1388)
at com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1356)
at com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1351)
at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:142)
at er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:124)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1646)
at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1610)
at com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:118)
at com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java: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(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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(Http11Protocol.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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden