[Seasar-user:20958] Re: [S2Struts+S2Mai] メール送信完了画面からの画面遷移で例外発生
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2011年 8月 8日 (月) 18:15:21 JST
$B>.NS(B (koichik) $B$G$9!%(B
$B$"$&!";v8N%l%9!#(B
keep() $B$8$c$J$/$F(B setKeep() $B$@$7!"(BsetKeep() $B$NCf$G(B finish() $B$,8F$P$l$F(B
$B$$$k$N$G%@%a$G$9$M!#!#!#(B
$B$J$s$G(B setKeep() $B$G(B finish() $B8F$V$s$@$C$1!)!)!)(B
$B$9$C$+$jK:$l$F$7$^$C$?!#(B orz
XmlS2ContainerBuilder#build() $B$,L5Fq$+$b$G$9!#(B
Date: Mon, 08 Aug 2011 18:00:35 +0900
From: Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>
Subject: Re: [Seasar-user:20955] Re: [S2Struts+S2Mai] $B%a!<%kAw?.40N;2hLL$+$i$N2hLLA+0\$GNc30H/@8(B
> $B>.NS(B (koichik) $B$G$9!%(B
>
> > XmlS2ContainerBuilder#build $B$GD>@\:n$k$h$&$K$7$F$_$F!"0l1~%F%9%H$ODL$C$F$^$9$,(B
> > $B$3$l$GBg>fIW$G$9$+$M!D(B
>
> $B$A$g$C$H>u67$rGD0.$[E-MAIL ADDRESS DELETED]$l$F$^$;$s$,!"(BHOT deploy $B$,1F6A$7$F$$$k$J$i(B
>
> if (HotdeployUtil.isHotdeploy()) {
> ((HotdeployBehavior) S2ContainerBehavior.getProvider()).keep(true);
> HotdeployUtil.stop();
> }
> try {
> // S2ContainerFactory.create(path) $B$N8F$S=P$7(B
> ...
> } finally {
> if (HotdeployUtil.isHotdeploy()) {
> HotdeployUtil.start();
> }
> }
>
> $B$H$$$&46$8$GCfCG$7$F$O$I$&$G$7$g$&$+!)(B
> HotdeployUtil $B$,(B keep() $B$r8F$S=P$9%a%=%C%I$r;}$C$F$J$$$N$G$A$g$C$H(B
> $B1x$$$G$9$,!#!#!#(B
>
>
> Date: Mon, 8 Aug 2011 17:25:50 +0900
> From: $BO;(B <[E-MAIL ADDRESS DELETED]>
> Subject: [Seasar-user:20955] Re: [S2Struts+S2Mai] $B%a!<%kAw?.40N;2hLL$+$i$N2hLLA+0\$GNc30H/@8(B
>
> > $BO;$G$9!#(B
> >
> > XmlS2ContainerBuilder#build $B$GD>@\:n$k$h$&$K$7$F$_$F!"0l1~%F%9%H$ODL$C$F$^$9$,(B
> > $B$3$l$GBg>fIW$G$9$+$M!D(B
> >
> > 2011$BG/(B8$B7n(B8$BF|(B17:11 $BO;(B <[E-MAIL ADDRESS DELETED]>:
> > > $BO;$G$9!#(B
> > > $B>\:Y$JJs9pM-$jFq$&8f:B$$$^$9!#(B
> > >
> > > $[E-MAIL ADDRESS DELETED]$+$i$N(BS2ContainerFactory.create(path)$B$GG$0U$N(Bdicon$B%U%!%$%k$+$i%3%s%F%J$r:n$k$H$$$&J}K!$O(B
> > > Hot Deploy$B$G$O$@$a$J$s$G$9$M!D(B
> > >
> > > Smart Deploy $B$N;EAH$_$K4X78$J$/!"G$0U$N(Bdicon$B%U%!%$%k$+$i%3%s%F%J:n$j$?$$$@$1$J$N$G$9$,(B
> > > $B$I$J$?$+2sHr:v$4B8CN$NJ}$$$i$C$7$c$$$^$9$+!)(B
> > >
> > >
> > >
> > > 2011$BG/(B8$B7n(B8$BF|(B15:31 $B5\:j=SO:(B <[E-MAIL ADDRESS DELETED]>:
> > >> $B5\:j$G$9!#$*@$OC$K$J$j$^$9!#(B
> > >>
> > >> $B$42sEz!"$"$j$,$H$&$4$6$$$^$9!#(B
> > >>
> > >>> $BO;$G$9!#$R$H$D<ALd$5$;$F$/$@$5$$!#(B
> > >>>
> > >>>> $B-"(BS2ContainerFactory.create()$B$NCf$G$O(Bs2container.dicon$B$rFI$_9~$_!"(B
> > >>>
> > >>> $B$H$N;v$J$N$G$9$,!"(BMai$B%$%s%?%U%'!<%9L>(B.dicon $B%U%!%$%k$K!"(B
> > >>> s2container.dicon$B$r(Binclude$B$7$F$^$;$s$+!)(B
> > >>> $B$b$7$"$l$P!"62$i$/$=$N(Binclude$B$OITMW$+$H;W$$$^$9$N$G(B
> > >>> $B:o=|$7$F$b$&0lEY$43NG'$*4j$$$7$^$9!#(B
> > >>>
> > >>
> > >> $B"!3NG'$7$F$_$^$7$?$,!"!V(BMai$B%$%s%?%U%'!<%9L>(B.dicon$B!W%U%!%$%k$K$O(B
> > >>$B!!(B s2container.dicon$B$r(Binclude$B$7$F$*$j$^$;$s$G$7$?!#(B
> > >>
> > >>$B!!(B $B"($b$H$b$H$O!V(BMai$B%$%s%?%U%'!<%9L>(B.dicon$B!W$,L5$$%Q%?!<%s$GF0$+$7$F$$$F(B
> > >>$B!!!!(B $BNc30$,H/@8$7$F$*$j$^$7$?!#(B
> > >>
> > >>$B!!(B $B"((BS2ContainerFactory.java$B!J(Bver2.44$B!K$N%=!<%9%3!<%I$r8+$k$H!"(B
> > >>$B!!!!(B $B!&(BS2ContainerFactory.create()$B$G$O(B initialized=false $B$N>l9g!"(B
> > >>$B!!!!!!(B $B$^$:(Bconfigure()$B$r<B9T$9$k!#(B
> > >>
> > >>$B!!!!!!(B initialized$B$O!"(Bconfigure()$B$,<B9T$5$l$k$H!"(B
> > >>$B!!!!!!(B $B%j%/%(%9%H=hM}=*N;;~$K(Bfalse$B$[E-MAIL ADDRESS DELETED]$5$l$k$h$&<BAu$5$l$F$$$k$N$G(B
> > >>$B!!!!!!(B $B:#2s$N%1!<%9$G$O!"I,$:(Bconfigure()$B$,<B9T$5$l$k!#(B
> > >>
> > >>$B!!!!(B $B!&(Bconfigure()$B$O0J2<$N$h$&$K<BAu$5$l$F$*$j!"(B
> > >>$B!!!!!!(B $B%a!<%kAw?.;~$K(Bs2container.dicon$B$rFI$_9~$^$;$J$$$h$&$K$9$k$N$OFq$7$$$h$&$K8+$($^$9!#(B
> > >>
> > >>$B!!!!!!(B ----
> > >>$B!!!!!!(B public static final String FACTORY_CONFIG_KEY =
> > >> "org.seasar.framework.container.factory.config";
> > >>
> > >>$B!!!!!!(B public static final String FACTORY_CONFIG_PATH = "s2container.dicon";
> > >>
> > >>$B!!!!!!(B public static void configure() {
> > >>$B!!!!!!(B final String configFile = System.getProperty(FACTORY_CONFIG_KEY,
> > >>$B!!!!!!(B FACTORY_CONFIG_PATH);
> > >>$B!!!!!!(B configure(configFile);
> > >>$B!!!!!!(B }
> > >>$B!!!!!!(B ----
> > >>
> > >> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
> > >>
> > >>
> > >>
> > >> 2011$BG/(B8$B7n(B8$BF|7nMKF|(B $BO;(B [E-MAIL ADDRESS DELETED]:
> > >>> $BO;$G$9!#$R$H$D<ALd$5$;$F$/$@$5$$!#(B
> > >>>
> > >>>>$B!!(B $B-"(BS2ContainerFactory.create()$B$NCf$G$O(Bs2container.dicon$B$rFI$_9~$_!"(B
> > >>>
> > >>> $B$H$N;v$J$N$G$9$,!"(BMai$B%$%s%?%U%'!<%9L>(B.dicon $B%U%!%$%k$K!"(B
> > >>> s2container.dicon$B$r(Binclude$B$7$F$^$;$s$+!)(B
> > >>> $B$b$7$"$l$P!"62$i$/$=$N(Binclude$B$OITMW$+$H;W$$$^$9$N$G(B
> > >>> $B:o=|$7$F$b$&0lEY$43NG'$*4j$$$7$^$9!#(B
> > >>>
> > >>>
> > >>> 2011$BG/(B8$B7n(B4$BF|(B18:03 $B5\:j=SO:(B <[E-MAIL ADDRESS DELETED]>:
> > >>>> $B$*@$OC$K$J$j$^$9!"5\:j$H?=$7$^$9!#(B
> > >>>>
> > >>>> $B"!8=:_!"0J2<$N$h$&$J8=>]$,H/@8$7$F$*$j$^$9!#(B
> > >>>>$B!!(B $B2r7hJ}K!Ey$465<xD:$-$?$/!#(B
> > >>>>
> > >>>> $B0J2<!"D9J8$K$J$j$^$9$,!"$4MF<O2<$5$$!#(B
> > >>>>
> > >>>> $B!ZF0:n4D6-![(B
> > >>>> $B!&(BJDK 1.6.0_23
> > >>>> $B!&(Bapache-tomcat 6.0.32
> > >>>> $B!&(Bs2-framework-2.4.44.jar
> > >>>> $B!&(Bs2-extension-2.4.44.jar
> > >>>> $B!&(Bs2-tiger-2.4.44.jar
> > >>>> $B!&(Bsa-struts-1.0.4-sp8.jar
> > >>>> $B!&(Bs2mai-0.9.6.jar
> > >>>>
> > >>>> $B!Z8=>]![(B
> > >>>> tomcat$B$X%G%W%m%$$7$?(BWeb$B%"%W%j%1!<%7%g%s(B(S2Struts$B%Y!<%9(B)$B$r(BHOT deploy$B$K$FF0:n$5$;$F$$$^$9!#$=$N:]!"(B
> > >>>> $B!&!V%a!<%kAw?.2hLL!W$K$F!X3NDj!Y%\%?%s$r2!$7!"%5!<%P$X%j%/%(%9%H$7$^$9!#(B
> > >>>>$B!!(B $B8F$S=P$5$l$?(BAction$B$N<B9T%a%=%C%I$NCf$G!"(BS2Mai$B$K$h$k%a!<%kAw?.$r9T$$$^$9!#(B
> > >>>>$B!!(B $B%a!<%kAw?.=hM}$r4^$a!"<B9T%a%=%C%I$[E-MAIL ADDRESS DELETED]>o=*N;$7!"!V%a!<%kAw?.40N;2hLL!W$XA+0\$7$^$9!#(B
> > >>>> $B!&!V%a!<%kAw?.40N;2hLL!W$+$i!"JL$N(BAction$B<B9T%a%=%C%I$r8F$S=P$9$h$&$J%j%/%(%9%H$rH/@8$5$;$^$9!#(B
> > >>>>$B!!(B $B$9$k$H!"0J2<$N$h$&$JNc30$,H/@8$7$^$9!#(B
> > >>>> --
> > >>>> $BCWL?E*(B: $B%5!<%V%l%C%H(B default $B$N(BServlet.service()$B$,Nc30$rEj$2$^$7$?(B
> > >>>> java.lang.NullPointerException
> > >>>> at
> > >>>> org.seasar.struts.util.S2ExecuteConfigUtil.findExecuteConfig(S2ExecuteConfigUtil.java:70)
> > >>>> at
> > >>>> org.seasar.struts.filter.RoutingFilter.doFilter(RoutingFilter.java:127)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > >>>> at
> > >>>> org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > >>>> at
> > >>>> xx.xx.xx.xx.xx.filter.DataSourceSwitchFilter.doFilter(DataSourceSwitchFilter.java:74)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > >>>> at
> > >>>> org.seasar.framework.container.hotdeploy.HotdeployFilter.doHotdeployFilter(HotdeployFilter.java:99)
> > >>>> at
> > >>>> org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:67)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > >>>> at
> > >>>> org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > >>>> at
> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > >>>> at
> > >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> > >>>> at
> > >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > >>>> at
> > >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> > >>>> at
> > >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > >>>> at
> > >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > >>>> at
> > >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> > >>>> at
> > >>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> > >>>> at
> > >>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> > >>>> at
> > >>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> > >>>> at java.lang.Thread.run(Thread.java:662)
> > >>>> --
> > >>>>
> > >>>> $B!ZD4::7k2L![(B
> > >>>> $B!{(BCOOL deploy$B$G$ONc30$OH/@8$;$:!"(BHOT deploy$B$GH/@8$7$^$9!#(B
> > >>>> $B!{%a!<%kAw?.%3!<%I$r%3%a%s%H%"%&%H$9$k$H!"Nc30$OH/@8$7$^$;$s!#(B
> > >>>> $B!{%a!<%kAw?.%3!<%I$,$"$k>l9g$H$J$$>l9g$G=hM}$rHf$Y$k$H!"0J2<$N$h$&$J0c$$$,$"(B>
> > >>>> _______________________________________________
> > >>>> Seasar-user mailing list
> > >>>> [E-MAIL ADDRESS DELETED]
> > >>>> https://ml.seasar.org/mailman/listinfo/seasar-user
> > >>>>
> > >>>
> > >> _______________________________________________
> > >> Seasar-user mailing list
> > >> [E-MAIL ADDRESS DELETED]
> > >> https://ml.seasar.org/mailman/listinfo/seasar-user
> > >>
> > >>
> > >
>
> --
> {
> name: "Koichi Kobayashi",
> mail: "[E-MAIL ADDRESS DELETED]",
> blog: "http://d.hatena.ne.jp/koichik/",
> twitter: "@koichik"
> }
--
{
name: "Koichi Kobayashi",
mail: "[E-MAIL ADDRESS DELETED]",
blog: "http://d.hatena.ne.jp/koichik/",
twitter: "@koichik"
}
Seasar-user メーリングリストの案内