| Author |
Tomcat 7 shows the following warning.
|
Issac Koshy
Greenhorn
Joined: Jun 24, 2009
Posts: 4
|
|
Tomcat 7 shows the following warnings.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Realm} Setting property 'debug' to '0' did not find a matching property.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Manager} Setting property 'classname' to 'org.apache.catalina.session.StandardManager' did not find a matching property.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/name'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/value'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/name'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/value'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/name'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/value'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/name'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/value'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/name'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter/value'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams/parameter'.
Sep 14, 2012 12:30:34 AM org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Context/ResourceParams'.
How do i ensure that these warnings messages are not shown in the log file. is there any way to suppress only these messages. any reasons for such occuarnces.
|
 |
Issac Koshy
Greenhorn
Joined: Jun 24, 2009
Posts: 4
|
|
|
This warning "WARNING: [SetPropertiesRule]{Context/Manager} Setting property 'classname' to 'org.apache.catalina.session.StandardManager' did not find a matching property." how do we ensure that it does not show up in the log file.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
|
You need to go back and look at the Tomcat7 documentation for the Context element. According to the Digester, what you have coded isn't even close to what is required. I think some stuff got moved around somewhere back at Tomcat 5, give or take.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Issac Koshy
Greenhorn
Joined: Jun 24, 2009
Posts: 4
|
|
|
if at all i want to suppress the warnings for digestor - what should i do ? i tried setting the logger to severe but does not have any effect.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
|
Those warnings are telling you that you've got something screwed up and need to fix it. Hiding the warnings in order to make them go away is very dangerous.
|
 |
Issac Koshy
Greenhorn
Joined: Jun 24, 2009
Posts: 4
|
|
Hi Tim
I understand that hiding the warning is dangerous , however the current requirement for me is to hide the warning message in stdout file. is there any way that i can do so .
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
Those warnings are telling you that you've got something screwed up.
Fix It.
|
 |
 |
|
|
subject: Tomcat 7 shows the following warning.
|
|
|