fck出错提示:Error on file upload. Error number: 203

把fckEditor从seam1.1.6移植到 1.2.1之后,出现以上错误提示。

google了一下,没发现有价值的信息。
修改ConnectorServlet.java,增加
ex.printStackTrace();
得到的提示信息是:
2007-05-28 13:43:14,703 ERROR [STDERR] org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded
2007-05-28 13:43:14,703 ERROR [STDERR]     at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:294)
2007-05-28 13:43:14,703 ERROR [STDERR]     at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
2007-05-28 13:43:14,703 ERROR [STDERR]     at com.fredck.FCKeditor.connector.ConnectorServlet.doPost(ConnectorServlet.java:241)
2007-05-28 13:43:14,703 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2007-05-28 13:43:14,718 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-05-28 13:43:14,718 ERROR [STDERR]     at com.arcmind.cbqlib.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:42)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:56)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:74)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2007-05-28 13:43:14,718 ERROR [STDERR]     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2007-05-28 13:43:14,718 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)
posted @ 2007-05-27 16:05  cuibq  阅读(205)  评论(0编辑  收藏  举报