[seasar-user-en:53] Re: Need to support from seasar

Yasuo Higa [E-MAIL ADDRESS DELETED]
Tue Mar 29 16:14:21 JST 2011


Hi CanhPV,

If you do not need hot deploy, you can remove this entry from web.xml safely.

Yasuo Higa

> 
> Hi Higa-san, 
> 
> I have found this error in my application. I solve this error with two ways, including: 
> 1. (First way)A source code line initialize for log4j. This application run normal when I comment out this line. If i done this way, i can not write log in application and this way is not good
>  
> 2. (Second way), i don't comment out code line of log4j, i comment out some configuration lines in web.xml:
>  
>     <filter>
>         <filter-name>hotdeployfilter</filter-name>
>         <filter-class>org.seasar.framework.container.hotdeploy.HotdeployFilter</filter-class>
>     </filter>
>     <filter-mapping>
>         <filter-name>hotdeployfilter</filter-name>
>         <url-pattern>/*</url-pattern>
>         <dispatcher>REQUEST</dispatcher>
>         <dispatcher>FORWARD</dispatcher>
>         <dispatcher>INCLUDE</dispatcher>
>         <dispatcher>ERROR</dispatcher>
>     </filter-mapping>
> 
> My application run normal, too.
> 
> I know that, this config support for hot deploy which is easy for programmer. what my application will reach to any error if i remove this config? You give me advice, please? 
> 
> Thank for suppor,
> CanhPV
> 
> --- On Thu, 3/24/11, Yasuo Higa <[E-MAIL ADDRESS DELETED]> wrote:
> 
> From: Yasuo Higa <[E-MAIL ADDRESS DELETED]>
> Subject: [seasar-user-en:51] Re: Need to support from seasar
> To: [E-MAIL ADDRESS DELETED]
> Date: Thursday, March 24, 2011, 6:29 PM
> 
> Hi pham,
> 
> Could you offer a very simple sample to reproduce the problem?
> 
> Yasuo Higa
> 
> > 
> > Dear Higa-san, 
> > 
> > Thank for your email. I have updated path of action following your advice(remove "_" character). Thus,  action property of form is only "/ABCAB/DB001" string (action="/ABCAB/DB001") . I still get same error when i run this configuration. This error is difficult for me. 
> > Actually, this error don't happen usually, it may be happen with first submit or  second submit. 
> > 
> > This error happen when tomcat reach to web.xml and don't reach to action yet. 
> > 
> > Could you give me some solution for this problem? 
> > 
> > 
> > 
> > 
> > --- On Thu, 3/24/11, Yasuo Higa <[E-MAIL ADDRESS DELETED]> wrote:
> > 
> > From: Yasuo Higa <[E-MAIL ADDRESS DELETED]>
> > Subject:
> >  [seasar-user-en:49] Re: Need to support from seasar
> > To: [E-MAIL ADDRESS DELETED]
> > Date: Thursday, March 24, 2011, 2:11 PM
> > 
> > Hi,
> > 
> > As an undocumented rule, seasar app must not contain "_"
> > in a package name.
> > 
> > Sorry for the trouble,
> > 
> > Yasuo Higa
> > > 
> > > I am developing project for japanese customer. This 
> > > project use Seasar Framework, including: S2Containter and SAStruts. 
> > > Currently, i get a misunderstand error. Please see this error trace log.
> > >  You can talk me how to fix this error, please.
> > > More information: action property of form is /ABC_AB/DB001(action="/ABC_AB/DB001")
> > > 
> > > Mar 23, 2011 1:09:20 PM org.apache.catalina.core.StandardWrapperValve invoke
> > > SEVERE: Servlet.service() for servlet default threw exception
> > > java.lang.NullPointerException
> > >     at
> >  org.seasar.struts.util.S2ExecuteConfigUtil.findExecuteConfig(S2ExecuteConfigUtil.java:87)
> > >     at org.seasar.struts.filter.RoutingFilter.doFilter(RoutingFilter.java:88)
> > >     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
> >  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:619)
> > > 
> > > Thank for supporting!
> > > 
> > > 
> > >       
> > > 
> > > 
> > > _______________________________________________
> > > seasar-user-en mailing list
> > > [E-MAIL ADDRESS DELETED]
> > > https://ml.seasar.org/mailman/listinfo/seasar-user-en
> > > 
> > > 
> > > 
> > _______________________________________________
> > seasar-user-en mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://ml.seasar.org/mailman/listinfo/seasar-user-en
> > 
> > 
> > 
> >       
> > 
> _______________________________________________
> seasar-user-en mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user-en
> 
> 
> 
>       
> 


More information about the seasar-user-en mailing list