论坛首页 入门技术论坛

appfuse生成jsf后上传文件时出错了

浏览 4611 次
该帖已经被评为新手帖
作者 正文
   发表时间:2007-03-11  
我今天使用appfuse生成一个基于JSF框架的web应用的时候,一切搞定了.登陆之后上传文件却老是报错.不知那位兄弟有出现过同样的问题
java 代码
  1. javax.servlet.ServletException: Error calling action method of component with id uploadForm:upload   
  2.     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)   
  3.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)   
  4.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  5.     at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)   
  6.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  7.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  8.     at org.jsf.webapp.filter.MessageFilter.doFilter(MessageFilter.java:52)   
  9.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  10.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  11.     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)   
  12.     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)   
  13.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  14.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  15.     at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375)   
  16.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  17.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  18.     at org.jsf.webapp.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:42)   
  19.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)   
  20.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  21.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  22.     at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)   
  23.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  24.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  25.     at org.jsf.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:55)   
  26.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)   
  27.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  28.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  29.     at com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)   
  30.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  31.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  32.     at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)   
  33.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)   
  34.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  35.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  36.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)   
  37.     at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)   
  38.     at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)   
  39.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  40.     at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)   
  41.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  42.     at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)   
  43.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  44.     at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)   
  45.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  46.     at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)   
  47.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  48.     at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)   
  49.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  50.     at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)   
  51.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  52.     at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)   
  53.     at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)   
  54.     at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)   
  55.     at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)   
  56.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  57.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  58.     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75)   
  59.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)   
  60.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)   
  61.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
  62.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)   
  63.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)   
  64.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)   
  65.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)   
  66.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)   
  67.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)   
  68.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)   
  69.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)   
  70.     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)   
  71.     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)   
  72.     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)   
  73.     at java.lang.Thread.run(Unknown Source)   
   发表时间:2007-03-15  
好像是调用控件的时候出现错误了,但是具体错在那儿就不大清楚了555555555
0 请登录后投票
   发表时间:2007-03-16  
java代码?楼主给出的是一堆异常信息啊,光凭这些很难判断出错点的
0 请登录后投票
   发表时间:2007-03-26  
   不好说,没代码
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics