Thanks for the replies here everybody.  I solved the issue.  Stupid stupid
error on my part, of course.  Always is.  I had the log4j.jar but forgot to
copy over the commons-loggin.jar file.  

Works fine when the correct jars are included :)




jefetech wrote:
> 
> Ya that looks just like mine.  Maybe struts2.1 has issues with Jetty. 
> Does this error have anything to do with log4j though?  Maybe I need to
> shut that off in another config file or something.
> 
> 
> Jun 15, 2008 4:59:42 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
> warn
> WARNING: Could not find property [struts.valueStack]
> Jun 15, 2008 4:59:42 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
> warn
> WARNING: Could not find property [org.apache.catalina.jsp_file]
> 
> 
> 
> 
> 
> Márcio Gurgel wrote:
>> 
>> I'm also using struts 2.1 ...
>> Here are my log4j:
>> 
>> ### direct log messages to stdout ###
>> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
>> log4j.appender.stdout.Target=System.out
>> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
>> log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L
>> -
>> %m%n
>> 
>> ### direct messages to file hibernate.log ###
>> #log4j.appender.file=org.apache.log4j.FileAppender
>> #log4j.appender.file.File=hibernate.log
>> #log4j.appender.file.layout=org.apache.log4j.PatternLayout
>> #log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L -
>> %m%n
>> 
>> ### set log levels - for more verbose logging change 'info' to 'debug'
>> stdout ###
>> 
>> log4j.rootLogger=info
>> 
>> #log4j.logger.org.hibernate=info
>> log4j.logger.org.hibernate=info
>> 
>> ### log HQL query parser activity
>> #log4j.logger.org.hibernate.hql.ast.AST=debug
>> 
>> ### log just the SQL
>> #log4j.logger.org.hibernate.SQL=debug
>> 
>> ### log JDBC bind parameters ###
>> log4j.logger.org.hibernate.type=info
>> #log4j.logger.org.hibernate.type=debug
>> 
>> ### log schema export/update ###
>> log4j.logger.org.hibernate.tool.hbm2ddl=debug
>> 
>> ### log HQL parse trees
>> #log4j.logger.org.hibernate.hql=debug
>> 
>> ### log cache activity ###
>> #log4j.logger.org.hibernate.cache=debug
>> 
>> ### log transaction activity
>> #log4j.logger.org.hibernate.transaction=debug
>> 
>> ### log JDBC resource acquisition
>> log4j.logger.org.hibernate.jdbc=debug
>> 
>> ### enable the following line if you want to track down connection ###
>> ### leakages when using DriverManagerConnectionProvider ###
>> #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
>> 
>> 
>> This's a big problem, I had to iterate list with 100 rolls each roll had
>> two
>> <s:textfield /> if this warnings the page was loading in slow motion
>> mode..
>> 
>> If you need another configuration file just tell
>> 
>> 
>> 2008/6/15 jefetech <[EMAIL PROTECTED]>:
>> 
>>>
>>> I've tried changing that, but it makes no difference with struts2.1.  No
>>> matter what I do with log4j.properties, it just keeps on spitting out
>>> warning messages.  Frustrating!
>>>
>>>
>>>
>>>
>>> Márcio Gurgel wrote:
>>> >
>>> > Hi, I also had this problem, I solved setting this in my
>>> log4j.properties
>>> > file:
>>> >
>>> > ### set log levels - for more verbose logging change 'info' to 'debug'
>>> > stdout ###
>>> >
>>> > log4j.rootLogger=info
>>> >
>>> >
>>> >
>>> >
>>> > 2008/6/15 Dave Newton <[EMAIL PROTECTED]>:
>>> >
>>> >> Are you actually using Log4J?
>>> >>
>>> >>
>>> >> --- On Sun, 6/15/08, jefetech <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >> > From: jefetech <[EMAIL PROTECTED]>
>>> >> > Subject: Re: Can't stop console warnings
>>> >> > To: user@struts.apache.org
>>> >> > Date: Sunday, June 15, 2008, 9:45 PM
>>> >> > That makes sense, but unforunately did not do anything.
>>> >> > Here's what my
>>> >> > server spits out when starting up:
>>> >> >
>>> >> > 2008-06-15 16:16:54.855::INFO:  Extract
>>> >> > jar:file:/usr/local/jetty/webapps/struts2.war!/ to
>>> >> >
>>> >>
>>> /usr/local/jetty/work/Jetty_0_0_0_0_80_struts2.war___struts2test_-f01z4v/webapp
>>> >> > Jun 15, 2008 4:16:55 PM
>>> >> > com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > info
>>> >> > INFO: Parsing configuration file [struts-default.xml]
>>> >> > Jun 15, 2008 4:16:55 PM
>>> >> > com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > info
>>> >> > INFO: Parsing configuration file [struts-plugin.xml]
>>> >> > Jun 15, 2008 4:16:55 PM
>>> >> > com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > info
>>> >> > INFO: Parsing configuration file [struts.xml]
>>> >> >
>>> >> >
>>> >> > It seem to still think
>>> >> > com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > should log "info" even though my log4j.properties
>>> >> > has this line:
>>> >> >
>>> log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=error
>>> >> >
>>> >> > Is there something I have to add to the struts.xml file?
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > Joachim Rohde wrote:
>>> >> > >
>>> >> > > Hi,
>>> >> > >
>>> >> > > add in your web.xml following snippet:
>>> >> > >
>>> >> > >      <context-param>
>>> >> > >
>>> >> > <param-name>log4jConfigLocation</param-name>
>>> >> > >
>>> >> > <param-value>/WEB-INF/classes/log4j.properties</param-value>
>>> >> > >      </context-param>
>>> >> > >
>>> >> > > And in the log4j.properties you add following line:
>>> >> > >
>>> >> > >
>>> >> >
>>> log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=ERROR
>>> >> > >
>>> >> > > That should log only error-messages coming from this
>>> >> > class.
>>> >> > >
>>> >> > > Joachim
>>> >> > >
>>> >> > > jefetech schrieb:
>>> >> > >> I just converted from struts 1 to 2.1.  I've
>>> >> > got everything working, but
>>> >> > >> I
>>> >> > >> can't seem to stop this warning from being
>>> >> > spit out in the console every
>>> >> > >> time struts runs.  Any help would be great.  thank
>>> >> > you.
>>> >> > >>
>>> >> > >> Jun 15, 2008 11:43:01 AM
>>> >> > >> com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > >> warn
>>> >> > >> WARNING: Could not find property
>>> >> > [struts.valueStack]
>>> >> > >> Jun 15, 2008 11:43:01 AM
>>> >> > >> com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>>> >> > >> warn
>>> >> > >> WARNING: Could not find property
>>> >> > [org.apache.catalina.jsp_file]
>>> >> > >>
>>> >> > >
>>> >> > >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > > To unsubscribe, e-mail:
>>> >> > [EMAIL PROTECTED]
>>> >> > > For additional commands, e-mail:
>>> >> > [EMAIL PROTECTED]
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> >
>>> >> > --
>>> >> > View this message in context:
>>> >> >
>>> >>
>>> http://www.nabble.com/Can%27t-stop-console-warnings-tp17854725p17856624.html
>>> >> > Sent from the Struts - User mailing list archive at
>>> >> > Nabble.com.
>>> >> >
>>> >> >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> > For additional commands, e-mail:
>>> >> > [EMAIL PROTECTED]
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Can%27t-stop-console-warnings-tp17854725p17856731.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can%27t-stop-console-warnings-tp17854725p17857237.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to