Hi
I am using Jboss 4.2.3, I replaces the hsqldb-jdbc-state-service.xml with mysql-jdbc-state-service.xml and hsqldb-jdbc2-service.xml with mysql-jdbc2-service.xml.
I changed the data source to point to the datasource created for my jms messages.
<depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=jmsDataSource</depends>