Try adding this before you start your KnowledgeBase
PoolingDataSource ds1 = new PoolingDataSource();
ds1.setUniqueName( "jdbc/testDS2" );
ds1.setClassName( "com.mysql.jdbc.jdbc2.optional.MysqlXADataSource" );
ds1.setMaxPoolSize( 10 );
ds1.setAllowLocalTransactions( true );
ds1.getDriverProperties().put( "user","root" );
ds1.getDriverProperties().put( "password","password" );
ds1.getDriverProperties().put( "URL","jdbc:mysql://DTL-HO-RND02.datelservices.com:3306/myjbpm5db" );
ds1.init();