Yes... in 4.1, the context definition is supposed to be in
$CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF.
Santosh Puranshettiwar wrote:
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&characterEncoding=UTF-8&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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]