[Bamboo Knowledge Base]
Within the Context tags of your context descriptor (bamboo.xml), directly after the opening <Context...> line, insert the DataSource Resource tag:
<Context .... > <Resource name="jdbc/bamboo" auth="Container" type="javax.sql.DataSource" username="yourusername" password="yourpassword" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/bamboo?autoReconnect=true" maxActive="15" maxIdle="7" validationQuery="Select 1" /> </Context>