I'm using tomcat 5.5 on linux, JDK 1.4.2 and have noticed that in my configuration that when I stop a context using the tomcat manager that the data source defined locally in that context is not stopped. To resolve this issue I would normally stop the entire tomcat instance and restart it. This is a problem as there are other applications running on the server so I would rather be able to just stop the context and have the local resources stopped at the same time. My context configuration follows the example below.
<?xml version='1.0' encoding='utf-8'?> <Context debug="9" docBase="app.war" path="/app" reloadable="true"> <Resource name="jdbc/dbName" type="javax.sql.DataSource" username="user" password="password" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://host/db" scope="Unshareable" maxActive="10" maxIdle="100" /> </Context> Any ideas on how to configure tomcat to stop the data sources for the context when it is stopped? Cheers, Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]