2 Replies Latest reply on Nov 19, 2007 9:03 AM by Jay Howell

    Running JBoss Messaging on JBoss AS 4.0.4 ?

    minnk keyl Newbie

      Hi,
      Could anyone please clarify the following.

      In the JBoss Messaging homepage, it's stated the JBoss Messaging is designed to run on AS 4.2.2 or later.

      Unfortunately, we have an old 4.0.4 AS, which we can't upgrade any time soon.

      My question: can we run JBoss Messaging on our 4.0.4 AS (by replacing some jars, deployment descriptors, etc ? if so, how ? )
      Or do we absolutely have to use the old JBoss MQ ?

      I might be worth mentioning we *don't* have any old applications that would need JBoss MQ (no JMS, no MDB). So it's enough for us use JBoss Messaging *instead* of JBss MQ - we don't need to run them side-by-side.

      Thanks.



        • 1. Re: Running JBoss Messaging on JBoss AS 4.0.4 ?
          mskonda Apprentice

          As far as I can tell, JBM can run on 4.0.x series without any major issues. I am running JBM 1.2.GA on 4.0.5.GA in Production!

          Although this is not advisable, due to many restrictions in the project, we have no option except running JBM on 4.0.5.GA. All seems well (except few minor quirks) so far.

          Related to your *how* question, follow the manual and deploy the JBM.

          Thanks
          Madhu



          • 2. Re: Running JBoss Messaging on JBoss AS 4.0.4 ?
            Jay Howell Apprentice

            Yep,
            Madhu is correct. When running JBM with the AS 4.0.x, Jboss Messaging must run inside of a scoped classloader. 4.0.x has versions a libraries for remoting and aop that are not compatible with Jboss Messaging. JBM requires more up to date libraries. To keep these straight the app server and JBM have to be run in two different classloaders.

            I have heard of people running JBM 1.3 and 1.4 with 4.0.x, but you have to look at jbm 1.2 and use the scoped classloader defined in that version. Not sure I would recommend it, because it isn't common, which means that it's not tested.

            Jay:)