In context.xml
of Tomcat
I added the following tag:
<Resource name="jdbc/MyDatasource" auth="Container" type="javax.sql.DataSource" driverClassName="org.apache.derby.jdbc.ClientDriver" url="jdbc:derby://localhost:1527/my_database;create=true" username="me" password="me" maxActive="20" maxIdle="10" maxWait="-1" />
When is the next tag read? Reading when I start the server?
source share