<?xml version="1.0" encoding="UTF-8"?>
<Context>
  <Loader delegate="true"/>

  <Resource name="jdbc/webauth" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000"
               username="webadmin" password="QfWEsNjJeM" driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://localhost/webauth"/>
  <Resource name="jdbc/chatbox" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000"
               username="webadmin" password="QfWEsNjJeM" driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://localhost/chatbox"/>
</Context>
<?xml version="1.0" encoding="UTF-8"?>
<Context>
  <Loader delegate="true"/>

  <Resource name="jdbc/webauth" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000"
               username="webauth" password="5glul9f3i4" driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://localhost/webauth"/>
  <Resource name="jdbc/chatbox" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000"
               username="webadmin" password="QfWEsNjJeM" driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://localhost/chatbox"/>
</Context>
Use webauth user not webadmin to register app permissions
Use webauth user not webadmin to register app permissions
