当前位置: 代码迷 >> 应用服务器 >> 崩溃了…解决方法
  详细解决方案

崩溃了…解决方法

热度:6684   发布时间:2013-02-26 00:00:00.0
崩溃了……!!!
Java code
[08-10-14 17:15:57:125 CST] 0000002f RequestProces W   Unhandled Exception thrown: class java.nio.charset.IllegalCharsetNameException[08-10-14 17:15:57:141 CST] 0000002f ServletWrappe E   SRVE0068E: 无法调用 servlet action 的 service() 方法。抛出异常:javax.servlet.ServletException: UTF-8; charset=utf-8    at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))---- Begin backtrace for Nested Throwablesjava.nio.charset.IllegalCharsetNameException: UTF-8; charset=utf-8    at java.nio.charset.Charset.checkName(Charset.java:300)    at java.nio.charset.Charset.lookup(Charset.java:418)    at java.nio.charset.Charset.forName(Charset.java:456)    at java.lang.StringCoding$DecoderCache.makeDecoder(StringCoding.java:109)    at java.lang.StringCoding$1.run(StringCoding.java:155)    at java.security.AccessController.doPrivileged1(Native Method)    at java.security.AccessController.doPrivileged(AccessController.java:351)    at java.lang.StringCoding$DecoderCache.getDecoder(StringCoding.java(Compiled Code))    at java.lang.StringCoding.getDecoder(StringCoding.java(Inlined Compiled Code))    at java.lang.StringCoding.decode(StringCoding.java(Compiled Code))    at java.lang.String.<init>(String.java(Compiled Code))    at java.lang.String.<init>(String.java:705)    at com.ibm.ws.webcontainer.srt.SRTServletRequest.setCharacterEncoding(SRTServletRequest.java:198)    at com.ibm.ws.webcontainer.srt.SRTServletRequest.getCharacterEncoding(SRTServletRequest.java:594)    at com.ibm.ws.webcontainer.srt.SRTServletRequest.getReaderEncoding(SRTServletRequest.java:628)    at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:942)    at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameter(SRTServletRequest.java:693)    at org.apache.struts.actions.DispatchAction.getMethodName(DispatchAction.java:376)    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:173)    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))[08-10-14 17:15:57:141 CST] 0000002f ServletWrappe E   SRVE0014E: 未捕捉到 service() 异常的根本原因 action:java.nio.charset.IllegalCharsetNameException: UTF-8; charset=utf-8    at java.nio.charset.Charset.checkName(Charset.java:300)    ]
  相关解决方案