-
1. Re: Trouble Installing HornetQ (2.3.0 Final) into JBoss 5.1
ataylor May 24, 2013 8:28 AM (in response to andyjc)2.3.0.final is developed for AS7, you should upgrade your AS
-
2. Re: Trouble Installing HornetQ (2.3.0 Final) into JBoss 5.1
redboul May 30, 2013 9:37 AM (in response to ataylor)Hi All,
I am trying to set up a Jboss 5.1 sending messages via JCA to a standalone HornetQ 2.3.0 (with the user-guide) but encountering many problmes:
- class not found error (HornetQException for instance which are not in hornetq-jms-client.jar nor hornetq-core-client.jar nor hornetq-ra.jar but in hornetq-commons.jar which is not said to be added to Jboss lib)
- adding HornetQException class into hornetq-core-client.jar result in missing BasicLogger class
- adding jboss-mc.jar into hornetq-ra.rar folder solved the later but added a java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; since jboss 5.1 logger are different from the one used in HornetQ
I was hoping that the rar classloader would only use the class from the rar folder but it seems it does not...
I finally successfuly installed the Resource Adapter using Hornetq 2.2.14.Final jars version but I am encoutering some issues that may be fixed with 2.3.0.Finale.
With Andy's post, should I understand that HornetQ 2.3.0.Final does not work with Jboss 5.1 (even in standalone)?
Thanks
-
3. Re: Trouble Installing HornetQ (2.3.0 Final) into JBoss 5.1
clebert.suconic May 30, 2013 10:13 AM (in response to redboul)you will need to add the jboss logger used on jboss7 / wildfly on the jar lib as well
-
4. Re: Trouble Installing HornetQ (2.3.0 Final) into JBoss 5.1
redboul May 31, 2013 3:36 AM (in response to clebert.suconic)Hi Clebert,
Thanks for your answer.
I already did add the jboss logging jar (in the rar foler or in the lib folder) but jboss is still using the jboss5 one since class names/packages are the same but with different signatures.
Do you mean remove the jboss logging of jboss 5 and replace it with the ones of jboss7? If so, I will encouter the same issues on jboss deployment instead of hornetq deployment.
Regards,