This is a discussion on Tomcat 6.0 within the Apache Web Server forums, part of the Web Server and Related Forums category; In tomcat 6.0 where do I put the following definition: In 5.0 it was in the server.xml. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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:oracle:thin:us:pwd@localhost:1521:pb1"/> </Context> |