struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Björnerstedt <jo...@bjornerstedt.org>
Subject RE: struts-blank: A strange problem
Date Tue, 10 Dec 2002 21:13:50 GMT
Hello,

The application.properties file is in the wrong directory in the 1.1b2
distribution. Move it from /WEB-INF/java/resources to /WEB-INF/resources.

Jonas

> -----Original Message-----
> From: BERTINO FULVIO [mailto:fulvio.bertino@sella.it]
> Sent: den 10 december 2002 08:51
> To: 'struts-user@jakarta.apache.org'
> Subject: struts-blank: A strange problem
>
>
> Copying the struts-blank.war file in the webapps folder of a just
> installed
> version of tomcat 4.0.6 or 4.1.12,  I've found the following message:
> --
> > exception
> > org.apache.jasper.JasperException: Missing message for key welcome.title
> > 	at
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
> > :248)
> > 	at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
> > 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatche
> > r.java:684)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat
> > cher.java:432)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch
> > er.java:356)
> > 	at
> > org.apache.struts.actions.ForwardAction.execute(ForwardAction.java:158)
> > 	at
> >
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProc
> > essor.java:446)
> > 	at
> >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:26
> > 6)
> > 	at
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
> > 	at
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> > onFilterChain.java:247)
> > 	at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> > Chain.java:193)
> > 	at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> > java:260)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> > java:191)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
> > 	at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> > 80)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv
> > e.java:170)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:641)
> > 	at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> > 72)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:641)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> > va:174)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > 	at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> > 	at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
> > nection(Http11Protocol.java:380)
> > 	at
> >
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> > 	at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j
> > ava:533)
> > 	at java.lang.Thread.run(Thread.java:536)
> >
> >
> > root cause
> > javax.servlet.ServletException: Missing message for key welcome.title
> > 	at
> >
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextI
> > mpl.java:494)
> > 	at org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:70)
> > 	at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
> > :204)
> > 	at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
> > 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatche
> > r.java:684)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat
> > cher.java:432)
> > 	at
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch
> > er.java:356)
> > 	at
> > org.apache.struts.actions.ForwardAction.execute(ForwardAction.java:158)
> > 	at
> >
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProc
> > essor.java:446)
> > 	at
> >
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:26
> > 6)
> > 	at
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
> > 	at
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> > onFilterChain.java:247)
> > 	at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> > Chain.java:193)
> > 	at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> > java:260)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> > java:191)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
> > 	at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> > 80)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv
> > e.java:170)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:641)
> > 	at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> > 72)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:641)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> > va:174)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv
> > okeNext(StandardPipeline.java:643)
> > 	at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480
> > )
> > 	at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > 	at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> > 	at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon
> > nection(Http11Protocol.java:380)
> > 	at
> >
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> > 	at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.j
> > ava:533)
> > 	at java.lang.Thread.run(Thread.java:536)
> >
> I used for tomcat both j2sdk 1.4.1_01 and 1.3.1_06, without any
> modification
> to the various classpaths, in a windows environment.
>
> N.B.: Obviously the key in the messageresources.properties file is defined
> correctly.
>
> Why the same war file in my linux laptop doesn't have any problem?
> I think it's a classloader problem, but I'd appreciate any explication
> helping to solve the problem...
> Thanx in advance,
> 	Fulvio
>
>
>
> Questo documento e gli eventuali allegati sono indirizzati unicamente al
> destinatario, a cui la lettura e l'utilizzo delle informazioni contenute
> sono esclusivamente riservati. Nel caso di utilizzo non autorizzato, Banca
> Sella potra' dar corso alle azioni piu' opportune per il risarcimento dei
> danni subiti anche da terzi. Nell'ipotesi che la e-mail non fosse
> indirizzata a Voi o il contenuto lasci intendere che possano esservi stati
> errori o manipolazioni nella trasmissione, vogliate cortesemente
> contattare
> i seguenti indirizzi di posta elettronica: info@sella.it;
> reclami@sella.it
>
> This e-mail is directed uniquely to the interested party, which is the
> exclusive addressee of any information contained herein. For any
> abuse about
> the content of this message, Banca Sella will claim compensation
> for damages
> occurred to third parties as well. In case the e-mail should be
> addressed to
> other than you, or the content should reveal any transmission errors or
> manipulations, please contact us at the following address: info@sella.it;
> reclami@sella.it
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message