Yes, the resource is defined inside the gwt-console-server/META-INF/context.xml. Previously I was using the now disabled datasource, but when I wanted to use Bitronix I had to change it. Maybe Bitronix isn't registering the datasources, right?
Thanks.
<Context debug="5" reloadable="true" crossContext="true">
<!--Resource name="jdbc/testDS1"
auth="Container"
type="javax.sql.DataSource"
username="testing"
password=""
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/jbpm"
maxActive="8"
maxIdle="4"/-->
<Resource name="jdbc/testDS1" auth="Container" type="javax.sql.DataSource"
factory="bitronix.tm.resource.ResourceObjectFactory" uniqueName="jdbc/testDS1" />
</Context>