<?xml version="1.0" encoding="UTF-8"?>
<Context path="/courses">

  <Resource
    name="jdbc/coursedb"
    auth="Container"
    
    type="javax.sql.DataSource"
    factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://devproserv.com:54406/coursedb"

    username="javauser"
    password="zSxcvb"

    initialSize="10"
    maxActive="20"
    maxIdle="10"
    minIdle="5"
    maxWait="10000"

    testOnBorrow="true"
    testOnConnect="true"
    testOnReturn="true"
    testWhileIdle="true"

    validationQuery="SELECT 1"

    validationInterval="60000"
    minEvictableIdleTimeMillis="60000"
    timeBetweenEvictionRunsMillis="60000"

    removeAbandoned="true"
    removeAbandonedTimeout="60"
    logAbandoned="true"
  />

</Context>

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/courses">

  <Resource
    name="jdbc/coursedb"
    auth="Container"
    
    type="javax.sql.DataSource"
    factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://devproserv.com:54406/coursedb"
    connectionProperties="useUnicode=yes;characterEncoding=utf8;"

    username="javauser"
    password="zSxcvb"

    initialSize="10"
    maxActive="20"
    maxIdle="10"
    minIdle="5"
    maxWait="10000"

    testOnBorrow="true"
    testOnConnect="true"
    testOnReturn="true"
    testWhileIdle="true"

    validationQuery="SELECT 1"

    validationInterval="60000"
    minEvictableIdleTimeMillis="60000"
    timeBetweenEvictionRunsMillis="60000"

    removeAbandoned="true"
    removeAbandonedTimeout="60"
    logAbandoned="true"
  />

</Context>

Set encoding UTF8 in the connection pool
Set encoding UTF8 in the connection pool
