[Seasar-user:11126] Re: ボタンを1回押したら「二重サブミットされました」

Junichi Kato [E-MAIL ADDRESS DELETED]
2007年 10月 19日 (金) 02:13:35 JST


小林さん,
加藤です.


> これだけでは状況が分からないので,web.xml で
> RequestDumpFilter を有効にしてログを送ってください.

以下になります.
以下の画面で,戻るボタンで,doOnceReturnが呼ばれるようにしています.
doOnceReturnが呼ばれた時に例外が発生しています.

iframeは使ってません.

あと,
HTML上で利用しているimgタグのsrcはサーブレットへのURL,objectタグで指定
しているパラメータもサーブレットへのURLを指定しています.


** before *****************************************: /view/account/accountArtistMusicEditAlbumTrack.html
  Request class=org.apache.catalina.connector.RequestFacade, instance=[E-MAIL ADDRESS DELETED]
  RequestedSessionId=C6AC13DD21085947424F93F548FF530D
  REQUEST_URI=/hoge-web/view/account/accountArtistMusicEditAlbumTrack.html, SERVLET_PATH=/view/account/accountArtistMusicEditAlbumTrack.html
  CharacterEncoding=UTF-8, ContentLength=12990, ContentType=multipart/form-data; boundary=---------------------------7d723490264, Locale=ja, Locales=ja, Scheme=http, isSecure=false
  SERVER_PROTOCOL=HTTP/1.1, REMOTE_ADDR=0:0:0:0:0:0:0:1, REMOTE_HOST=0:0:0:0:0:0:0:1, SERVER_NAME=localhost, SERVER_PORT=8080
  ContextPath=/hoge-web, REQUEST_METHOD=POST, QUERY_STRING=null, PathInfo=null, RemoteUser=null
  Session SessionId=C6AC13DD21085947424F93F548FF530D
  Session :: CreationTime=1192726794258, LastAccessedTime=1192726838918, MaxInactiveInterval=3600
  [cookie]JSESSIONID=C6AC13DD21085947424F93F548FF530D
  [header]accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
  [header]accept-encoding=gzip, deflate
  [header]accept-language=ja
  [header]cache-control=no-cache
  [header]connection=Keep-Alive
  [header]content-length=12990
  [header]content-type=multipart/form-data; boundary=---------------------------7d723490264
  [header]cookie=JSESSIONID=C6AC13DD21085947424F93F548FF530D
  [header]host=localhost:8080
  [header]referer=http://localhost:8080/hoge-web/view/account/accountArtistMusicEditAlbumTrack.html?crudType=2&targetAlbumId=8
  [header]ua-cpu=x86
  [header]user-agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
  [session]javax.faces.internal.scope.PageScope={null={org.seasar.teeda.extension.Condition={layoutChildBody:accountUserSubMenuForm:_id13:isProducer=true, _id156:footerForm:isMerchandise=false, isNotAuthed=false, layoutChildBody:isProducerServicePlanFree=true, isAuthed=true, _id151:menuForm:isMerchandise=false}}}
  [session]javax.faces.internal.scope.RedirectScope={null={}}
  [session]javax.faces.internal.scope.SubApplicationScope={null={org.seasar.teeda.extension.html.PagePersistence.SUBAPPLICATION={targetAlbumId=null, userCreditCardCreaterId=null, previousPageName=accountUserEditProfile, userAccountProfileCreaterId=null, faceMessageSummary=null, userAccountProfileVersionNo=null, facesMessageDetail=null, crudType=0, from=null, labelHelper=[E-MAIL ADDRESS DELETED], userCreditCardVersionNo=null, userAccountId=null}, org.seasar.teeda.extension.util.TransactionTokenUtil.CURRENT_TOKEN=2a73a9ead3ef7aeeeced2650e78263fc}}
  [session]javax.faces.request.charset=UTF-8
  [session]org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.VIEW_ID_LRU={null=/view/account/accountArtistMusicEditAlbumTrack.html}
  [session]paymentSessionDto=[E-MAIL ADDRESS DELETED]
  [session]userAccountDto=[E-MAIL ADDRESS DELETED]
  [context]javax.servlet.context.tempdir=D:\Develop\Tools\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\hoge-web
  [context]org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@18c908b
  [context]org.apache.catalina.resources=[E-MAIL ADDRESS DELETED]
  [context]org.seasar.teeda.core.config.webapp.element.WebappConfig=[E-MAIL ADDRESS DELETED]

