3 Replies Latest reply on Feb 2, 2009 8:12 AM by stig_dk

    Upgrade from JBM 1.4.0SP# to JBM 1.4.2 GA on JBoss 4.2.2 GA

    stig_dk

      Hi
      Is it possible to upgrade from 1.4.0SP3 to 1.4.2 by simply replacing jboss-messaging.jar and jboss-messaging-client.jar with the new versions? I'm running jboss 4.2.2 GA, using Oracle 10g for persistent message storage.

      (Yes, I know the guide says to replace the entire messaging sar, but...).


      cheers
      /Stig

        • 1. Re: Upgrade from JBM 1.4.0SP# to JBM 1.4.2 GA on JBoss 4.2.2
          timfox

          Read the readme that comes with the distribution

          • 2. Re: Upgrade from JBM 1.4.0SP# to JBM 1.4.2 GA on JBoss 4.2.2
            stig_dk

            Never mind, did a diff of the config files to see what was new.

            cheers
            /Stig

            • 3. Re: Upgrade from JBM 1.4.0SP# to JBM 1.4.2 GA on JBoss 4.2.2
              stig_dk

              Regarding the readme:

              "When upgrading an existing installation be sure to update all the configuration files in server/<server name>/deploy/jboss-messaging.sar with the newer versions and replace jboss-messaging.jar in server/<server name>/lib and on the client classpath. You will also need to drop all tables and indexes in the database."

              Sounds like overkill to me? What about productions systems with lots of messages in queue, how do you upgrade them. Seems to me that there is no need to drop all the tables. Looks like one new table was added, and three indices droped from 1.4.0 SP3 to 1.4.2 GA. It's no biggie to upgrade the DB by hand, keeping persisted messages in queue.

              Would it be possible to include som DDL scripts for the JBM database in the distribution? Would be nice not having to search for them in xx-persistence-service.xml by hand.


              cheers
              /Stig