[Seasar-user:6149] Re: RemoveSessionについて

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2007年 2月 13日 (火) 23:52:15 JST


$B>>86$G$9!#(B

$B!!%(%i!<%m%0$G$J$$7o$O!"$3$A$i$G:[E-MAIL ADDRESS DELETED]$7$F$$$k(BPhaseListener$B$GH/@8$7$?(B
$B%(%i!<$,8F=P$785$N!V(BMeasurementInterceptor$B!W$KLa$C$F!"$=$N8e!"$I$&$$(B
$B$&Lu$+!"%(%i!<$O=PNO$5$l$:$K(Bdicon$B%U%!%$%k$[E-MAIL ADDRESS DELETED]$7$?%(%i!<%Z!<%8$XHt(B
$B$P$5$l$F$$$k$h$&$G$9!#(B
$B!J$3$A$i$O!"$b$&>/$7EvJ}$GD4::$5$;$FD:$3$&$H;W$$$^$9!K(B

$B$3$N(BPhaseListener$B$r2r=|$7$F<B9T$7$?$H$3$m!"0J2<$N$h$&$J%(%i!<$,=PNO(B
$B$5$l$^$7$?!#$3$l$O!"(Bdicon$B%U%!%$%k$J$I$K2?$[E-MAIL ADDRESS DELETED]$,I,MW$J$N$G$7$g$&$+!#(B
$B!J$4;XE&D:$$$?!"%V%l!<%/%]%$%s%H$^$G$OF0$$$F$$$J$$$h$&$G$9!K(B

org.seasar.framework.container.ComponentNotFoundRuntimeException: [ESSR0046]$B%3%s%]!<%M%s%H(B(removeSessionInterceptor)$B$,8+$D$+$j$^$;$s(B
    at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:94)
    at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:87)
    at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:43)
    at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:112)
    at org.seasar.framework.container.factory.aspect.MetaAnnotationAspectDefBuilder$ExpressionImpl.evaluate(MetaAnnotationAspectDefBuilder.java:186)
    at org.seasar.framework.container.impl.ArgDefImpl.getValue(ArgDefImpl.java:50)
    at org.seasar.framework.container.impl.AspectDefImpl.getAspect(AspectDefImpl.java:60)
    at org.seasar.framework.container.util.AopProxyUtil.getAspects(AopProxyUtil.java:53)
    at org.seasar.framework.container.util.AopProxyUtil.getConcreteClass(AopProxyUtil.java:43)
    at org.seasar.framework.container.impl.ComponentDefImpl.getConcreteClass(ComponentDefImpl.java:142)
    at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:298)
    at org.seasar.framework.container.warmdeploy.WarmdeployBehavior.getComponentDef(WarmdeployBehavior.java:63)
    at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromHasComponentDef(S2ContainerBehavior.java:101)
    at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromHasComponentDef(S2ContainerBehavior.java:53)
    at org.seasar.framework.container.impl.S2ContainerImpl.hasComponentDef(S2ContainerImpl.java:398)
    at org.seasar.teeda.core.util.BindingUtil.getValue(BindingUtil.java:60)
    at org.seasar.teeda.core.el.TeedaVariableResolver.resolveVariable(TeedaVariableResolver.java:83)
    at org.seasar.teeda.core.util.VariableResolverUtil.resolveVariable(VariableResolverUtil.java:38)
    at org.seasar.teeda.core.el.impl.commons.ELVariableResolver.resolveVariable(ELVariableResolver.java:37)
    at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
    at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
    at org.seasar.teeda.core.el.impl.commons.CommonsExpressionProcessorImpl.evaluate(CommonsExpressionProcessorImpl.java:94)
    at org.seasar.teeda.core.el.impl.ValueBindingImpl.getValue(ValueBindingImpl.java:68)
    at javax.faces.component.ComponentUtil_.getValueBindingValue(ComponentUtil_.java:60)
    at javax.faces.component.UISelectItems.getValue(UISelectItems.java:44)
    at org.seasar.teeda.extension.component.TUISelectItems.getValue(TUISelectItems.java:74)
    at javax.faces.internal.SelectItemsIterator.getNextFromUISelectItems(SelectItemsIterator.java:87)
    at javax.faces.internal.SelectItemsIterator.getNextSelectItem(SelectItemsIterator.java:79)
    at javax.faces.internal.SelectItemsIterator.hasNext(SelectItemsIterator.java:56)
    at org.seasar.teeda.core.render.html.HtmlSelectManyListboxRenderer.encodeHtmlSelectListboxEnd(HtmlSelectManyListboxRenderer.java:72)
    at org.seasar.teeda.core.render.html.HtmlSelectManyListboxRenderer.encodeEnd(HtmlSelectManyListboxRenderer.java:65)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:349)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:241)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:207)
    at org.apache.jsp.Aaa$jsp._jspx_meth_cmn_CsSelMenu_0(Aaa$jsp.java:577)
    at org.apache.jsp.Aaa$jsp._jspx_meth_cmn_CsForm_0(Aaa$jsp.java:211)
    at org.apache.jsp.Aaa$jsp._jspx_meth_cmn_CsView_0(Aaa$jsp.java:136)
    at org.apache.jsp.Aaa$jsp._jspx_meth_cmn_CsBody_0(Aaa$jsp.java:100)
    at org.apache.jsp.Aaa$jsp._jspService(Aaa$jsp.java:47)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:106)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at com.hitachi.software.web.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:501)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:595)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:821)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:327)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:1189)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:531)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:426)
    at org.seasar.teeda.core.util.ServletExternalContextUtil.dispatch(ServletExternalContextUtil.java:140)
    at org.seasar.teeda.core.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:111)
    at org.seasar.teeda.core.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:185)
    at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:37)
    at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
    at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$d0347f.execute$$invokeSuperMethod$$(RenderResponsePhase$$EnhancedByS2AOP$$d0347f.java)
    at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$d0347f$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
    at org.seasar.teeda.core.interceptor.MeasurementInterceptor.invoke(MeasurementInterceptor.java:46)
    at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$d0347f$$MethodInvocation$$execute0.proceed(MethodInvocationClassGenerator.java)
    at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase$$EnhancedByS2AOP$$d0347f.execute(RenderResponsePhase$$EnhancedByS2AOP$$d0347f.java)
    at org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:127)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:88)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:821)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:327)
    at kyuden.haiden.cmn.filter.CmnAuthenticationFilter.doFilter(CmnAuthenticationFilter.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:475)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:327)
    at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:475)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:327)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:370)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:333)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.web.tcg.ThreadControlGroupValve.invoke(ThreadControlGroupValve.java:82)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.ejb.management.mbean.web.RequestStatisticsValve.invoke(RequestStatisticsValve.java:72)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:192)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:3897)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:197)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    at com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:954)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1084)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1233)
    at java.lang.Thread.run(Thread.java:595)