DEBUG 2007-10-19 02:00:52,958 [http-8080-Processor19] [ETDA0109]二重サブミットされました。 (/view/account/accountArtistMusicEditAlbumTrack.html ページの doOnceReturn)
org.seasar.teeda.extension.exception.DoubleSubmittedException: [ETDA0109]二重サブミットされました。 (/view/account/accountArtistMusicEditAlbumTrack.html ページの doOnceReturn)
	at org.seasar.teeda.extension.component.html.THtmlCommandButton.isDoubleSubmitted(THtmlCommandButton.java:73)
	at org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:58)
	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)
	at org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29)
	at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
	at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:97)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.seasar.teeda.core.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
DEBUG 2007-10-19 02:00:52,966 [http-8080-Processor19] 

** after *****************************************: /view/account/accountArtistMusicEditAlbumTrack.html
  Response class=org.apache.catalina.connector.ResponseFacade, instance=[E-MAIL ADDRESS DELETED]
  [request]account_accountArtistMusicEditAlbumTrackPage=bz.hoge.hoge.web.web.account.AccountArtistMusicEditAlbumTrackPage$$EnhancedByS2AOP$$[E-MAIL ADDRESS DELETED]
  [request]crudType=0
  [request]facesContext=[E-MAIL ADDRESS DELETED]
  [request]labelHelper=[E-MAIL ADDRESS DELETED]
  [request]org.apache.myfaces.component.html.util.ExtensionFilter.doFilterCalled=true
  [request]org.seasar.teeda.core.lifecycle.LifecycleImpl.EXECUTED=org.seasar.teeda.core.lifecycle.LifecycleImpl.EXECUTED
  [request]org.seasar.teeda.extension.render.TViewRootRenderer=[[E-MAIL ADDRESS DELETED]]
  [request]org.seasar.teeda.extension.render.TViewRootRenderer.INDEX=-1
  [request]postback=true
  [request]previousPageName=accountUserEditProfile
  [request]previousViewId=/view/account/accountArtistMusicEditAlbumTrack.html
  [request]teeda.SUBMITTED_COMMAND=doOnceReturn
  [request]teeda.jsf.error.exception=org.seasar.teeda.extension.exception.DoubleSubmittedException: [ETDA0109]二重サブミットされました。 (/view/account/accountArtistMusicEditAlbumTrack.html ページの doOnceReturn)
  [request]teeda.jsf.error.exception_type=class org.seasar.teeda.extension.exception.DoubleSubmittedException
  [request]teeda.jsf.error.message=[ETDA0109]二重サブミットされました。 (/view/account/accountArtistMusicEditAlbumTrack.html ページの doOnceReturn)
  [cookie]JSESSIONID=C6AC13DD21085947424F93F548FF530D
  [session]javax.faces.internal.scope.PageScope={null={org.seasar.teeda.extension.Condition={layoutChildBody:accountUserSubMenuForm:_id13:isProducer=true, _id156:footerForm:isMerchandise=false, isNotAuthed=false, layoutChildBody:isProducerServicePlanFree=true, isAuthed=true, _id151:menuForm:isMerchandise=false}}}
  [session]javax.faces.internal.scope.RedirectScope={null={Teeda.ErrorManager.Exception=org.seasar.teeda.extension.exception.DoubleSubmittedException: [ETDA0109]二重サブミットされました。 (/view/account/accountArtistMusicEditAlbumTrack.html ページの doOnceReturn), javax.faces.internal.scope.RedirectScope=/hoge-web/view/error/error.html, org.seasar.teeda.extension.html.PagePersistence.REDIRECT={}}}
  [session]javax.faces.internal.scope.SubApplicationScope={null={org.seasar.teeda.extension.html.PagePersistence.SUBAPPLICATION={}}}
  [session]javax.faces.request.charset=UTF-8
  [session]org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.VIEW_ID_LRU={null=/view/account/accountArtistMusicEditAlbumTrack.html}
  [session]paymentSessionDto=[E-MAIL ADDRESS DELETED]
  [session]userAccountDto=[E-MAIL ADDRESS DELETED]
  [context]javax.servlet.context.tempdir=D:\Develop\Tools\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\hoge-web
  [context]org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@18c908b
  [context]org.apache.catalina.resources=[E-MAIL ADDRESS DELETED]
  [context]org.seasar.teeda.core.config.webapp.element.WebappConfig=[E-MAIL ADDRESS DELETED]
  
  
  
───────────────────────────────
 株式会社 グランテック
 代表取締役社長
 加藤 潤一 Junichi Kato

〒154-0012
東京都世田谷区駒沢2-16-1 サンドー駒沢ビル4F
TEL 050-5538-2383  FAX 03-3487-7211
HP : http://www.grandtech.jp/
BLOG : http://d.hatena.ne.jp/j5ik2o/
E-MAIL : [E-MAIL ADDRESS DELETED]




Seasar-user メーリングリストの案内