I am trying to configure MySql service in
JBoss, When I start JBoss, I get following exception,
2004-07-21 12:45:44,328 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/jboss3.2.5/server/default/deploy/jms/mysql-jdbc2-service.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq:service=DestinationManager
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:69)
....
I have copied
..\jboss-3.2.3\docs\examples\jms\mysql-jdbc2-service.xml to
..\jboss-3.2.3\server\default\deploy\jms
and I have removed.
..\jboss-3.2.3\server\default\hsqldb-ds.xml
Here is my ..\jboss-3.2.3\server\default\deploy\mysql-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>MySqlDS</jndi-name>
<connection-url>
jdbc:mysql://localhost:3306/hfejb</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>user</user-name>
<password>mysecret</password>
</local-tx-datasource>
</datasources>
Any ideas/help is greatly appreciated.