tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santosh Puranshettiwar <sant...@wirkle.com>
Subject Re: Problems configuring the RequestDumperValve
Date Tue, 29 Aug 2006 11:46:12 GMT
Any ideas?
Santosh Puranshettiwar wrote:
> Here is my config file: -
> <Context path="/mcs" docBase="mcs" debug="0" reloadable="false">
>
> <Logger className="org.apache.catalina.logger.SystemOutLogger"/>
> <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
>
> <Resource name="jdbc/mcs" scope="Shareable" type="javax.sql.DataSource"/>
> <ResourceParams name="jdbc/mcs">
>                <parameter>
>                        <name>factory</name>
>                        
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>                </parameter>
>
>        <!-- DBCP database connection settings -->
>                <parameter>
>                        <name>url</name>
>                        
> <value>jdbc:mysql://localhost/mirage?useUnicode=true&amp;characterEncoding=UTF-8&amp;characterSetResults=UTF-8</value>

>
>                </parameter>
>                <parameter>
>                        <name>driverClassName</name>
>                        <value>com.mysql.jdbc.Driver</value>
>                </parameter>
>                <parameter>
>                        <name>username</name>
>                        <value>root</value>
>                </parameter>
>                <parameter>
>                        <name>password</name>
>                        <value>root</value>
>                </parameter>
>
>        <!-- DBCP connection pooling options -->
>                <parameter>
>                        <name>maxWait</name>
>                        <value>10000</value>
>                </parameter>
>                <parameter>
>                        <name>maxIdle</name>
>                        <value>100</value>
>                </parameter>
>                <parameter>
>                        <name>maxActive</name>
>                        <value>100</value>
>                </parameter>
>        </ResourceParams>
> </Context>
>
> OS: Windows XP
> Tomcat version: 4.1.x
>
> The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF
>
> But still the RequestDumperValue does not print anything on the console.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message