HornetQ 2.1.2 and ESB 4.9 not compatible?
burmanm Sep 24, 2010 5:53 AMHi,
While ESB 4.9 documentation includes as a new change "fully compatible with HornetQ", what version is it referring to? It's certainly not working as expected with HornetQ 2.1.2 Final.
Using JBoss 5.1.0 GA (which starts fine with just HornetQ installed), the installation of HornetQ creates to deploy directory:
hornetq.sar
hornetq-ra.sar
However, ESB 4.9 install scripts can't find them, since they're looking for "hornetq":
{noformat}
<available property="hornetq.present"
file="${deploy.dir}/hornetq"/>{noformat}
This ends up with result:
{noformat}
jms.config.check:
[echo] deploy.dir : E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy
BUILD FAILED
C:\Projects\jbossesb-4.9\install\build.xml:140: Could not determine JMS provider{noformat}
So, already build script is not working. I'm going to assume that changing it to "${deploy.dir}/hornetq.sar" should do the trick. After that, installation works:
{noformat}
apply.modfilter.replace:
[copy] Copying 1 file to E:\jboss-5.1.0.GA\server\default-with-hornetq\conf
\bootstrap
deploy:
BUILD SUCCESSFUL
Total time: 4 seconds{noformat}
However, JBoss 5.1.0 GA with ESB 4.9 installed won't start anymore:
{noformat}
12:43:48,513 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERR
ORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/" is missing the foll
owing dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/>" (should
be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="DeadMessageQueu
e",type=Queue' **")
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/>" (should
be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="OperationsResul
tCollectorQueue",type=Queue' **")
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/>" (should
be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="DataCollectorQu
eue",type=Queue' **")
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/>" (should
be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="OperationsColle
ctorQueue",type=Queue' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbpm.esb/" is missing the followin
g dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbpm.esb/>" (should be
in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbpm.esb/>" (should be
in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="CallbackQueue",type
=Queue' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbrules.esb/" is missing the follo
wing dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbrules.esb/>" (should
be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/slsb.esb/" is missing the followin
g dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/slsb.esb/>" (should be
in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/smooks.esb/" is missing the follow
ing dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/smooks.esb/>" (should b
e in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/soap.esb/" is missing the followin
g dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/soap.esb/>" (should be
in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
Deployment "jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/spring.esb/" is missing the follow
ing dependencies:
Dependency "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/spring.esb/>" (should b
e in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbossesb.esb/>" is in err
or due to the following reason(s): ** UNRESOLVED Demands 'org.hornetq:module=JMS,name="DataCollectorQueue",type=Queue' *
*, ** UNRESOLVED Demands 'org.hornetq:module=JMS,name="DeadMessageQueue",type=Queue' **, ** UNRESOLVED Demands 'org.horn
etq:module=JMS,name="OperationsCollectorQueue",type=Queue' **, ** UNRESOLVED Demands 'org.hornetq:module=JMS,name="Opera
tionsResultCollectorQueue",type=Queue' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/soap.esb/>" is in error d
ue to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/smooks.esb/>" is in error
due to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/spring.esb/>" is in error
due to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/slsb.esb/>" is in error d
ue to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbrules.esb/>" is in erro
r due to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **
Deployment "<UNKNOWN jboss.esb.vfsfile:/E:/jboss-5.1.0.GA/server/default-with-hornetq/deploy/jbpm.esb/>" is in error d
ue to the following reason(s): ** UNRESOLVED Demands 'jboss.esb:deployment=jbossesb.esb' **, ** UNRESOLVED Demands 'org.
hornetq:module=JMS,name="CallbackQueue",type=Queue' **
12:43:48,607 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
12:43:48,734 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:43:48,743 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Start
ed in 1m:34s:523ms{noformat}
Has anyone got this to work, and if, how?