<?xml version="1.0" encoding="UTF-8"?>
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <New id="DSTest" class="org.eclipse.jetty.plus.jndi.Resource">
     <Arg></Arg>
     <Arg>jdbc/restDemoDB</Arg>
     <Arg>
        <New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
           <Set name="Url">jdbc:mysql://localhost:3307/rest_demo?allowMultiQueries=true</Set>
           <Set name="User">rest_demo</Set>
           <Set name="Password">rest_demo</Set>
        </New>
     </Arg>
    </New>
</Configure>
<?xml version="1.0" encoding="UTF-8"?>
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <New id="DSTest" class="org.eclipse.jetty.plus.jndi.Resource">
     <Arg></Arg>
     <Arg>jdbc/restDemoDB</Arg>
     <Arg>
        <New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource">
           <Set name="Url">jdbc:mysql://localhost:3306/rest_demo?allowMultiQueries=true</Set>
           <Set name="User">rest_demo</Set>
           <Set name="Password">rest_demo</Set>
        </New>
     </Arg>
    </New>
</Configure>
Set db configuration to default MySql port - 3306
Set db configuration to default MySql port - 3306