如何在JBoss 6中升级HornetQ版本? [英] How to upgrade HornetQ version in JBoss 6?

查看:254
本文介绍了如何在JBoss 6中升级HornetQ版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的JBoss-6.0.0 AS默认自带HornetQ-2.1.2版本,但这个版本的HornetQ有许多Iteration相关的bug,现在解决了HornetQ-2.2.5版本,默认情况下与JBoss 7 AS。



我无法切换到JBoss 7 AS,因为我已经使用了许多其他特定于JBoss 6 AS的服务,我们切换的风险很大到JBoss 7 AS。



还有什么可以升级HornetQ版本在JBoss 6 AS?
我尝试使用独立HornetQ-2.2.5作为不同的进程运行,但是JBoss JMX控制台不可用。



任何建议,这个。
如果我在这里缺少某些东西,请告诉我。



谢谢。

解决方案


但是JBoss JMX控制台不可用。


使用jconsole



您可以在 http://hudson.jboss.org/hudson/view/JBoss %20AS / job / JBoss-AS-6.1.x / lastSuccessfulBuild / artifact / JBossAS_6_1 / build / target / jboss-6.1.x.zip



在HornetQ用户论坛上已经提出了同样的问题:



http://community.jboss.org/message/616616?tstart=0#616616




  • 删除邮件日志,因为2.2.5的文件格式不能向后兼容($ JBOSS_HOME / server // data / hornetq)

  • 删除现有的JMS资源适配器jms-ra.rar文件夹下/ deploy
    - 将HornetQ包中的库拷贝到$ JBOSS_HOME / common / lib。要复制的jar包括:

    • hornetq-bootstrap.jar

    • hornetq-core.jar

    • hornetq-jboss-as-integration.jar

    • hornetq-jms.jar

    • hornet-logging.jar

    • netty.jar


  • 将资源适配器从hornetq pack复制到/ deploy,并将其从hornetq-ra.rar重命名为jms -ra.rar(以上步骤2中有效替换旧版本)

  • 将HornetQ包中的客户端库复制到$ JBOSS_HOME / client。要复制的jar包括:

    • hornetq-core-client.jar

    • hornetq-jms-client.jar

    • netty.jar



I am using JBoss-6.0.0 AS which by default comes with HornetQ-2.1.2 version but this version of HornetQ has many Iteration related bugs which are now resolved in HornetQ-2.2.5 version which by default comes with JBoss 7 AS.

I can't switch to JBoss 7 AS because I am already using many other services specific to JBoss 6 AS and it would be very risky for us to switch to JBoss 7 AS as of now.

Is there anyway by which I can upgrade HornetQ version in JBoss 6 AS ? I tried with standalone HornetQ-2.2.5 by running it as different process, but with that JBoss JMX Console is not available.

Any suggestion is appreciated for this. Please let me know if I am missing something here.

Thanks.

解决方案

but with that JBoss JMX Console is not available.

use the jconsole from the JDK distribution.

You can either get a nightly build at http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.1.x/lastSuccessfulBuild/artifact/JBossAS_6_1/build/target/jboss-6.1.x.zip

Or this same question has been asked on the HornetQ user's forum:

http://community.jboss.org/message/616616?tstart=0#616616

  • Delete message journal since the file format for 2.2.5 is not backwards compatible ($JBOSS_HOME/server//data/hornetq)
  • Delete existing JMS Resource adapter jms-ra.rar folder under /deploy -Copy libs from HornetQ pack to $JBOSS_HOME/common/lib. The jars to copy are:
    • hornetq-bootstrap.jar
    • hornetq-core.jar
    • hornetq-jboss-as-integration.jar
    • hornetq-jms.jar
    • hornet-logging.jar
    • netty.jar
  • Copy resource adapter from hornetq pack to /deploy and rename it from hornetq-ra.rar to jms-ra.rar (effectively replacing old version in step 2 above)
  • Copy client libs from HornetQ pack to $JBOSS_HOME/client. The jars to copy are:
    • hornetq-core-client.jar
    • hornetq-jms-client.jar
    • netty.jar

这篇关于如何在JBoss 6中升级HornetQ版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