Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

MySql and JBoss

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Muzammil,
have you removed hsqldb-jdbc2-service.xml from ..\jboss-3.2.3\server\default\deploy\jms\ ??
Maybe your problem comes from this file...
Good luck
 
reply
    Bookmark Topic Watch Topic
  • New Topic