[jboss-user] [Installation, Configuration & Deployment] - Re: Multiple data sources when using MySQL

EMeuwese do-not-reply at jboss.com
Thu Sep 3 11:04:58 EDT 2009


"yashendrac" wrote : Hi,
  | 
  | I am also getting same error related to MySQL.
  | 
  |   Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.destination:name=ObjectUpdates,service=Topic" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.destination:name=audit,service=Queue" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging.destination:name=report,service=Topic" is missing the following dependencies:
  |   |     Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
  |   |   Deployment "jboss.messaging:service=PostOffice" is missing the following dependencies:
  |   |     Dependency "jboss.jgroups:service=ChannelFactory" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **")
  |   | 
  | 
  | Any Idea if commenting out following is safe?
  | 
  | <depends options-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends> in the file deploy/messaging/mysql-persistence-service.xml
  |   | 

I am using a local-tx datasource, mysql driver 5.1.8, JBoss AS 5.1.0GA and to solve the dependency error you have to replace 
<depends optional-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends>
in mysql-persistence-service.xml with 
<attribute name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</attribute>

see JBAS-6991 and JBAS-6333

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253363#4253363

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253363



More information about the jboss-user mailing list