3 Replies Latest reply on Feb 18, 2006 8:11 AM by adrian.brock

    how could I use jms in jboss's all run mode?

    dlingam

      I want to use jboss's jndi clustering service. so I run jboss in all mode. (run -c all). but I found, when I run jboss in this mode, I can't find connectionfactory in jms. but in default mode, I can find it, also I can use queue testqueue. but in all mode, there is no any preinstalled queue and topic. I found some artical on jms clustering in all mode, but I don't want to use jms cluster, I only want to use jms like in the default mode, how could I do?
      so urgent, thank you very much

        • 1. Re: how could I use jms in jboss's all run mode?
          genman


          The "test" queues can be copied from the "default/jms" directory.

          If you don't set up clustering (remove cluster-service.xml), it won't magically start to cluster.

          • 2. Re: how could I use jms in jboss's all run mode?
            dlingam

            hi,

            thx for ur reply first, As i am using clustering i could not remove cluster-service.xml

            I tried copying following files in jboss-4.0.2\server\all\deploy\jms

            postgres-jdbc-state-service.xml
            postgres-jdbc2-service.xml
            jbossmq-destinations-service.xml
            jbossmq-service.xml

            It works fine for a period of time, after some time it crips with
            "ConnectionFactory not bound"
            javax.naming.NameNotFoundException: ConnectionFactory not bound

            then i copied the above files here
            jboss-4.0.2\server\all\deploy-hasingleton\jms

            It gives the same exception atonce

            Any help would be really appreciable





            • 3. Re: how could I use jms in jboss's all run mode?

              There must be about 5 different topics/faqs on the WIKI explaining this.
              And this is not the JNDI forum.