You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brian Holzer <bh...@sgi.sk.ca> on 2002/09/04 23:59:04 UTC
[struts-example.war] Cannot find message resources under key
org.apache.struts.action.MESSAGE
Hi all,
Excuse me for posting this again, but I posted it on Friday and the whole [VOTE] thing was dominating the list, and I receieved no responses.
I am using Silverstream version 3.7.3 and in searching the mail archive to try to solve this problem I have only seen reference to Tomcat and Weblogic (in regards to the struts-example app), and they were both version problems.
I tried to find the fix for this in the mail archive but was unsuccessful. I downloaded the nightly build from 20020904 and deployed the struts-example.war successfully. However when I try to access the app I am getting the following exception.
javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
at com.sssw.srv.jsp.AgoJspPageContext.handlePageException(AgoJspPageContext.java:725)
at com.sssw.srv.jsp.AgoJspPageContext.handlePageException(AgoJspPageContext.java:667)
at com.sssw.gen.jsp.index_jsp_808651477._jspService(index_jsp_808651477.java:646)
at com.sssw.srv.jsp.AgoHttpJspPage.service(AgoHttpJspPage.java:92)
at com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.java:936)
at com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarServletRequestDispatcher.java:50)
at com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDispatcher.java:92)
at com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarResource.java:1672)
at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:661)
at com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4568)
at com.sssw.srv.http.Client.processRequest(Client.java)
at com.sssw.srv.http.Client.loop(Client.java)
at com.sssw.srv.http.Client.runConnection(Client.java)
at com.sssw.srv.http.Client.run(Client.java)
at java.lang.Thread.run(Thread.java:484)
I took a look at the struts-config.xml file and the
<message-resources> element is there and appears okay.
Has anyone had this same problem with this version of the nightly build.
Brian
RE: [struts-example.war] Cannot find message resources under keyorg.apache.struts.action.MESSAGE
Posted by Bill Willis <bw...@objectventure.com>.
Hi Brian,
I get the exact same error when not using *any* message resources in a
Struts app. After I add the following message resource in the Struts
configuration file, the problem goes away:
parameter: ApplicationResources
key: org.apache.struts.action.MESSAGE
I still don't understand why this is necessary. I always assumed it was
something silly I missed, but nobody has pointed that something out to
me as of yet. A number of our customers also have this problem...
Regards,
Bill Willis
ObjectVenture Inc.
-----Original Message-----
From: Brian Holzer [mailto:bholzer@sgi.sk.ca]
Sent: Wednesday, September 04, 2002 5:59 PM
To: >
Subject: [struts-example.war] Cannot find message resources under
keyorg.apache.struts.action.MESSAGE
Hi all,
Excuse me for posting this again, but I posted it on Friday and the
whole [VOTE] thing was dominating the list, and I receieved no
responses.
I am using Silverstream version 3.7.3 and in searching the mail
archive to try to solve this problem I have only seen reference to
Tomcat and Weblogic (in regards to the struts-example app), and they
were both version problems.
I tried to find the fix for this in the mail archive but was
unsuccessful. I downloaded the nightly build from 20020904 and deployed
the struts-example.war successfully. However when I try to access the
app I am getting the following exception.
javax.servlet.ServletException: <snip...>
I took a look at the struts-config.xml file and the
<message-resources> element is there and appears okay.
Has anyone had this same problem with this version of the nightly build.
Brian
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: [struts-example.war] Cannot find message resources under keyorg.apache.struts.action.MESSAGE
Posted by Victor CHEVALIER <vc...@avs-consulting.com>.
I remember this message. Are you sure that struts is correctly initialized ?
-----Message d'origine-----
De : Brian Holzer [mailto:bholzer@sgi.sk.ca]
Envoye : mercredi 4 septembre 2002 23:59
A : >
Objet : [struts-example.war] Cannot find message resources under
keyorg.apache.struts.action.MESSAGE
Hi all,
Excuse me for posting this again, but I posted it on Friday and the whole
[VOTE] thing was dominating the list, and I receieved no responses.
I am using Silverstream version 3.7.3 and in searching the mail archive
to try to solve this problem I have only seen reference to Tomcat and
Weblogic (in regards to the struts-example app), and they were both version
problems.
I tried to find the fix for this in the mail archive but was
unsuccessful. I downloaded the nightly build from 20020904 and deployed the
struts-example.war successfully. However when I try to access the app I am
getting the following exception.
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
com.sssw.srv.jsp.AgoJspPageContext.handlePageException(AgoJspPageContext.jav
a:725)
at
com.sssw.srv.jsp.AgoJspPageContext.handlePageException(AgoJspPageContext.jav
a:667)
at
com.sssw.gen.jsp.index_jsp_808651477._jspService(index_jsp_808651477.java:64
6)
at com.sssw.srv.jsp.AgoHttpJspPage.service(AgoHttpJspPage.java:92)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.java:93
6)
at
com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarServletReq
uestDispatcher.java:50)
at
com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDispatcher.
java:92)
at
com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarResource.ja
va:1672)
at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:661)
at
com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4568)
at com.sssw.srv.http.Client.processRequest(Client.java)
at com.sssw.srv.http.Client.loop(Client.java)
at com.sssw.srv.http.Client.runConnection(Client.java)
at com.sssw.srv.http.Client.run(Client.java)
at java.lang.Thread.run(Thread.java:484)
I took a look at the struts-config.xml file and the
<message-resources> element is there and appears okay.
Has anyone had this same problem with this version of the nightly build.
Brian
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>