1 Reply Latest reply on Mar 13, 2009 8:44 AM by jochen.reinhardt

    Propblems with JBoss AS 5.0.1 Messaging with MySQL

      Hello,

      I'm using MySQL (with InnoDB) as database backend for JBoss. Everything works fine untill I change the messaging hsqldb-persistence-service.xml in server/default/deploy/messaging to use MySQL as database by replacing the file with doc/examples/jms/mysql-persistence-service.xml. This causes deployment errors for PostOffice, as a dependency (ChannelFactory) is not deployed.

      <depends optional-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends>
      <attribute name="ControlChannelName">jbm-control</attribute>
      <attribute name="DataChannelName">jbm-data</attribute>
      <attribute name="ChannelPartitionName">${jboss.partition.name:DefaultPartition}-JMS</attribute>

      When I comment out this section, JBoss starts fine. But I wonder if it is safe to do so. I eoncounter these problems on all OSes I am working with - Linux, Windows XP and Windows Server 2003.
      I'm sure this is some kind of configuration issue, but I was not able to find out more... Maybe the example files were designed for a previous version of JBoss AS?

      Please advise!