1 Reply Latest reply on Jul 22, 2009 3:49 AM by Jeff Mesnil

    JBM2 Beta3 with JBAS5.1.0 - Configuring Destinations

    Simon Temple Newbie

      Should it be possible to create a destination using a jbm-queues.xml file?

      I'm looking for a way to create destinations but store the configuration file(s) with the deployable services rathar than in the messaging.sar folder.

      This gives me a NPE

      <settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="urn:jboss:messaging ../schemas/jbm-queues.xsd ">
      
       <queue name="MyQueue" address="myQ"/>
      
      </settings>


      java.lang.NullPointerException
       at org.jboss.messaging.utils.SimpleString.<init>(SimpleString.java:84)
       at org.jboss.messaging.core.management.impl.MessagingServerControlImpl.deployQueue(MessagingServerControlImpl.java:254)
       at org.jboss.messaging.core.deployers.impl.QueueDeployer.deploy(QueueDeployer.java:73)
       at org.jboss.messaging.core.deployers.impl.XmlDeployer.redeploy(XmlDeployer.java:107)
       at org.jboss.messaging.core.deployers.impl.FileDeploymentManager.run(FileDeploymentManager.java:220)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)