Server-managed datasources with Tomcat and WTP
If you need to configure a server-managed datasource for testing your webapp, and you happen to be using Eclipse WTP, this is what you need to do.
- Have your server definitions on the workspace.
- Deploy your app to the server.
server.xmland find the application’s
- Nest your datasource definition inside the
If you need any other kind of
<Resource> configured in your tomcat, you can proceed in the same way.