How to upgrade embedded HornetQ on JBoss 6.1.0.Final - jboss

I am running JBoss 6.1.0.Final with embedded HornetQ.
I want to upgrade HornetQ but keep the JBoss.
Is that possible, and how? What would the latest compatible HornetQ version that can still work with JBoss 6.1.0Final?
Looking at this thread: How to upgrade HornetQ version in JBoss 6?
I tried the following:
1- Download HornetQ 2.4.0, but wasn't sure what copy from the pack?
2- Download the latest JBoss AS 6.1.1Final and copies some jars, but not sure what version I deployed.
I need at least version 2.3.0 or HornetQ, and I have no idea which version of HornetQ is deployed with the latest 6.1.1.Final !

With JBoss EAP I would post your question to RedHat support. EAP 6.1 comes with HornetQ 2.3.1.Final, as you can see here. 6.1.1 comes with 3.6.6. And you can see the version simply by looking at the log messages or inside the manifest.

Related

Confused by wildfly versions used in EAP 7.2

I would have added this to another thread, but I am unable to comment on other's posts. And what I read did not answer my question. I just installed EAP 7.2.0.GA. In the console log, it says:
JBoss EAP 7.2.0.GA (WildFly Core 6.0.11.Final-redhat-00001)
However, others think it is around version 13. And when I look at the releases of wildfly ( http://wildfly.org/downloads/ ) a version 6 is so old it does not even show up and would have been prior to 2014...
So, how can it be 6.0.11.Final?
WildFly core is just a component in WildFly application server.
As such is also used in JBoss EAP which is a downstream product based on WildFly AS.
WildFly core is standalone project which provides most of core capabilities (management, cli, administration, subsystem infrastructure...) of the application server without any Java EE support, that is added to it by WildFly project.
you can see the sources for both at
https://github.com/wildfly/wildfly-core/
https://github.com/wildfly/wildfly/
as for your confusion.
WildFly core 6.0.x is used in EAP 7.1 as well as in WildFly 14
which you an see also in the sources https://github.com/wildfly/wildfly/blob/14.0.0.Final/pom.xml#L375
micro version is not always exactly the same, as in the process of building downstream product of EAP, extra patches can be added.
WildFly Core is a component in JBoss Enterprise Application Platform 7 (EAP 7). So, this log means:
JBoss EAP 7.2 - JBoss EAP in version 7.2
GA - General availability
WildFly Core 6.0.11.Final - component WildFly Core in version 6.0.11.Final.
See also:
JBoss Enterprise Application Platform Component Details
Software release life cycle

JBoss AS 7.3 vs 7.4 and differences

I can find the EAP component differences, but where can I find differences between JBoss AS 7.3 and 7.4? I am trying to decide between the two.
The differences are the same as for EAP, this is because EAP 6.3.0 GA built from AS 7.4 and EAP 6.2.0 GA built from AS 7.3. The EAP code repository was forked/rebased from AS7 after 7.2.0 tag.
And as such has its own lifecycle and has diverted considerably from AS7/WildFly (upstream) repository.
In short there is no such thing as JBoss 7.3 or 7.4 as it is internal version.
Code for all EAP releases is available on ftp and you can always build it yourself and use without restrictions (ftp://ftp.redhat.com/redhat/jbeap/).
You can see component details in https://access.redhat.com/articles/112673
I hope this help.

JBoss 7.x or JBoss EAP 6.x

I am installing JBoss but I don't understand which version to choose. Should I download JBoss 7.x or the JBoss EAP 6.x? What is the difference?
TLDR; out of those options, pick the latest EAP 6.x Alpha.
Note that Wildfly was released 11.2.2014, which is now the preferred version.
The long story:
Previously, JBoss community edition was free for all, and EAP was the enterprise version for which you'd need a commercial subscription for. In return you'd get commercial support for it as well. However, with later version things changed a bit and this is no longer exactly so.
JBoss AS7 is JBoss version 7.1. For JBoss 7.2 version, they released it as JBoss EAP 6.1 Alpha, so that is the updated community version. Alpha is free to use in any way or form. They have also released JBoss EAP 6.1 (the commercial version), for which you need a subscription for. If you take a look at the download page, you see the versions together with the release dates:
Version       Release date
6.1.0 Final  2013-05-20   
6.1.0 Beta   2013-04-19   
6.1.0 Alpha 2013-03-07   
7.1.1.Final  2012-03-09   
6.1.0 Final and 6.1.0 Beta binaries are for commercial purposes and require a paid subscription to be run in production environments.
There are some considerable improvements in 7.2, and 7.1 is very old already, so for 7.x community version you want JBoss EAP 6.1 Alpha or later 6.x Alpha.
Sources:
http://www.openlogic.com/blog/bid/283299/Where-is-JBoss-7-2-0-Final
FAQ: http://www.jboss.org/jbossas/faq
https://community.jboss.org/blogs/mark.little/2013/03/07/eap-binaries-available-for-all-developers
https://community.jboss.org/message/802102
Update 20.7.2015: since writing the previous answer, JBoss EAP 6.1 Alpha has been superseded by newer JBoss 6.x EAP Alphas in the AS7 product line, latest being JBoss EAP 6.4 Alpha (see "view older downloads"). Statements about 6.1 Alpha release cover all other Alpha releases in EAP 6.X product line as well, so no reason to go for 6.1 Alpha anymore, but to latest 6.x Alpha.
Also, previous download page has been changed to not include EAP releases anymore. They can be found only at EAP download page, and it doesn't even contain 6.1 Alpha anymore.
And finally: JBoss 7.x line is nowadays superseded by Wildfly and EAP 6.x line by EAP 7.
JBoss AS 7.x is a community release that represents a potential enterprise version. At Red Hat, we do not use the JBoss AS names anymore because it adds to the confusion. All future JBoss AS as been renamed Wildfly and they do not correspond to a JBoss Enterprise Application Server release (you'll notice that we skip version numbers as we see fit).
JBoss Enterprise Application Server (EAP) x will also align to the Java EE spec. So JBoss EAP 6 is JavaEE 6. JBoss EAP 7 is JavaEE 7. Because EAP is the enterprise release, it will always be the most "mature", harden product and will include fixes that are not available in the community version.
There are two versions: Jboss AS (Application Server) and JBoss EAP (Enterprise Application Platform).
JBoss AS is a community version. Personnaly, I never used EAP but I never used JBoss in a production context.. it seams that EAP is designed to be more stable.
There are informations here: http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/beta500/html/ch01s01s01.html
JBoss EAP 6.x is not free (without subscription fee) for Test/QA/Production environments. For more details please look at this answer https://stackoverflow.com/a/37728525/466677
My understanding is this: JBoss EAP 6.1.0 Final is basically Jboss AS 7.2 but you are not unable to download a binary version of JBoss AS 7.2, you must get the code and build it yourself. There are binary versions for JBoss EAP 6.1.0 but you would need a license (which include support etc.).
There are also source distributions available. Jboss 7.1.2 which I understand corresponds pretty exactly to EAP 6.0 and Jboss 7.1.3 which I believe corresponds to EAP6.1
They actually aren't too hard to compile yourself, even on Windows!

How to detect Jboss version during installation?

We are currently migrating from Jboss AS 4.2.3 to Jboss AS 7.1.1. When running the installation process we need to detect if the client already have Jboss installed and which version is it.
From what I can see ,in Jboss 4.2.3 there is a readme.html file, while under Jboss 7 it is called readme.txt, is there a more unified/common way to detect it?
if there is a standalone.xml file it should mean it is jboss as 7

Which open source ESB is recommended for JBoss 7.1?

JBossESB and Apache ServiceMix do not seem to be ready for JBoss 7.1
Have a look at Switchyard:
http://www.jboss.org/switchyard
UPDATE: RedHat is going to replace JBossESB with SwitchYard:
http://searchsoa.techtarget.com/feature/Red-Hat-makes-a-switch-SwitchYard-project-to-replace-JBoss-ESB