$B0J>e$G$9!#?=$7Lu$4$6$$$^$;$s$,!"FbMF$N$43NG'!"(B
$B$h$m$7$/$*4j$$CW$7$^$9!#(B




>$B>.NS(B (koichik) $B$G$9!%(B
>
>Date:    Tue, 13 Feb 2007 21:58:45 +0900
>From:    <[E-MAIL ADDRESS DELETED]>
>To:       <[E-MAIL ADDRESS DELETED]>
>Subject: [Seasar-user:6145] RemoveSession$B$K$D$$$F(B
>
>> $B!!-"!%%a%=%C%I$ND>A0$K5-=R(B
>>     @RemoveSession(name="bbbDto")
>>     public String doClear){
>>        return "$B2hLLA+0\>pJs(B";
>>     }
>
>$B$3$A$i$[E-MAIL ADDRESS DELETED]$7$$$G$9!%(B
>
>>    $B"M(B $B2hLL$r3+$$$?$i%(%i!<$H$J$C$F$7$^$$$^$9!#(B
>> $B!!!!!!!J2?8N$+%m%0$K(BException$B$N>pJs$,=PNO$5$l$:!"(B
>> $B!!!!!!!!%(%i!<$N860x$rFCDj$G$-$^$;$s!K(B
>
>$B$3$l$@$1$@$H2?$H$bH=CG$,Fq$7$$$G$9$M!%(B
>
>$B$R$H$^$:!$(BSeasar2 $B$K4^$^$l$F$$$k(B
>org.seasar.framework.aop.interceptors.RemoveSessionInterceptor
>$B$H$$$&%/%i%9$N(B invoke(MethodInvocation) $B$H$$$&%a%=%C%I$N(B
>
>    public Object invoke(final MethodInvocation invocation) throws Throwable {
>        try {
>            return invocation.proceed(); $B"+(B $B%3%3(B
>        } finally {
>            removeSession();
>        }
>    }
>
>$B!V%3%3!W$H=q$$$?9T$K%V%l!<%/%]%$%s%H$rIU$1$F(B
>$B2hLL$r3+$$$F$_$F$/$@$5$$!%(B
>$B$3$3$G;_$^$i$J$$$h$&$@$H!$(BS2Tiger $B$N(B Jar $B$,(B
>$B<B9T;~$N%/%i%9%Q%9(B (WEB-INF/lib $BEy(B) $B$KDL$C$F$$$J$$(B
>$B2DG=@-$,$"$j$^$9!%(B
>
>$B;_$^$C$?>l9g$O%9%F%C%W%*!<%P!<(B (F6) $B$7$F$/$@$5$$!%(B
>removeSession() $B$r8F$S=P$99T$K0\$k$O$:$J$N$G!$(B
>$B%9%F%C%W%$%s(B (F5) $B$7$F$/$@$5$$!%(B
>
>removeSession() $B%a%=%C%I$NCf$r%9%F%C%W%*!<%P!<$7$F!$(B
>$B:G8e$N9T$^$G?J$`$H%;%C%7%g%s$+$i3:Ev$[E-MAIL ADDRESS DELETED]$,:o=|(B
>$B$5$l$k$O$:$G$9!%(B
>$BESCf$G(B return $B$7$F$7$^$&$h$&$J$i!$$=$N0LCV$r(B
>$B65$($F$/$@$5$$!%(B
>
>$B$^$?!$(BbbbDto $B$rDj5A$7$F$$$k(B dicon $B$d!$$*;H$$$N(B
>Seasar2 $B$d(B JDK $B$N%P!<%8%g%sEy$b65$($F$/$@$5$$!%(B
>
>
>--
><signature>
>   <name>Koichi Kobayashi</name>
>   <e-mail>[E-MAIL ADDRESS DELETED]</e-mail>
></signature>
>
>



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