[JBOSS et MySql] Pb de configuration

Pb de configuration [JBOSS et MySql] - Java - Programmation

Marsh Posté le 02-02-2006 à 13:19:59    

Bonjour,
j'ai un problème pour intégrer MySql à JBOSS
 
J'ai configuré JBOSS pour tenir compte de MySql en rajoutant mysql-connector dans le répertoire lib de server/default et j'ai modifié mysql-ds.xml en mettant :
 

Code :
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- $Id: mysql-ds.xml,v 1.3.2.1 2004/12/01 11:46:00 schrouf Exp $ -->
  3. <!--  Datasource config for MySQL using 3.0.9 available from:
  4. http://www.mysql.com/downloads/api-jdbc-stable.html
  5. -->
  6. <datasources>
  7.   <local-tx-datasource>
  8.     <jndi-name>group23</jndi-name>
  9.     <connection-url>jdbc:mysql://1**.***.*.**/epizza_group23</connection-url>
  10.     <driver-class>com.mysql.jdbc.Driver</driver-class>
  11.     <user-name>***</user-name>
  12.     <password>***</password>
  13.     <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
  14.     <!-- sql to call when connection is created
  15.     <new-connection-sql>some arbitrary sql</new-connection-sql>
  16.       -->
  17.     <!-- sql to call on an existing pooled connection when it is obtained from pool
  18.     <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
  19.       -->
  20.     <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
  21.     <metadata>
  22.        <type-mapping>mySQL</type-mapping>
  23.     </metadata>
  24.   </local-tx-datasource>
  25. </datasources>


 
(les étoiles sont remplacées par des chiffres et lettres)
 
Mon problème, lorsque je lance JBOSS j'ai les erreurs :
 
 

Code :
  1. --- MBeans waiting for other MBeans ---
  2. ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  3.   State: CONFIGURED
  4.   I Depend On:
  5.     jboss.mq:service=Invoker
  6.     jboss.web:service=WebServer
  7. ObjectName: jboss.mq.destination:service=Topic,name=testTopic
  8.   State: CONFIGURED
  9.   I Depend On:
  10.     jboss.mq:service=DestinationManager
  11.     jboss.mq:service=SecurityManager
  12. ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
  13.   State: CONFIGURED
  14.   I Depend On:
  15.     jboss.mq:service=DestinationManager
  16.     jboss.mq:service=SecurityManager
  17. ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
  18.   State: CONFIGURED
  19.   I Depend On:
  20.     jboss.mq:service=DestinationManager
  21.     jboss.mq:service=SecurityManager
  22. ObjectName: jboss.mq.destination:service=Queue,name=testQueue
  23.   State: CONFIGURED
  24.   I Depend On:
  25.     jboss.mq:service=DestinationManager
  26.     jboss.mq:service=SecurityManager
  27. ObjectName: jboss.mq.destination:service=Queue,name=A
  28.   State: CONFIGURED
  29.   I Depend On:
  30.     jboss.mq:service=DestinationManager
  31. ObjectName: jboss.mq.destination:service=Queue,name=B
  32.   State: CONFIGURED
  33.   I Depend On:
  34.     jboss.mq:service=DestinationManager
  35. ObjectName: jboss.mq.destination:service=Queue,name=C
  36.   State: CONFIGURED
  37.   I Depend On:
  38.     jboss.mq:service=DestinationManager
  39. ObjectName: jboss.mq.destination:service=Queue,name=D
  40.   State: CONFIGURED
  41.   I Depend On:
  42.     jboss.mq:service=DestinationManager
  43. ObjectName: jboss.mq.destination:service=Queue,name=ex
  44.   State: CONFIGURED
  45.   I Depend On:
  46.     jboss.mq:service=DestinationManager
  47. ObjectName: jboss.mq:service=Invoker
  48.   State: CONFIGURED
  49.   I Depend On:
  50.     jboss.mq:service=TracingInterceptor
  51.     jboss:service=Naming
  52.   Depends On Me:
  53.     jboss.mq:service=InvocationLayer,type=HTTP
  54.     jboss.mq:service=InvocationLayer,type=JVM
  55.     jboss.mq:service=InvocationLayer,type=UIL2
  56. ObjectName: jboss.mq:service=TracingInterceptor
  57.   State: CONFIGURED
  58.   I Depend On:
  59.     jboss.mq:service=SecurityManager
  60.   Depends On Me:
  61.     jboss.mq:service=Invoker
  62. ObjectName: jboss.mq:service=SecurityManager
  63.   State: CONFIGURED
  64.   I Depend On:
  65.     jboss.mq:service=DestinationManager
  66.   Depends On Me:
  67.     jboss.mq.destination:service=Topic,name=testTopic
  68.     jboss.mq.destination:service=Topic,name=securedTopic
  69.     jboss.mq.destination:service=Topic,name=testDurableTopic
  70.     jboss.mq.destination:service=Queue,name=testQueue
  71.     jboss.mq:service=TracingInterceptor
  72.     jboss.mq.destination:service=Queue,name=DLQ
  73. ObjectName: jboss.mq.destination:service=Queue,name=DLQ
  74.   State: CONFIGURED
  75.   I Depend On:
  76.     jboss.mq:service=DestinationManager
  77.     jboss.mq:service=SecurityManager
  78. ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  79.   State: CONFIGURED
  80.   I Depend On:
  81.     jboss.mq:service=Invoker
  82. ObjectName: jboss.mq:service=DestinationManager
  83.   State: CONFIGURED
  84.   I Depend On:
  85.     jboss.mq:service=MessageCache
  86.     jboss.mq:service=PersistenceManager
  87.     jboss.mq:service=StateManager
  88.   Depends On Me:
  89.     jboss.mq.destination:service=Topic,name=testTopic
  90.     jboss.mq.destination:service=Topic,name=securedTopic
  91.     jboss.mq.destination:service=Topic,name=testDurableTopic
  92.     jboss.mq.destination:service=Queue,name=testQueue
  93.     jboss.mq.destination:service=Queue,name=A
  94.     jboss.mq.destination:service=Queue,name=B
  95.     jboss.mq.destination:service=Queue,name=C
  96.     jboss.mq.destination:service=Queue,name=D
  97.     jboss.mq.destination:service=Queue,name=ex
  98.     jboss.mq:service=SecurityManager
  99.     jboss.mq.destination:service=Queue,name=DLQ
  100. ObjectName: jboss.mq:service=PersistenceManager
  101.   State: CONFIGURED
  102.   I Depend On:
  103.     jboss.jca:service=DataSourceBinding,name=MySqlDS
  104.   Depends On Me:
  105.     jboss.mq:service=DestinationManager
  106. ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  107.   State: CONFIGURED
  108.   I Depend On:
  109.     jboss.mq:service=Invoker
  110. --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  111. ObjectName: jboss.jca:service=DataSourceBinding,name=MySqlDS
  112.   State: NOTYETINSTALLED
  113.   Depends On Me:
  114.     jboss.mq:service=PersistenceManager


 
Le serveur Jboss démarre mais il a un problème avec mysql
 
J'ai écumé plusieurs forums et je n'ai pas trouvé de solutions à ce problème.
 
Merci pour votre aide

Reply

Marsh Posté le 02-02-2006 à 13:19:59   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed