Tomcat 6.0

D

DJH

In tomcat 6.0 where do I put the following definition:

In 5.0 it was in the server.xml. It has since changed. I just want to
make the sample apps reloadable and provide the datasource.


<Context path="/examples" docBase="examples"
debug="5" reloadable="true" crossContext="true">


<Resource name="jdbc/PB1DB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="us" password="pwd"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:eek:racle:thin:us:pwd@localhost:1521:pb1"/>

</Context>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top