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.
However when I try to start my server, it fails to deploy the MDBs and fails with error 'Could not find the queue destination-jndi-name' and then 'javax.management.InstanceAlreadyExistsException'.
Am I doing it write or is there more to it than meets the eye?
I changed the data source to point to the datasource created for my jms messages.
I assume that this means that you created a mysql-ds.xml file which you properly configured for your database, and you modified the two ,ysql-*-service.xml files toe reference the datasource JNDI name mentioned in mysql-ds.xml. As long as you caught every occurrence of "MySqlDS" in the mysql-*-service.xml files then you should be OK.
It would help if you posted the full exception stack traces (actually, only the first one is necessary). The error names or text is usually meaningless.
This is a DEBUG log entry. It is possible that it means nothing. This entry appears to be related to downgradeservices_dev.ear. Please try running JBoss AS without that EAR deployed. If it starts up fine, and the JMS-related tables show up in the database (I think that the users table will have some entries), then you have set up MySQL and JMS properly.
I removed all EARs from the deploy directory and started the AS again. The tables were not created in my JMS schema. The option to create tables on startup is true in my *service.xml in jms directory.
Please post the full console output, starting with the command you entered, for when you start JBoss AS with your JMS changes and the mysql-ds.xml file, but without your application being deployed.