Is the Context associated with a Host?

I tried and example as shown here:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
and it works fine. I think the same instructions work for Tomcat 5.5.x
as well.

My server.xml

     <Host name="connectionpooling" appBase="webapps/ConnectionPooling">
        <Context path="" docBase="C:/dev/projects/ConnectionPooling"
reloadable="true" debug="true">
                <Resource name="jdbc/TestDB" auth="Container" 
type="javax.sql.DataSource"
                        maxActive="100" maxIdle="30" maxWait="10000"
                        username="javauser" password="javadude"
driverClassName="com.mysql.jdbc.Driver"
                        
url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>    
        </Context>
     </Host>

-Rashmi

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

Reply via email to