0 Replies Latest reply on Oct 6, 2006 5:22 AM by Dalibor Kalna

    Configuring JBossMQ on JBoss Embedded

    Dalibor Kalna Newbie

      Hi everyone, can somebody please explain, how to configure JBoss MQ on JBoss Embedded? I have tried this:
      - I have copied hsqldb-jdbc2-service.xml to my resource dir
      - I have copied jbossmq-destinations-service.xml to my resource dir

      Now at start I do following:

      public void startEmbeddedJBossInfrastructure() {
      EJB3StandaloneBootstrap.boot(null);
      EJB3StandaloneBootstrap.deployXmlResource("hsqldb-jdbc2-service.xml");
      EJB3StandaloneBootstrap.deployXmlResource("jbossmq-destinations-service.xml");
      EJB3StandaloneBootstrap.deployXmlResource("security-beans.xml");
      EJB3StandaloneBootstrap.scanClasspath();
      }

      I get exception "Failed to parse source" on hsqldb... xml file, but it is the original file from Jboss instalation dir.

      Anyone have successfuly JBossMQ running on JBoss embedded?

      Thanks a lot for help
      Dalibor