I have seen a lot on this issue. Does anyone know how to actually correct it so that Struts does not log these warnings - without disabling the logging of warnings all together?
The closest I have come is by adding getTheme and getTemplateDir directories to my Action class, but that doesn't solve these far less frequent struts.valueStack and org.apache.catalina.jsp_file the OP mentions. -----Original Message----- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Monday, June 29, 2009 1:53 PM To: Struts Users Mailing List Subject: Re: OgnlValueStack - Could not find property if you are using log4j: log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR musachy On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn<mi...@claborn.net> wrote: > Everything appears to be working. How can I turn off that logging? > mitch > > Musachy Barroso wrote: >> is everything working? I would say that is the value stack just being >> annoying and logging to much. We added a setting to turn verbose mode >> on (it is on now by default) in 2.1.7, and it will be off by default. >> You can ignore those. >> >> musachy >> >> On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn<mi...@claborn.net> wrote: >> >>> Getting some odd messages that I don't understand, just running the >>> basic tutorial code. Any ideas what this is? >>> >>> The messages are: >>> [WARN] OgnlValueStack - Could not find property >>> [org.apache.catalina.jsp_file] >>> [WARN] OgnlValueStack - Could not find property [struts.valueStack] >>> [WARN] OgnlValueStack - Could not find property >>> [org.apache.catalina.jsp_file] >>> >>> >>> My JSP, struts.xml and action are below. >>> >>> <%@ taglib prefix="s" uri="/struts-tags" %> >>> <html> >>> <head> >>> <title>Hello World!</title> >>> </head> >>> <body> >>> <h2><s:property value="message" /></h2> >>> </body> >>> </html> >>> >>> >>> <struts> >>> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> >>> <constant name="struts.devMode" value="true" /> >>> <package name="default" namespace="/" extends="struts-default"> >>> <action name="HelloWorld" class="tutorial.HelloWorld"> >>> <result>/HelloWorld.jsp</result> >>> </action> >>> </package> >>> </struts> >>> >>> package tutorial; >>> import com.opensymphony.xwork2.ActionSupport; >>> public class HelloWorld extends ActionSupport { >>> >>> public static final String MESSAGE = "Struts is up and running ..."; >>> >>> �...@override >>> public String execute() throws Exception { >>> setMessage(MESSAGE); >>> return SUCCESS; >>> } >>> >>> private String message; >>> >>> public void setMessage(String message){ >>> this.message = message; >>> } >>> >>> public String getMessage() { >>> return message; >>> } >>> } >>> >>> >>> Mitch >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >>> >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org