Bug 778090 (SOA-589)

Summary: Missing dependency for queue/OperationsCollectorQueue in jbossesb.esb
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBossESBAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP02   
Target Milestone: ---   
Target Release: 4.2 CP02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-589
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
CP02_CR2
Last Closed: 2008-06-24 18:42:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Len DiMaggio 2008-06-20 02:17:20 UTC
Date of First Response: 2008-06-20 11:35:34
Workaround Description: Add the following lines to jbossesb.esb/META-INF/deployment.xml

  <depends>jboss.esb.destination:service=Queue,name=DataCollectorQueue</depends>
  <depends>jboss.esb.destination:service=Queue,name=OperationsCollectorQueue</depends>
  <depends>jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue</depends>

project_key: SOA

Seeing this with CP02 CR2 and DB2:

> ERROR [org.jboss.messaging.util.ExceptionUtil] SessionEndpoint[71-73lfcmhf-1-4o1dcmhf-1noe8i-1171ga] createQueue [b1-w3lfcmhf-1-4o1dcmhf-1noe8i-1171ga] javax.jms.JMSException: There is no administratively defined queue with name:queue/OperationsCollectorQueue

Comment 1 Len DiMaggio 2008-06-20 02:20:03 UTC
Link: Added: This issue is a dependency of JBESB-1839


Comment 2 Kevin Conner 2008-06-20 09:45:53 UTC
Workaround Description: Added: Add the following lines to jbossesb.esb/META-INF/deployment.xml

  <depends>jboss.esb.destination:service=Queue,name=DataCollectorQueue</depends>
  <depends>jboss.esb.destination:service=Queue,name=OperationsCollectorQueue</depends>
  <depends>jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue</depends>



Comment 3 Len DiMaggio 2008-06-20 15:24:06 UTC
Just wondering - why wouldn't this cause a problem with DBs other than DB2??

Comment 4 Kevin Conner 2008-06-20 15:35:34 UTC
This is not related to the databases, it is the startup order of the MBeans.

As there is no existing dependency between the esb archive and the queues it will be possible for them to be deployed in any order.  If the queues are deployed first then you will not see any error messages, reverse the order and they will appear.

It may be that having a remote DB does alter the timings/sequence but it could also be present in other configurations.

Comment 5 Len DiMaggio 2008-06-20 15:45:32 UTC
Ah - thanks - that does make sense - the remote DB2 that I am using is a bit slow...

Comment 6 Len DiMaggio 2008-06-23 19:40:46 UTC
Still a problem in CP02 CR3:

[ldimaggi@ldimaggi CP02_CR3]$ cat  /opt/CP02_CR2/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml
<?xml version="1.0" encoding="UTF-8"?>
<jbossesb-deployment>
  <depends>jboss.jca:service=DataSourceBinding,name=JBossESBDS</depends>
  <depends>jboss.esb.destination:service=Queue,name=DeadMessageQueue</depends>
  <depends>jboss.esb:service=MessageStoreDatabaseInitializer</depends>
</jbossesb-deployment>

[ldimaggi@ldimaggi CP02_CR3]$ diff /opt/CP02_CR2/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml /opt/CP02_CR3/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml
<no diff>


Comment 9 Kevin Conner 2008-06-24 08:46:15 UTC
There was a miscommunication between Trev and myself, none of the changes associated with this merge were pulled into the build.

Comment 10 Len DiMaggio 2008-06-24 18:42:55 UTC
Verified fixed in CP02 CR4 build:

[ldimaggi@ldimaggi CP02_CR4]$ diff /opt/CP02_CR2/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml  /opt/CP02_CR4/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml 
5a6,8
>   <depends>jboss.esb.destination:service=Queue,name=DataCollectorQueue</depends>
>   <depends>jboss.esb.destination:service=Queue,name=OperationsCollectorQueue</depends>
>   <depends>jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue</depends> 


[ldimaggi@ldimaggi CP02_CR4]$ diff /opt/CP02_CR2/jboss-soa-p-standalone.4.2.0/jboss-as/server/default/deploy/jbossesb.esb/META-INF/deployment.xml  /opt/CP02_CR4/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb/META-INF/deployment.xml 
5a6,8
>   <depends>jboss.esb.destination:service=Queue,name=DataCollectorQueue</depends>
>   <depends>jboss.esb.destination:service=Queue,name=OperationsCollectorQueue</depends>
>   <depends>jboss.esb.destination:service=Queue,name=OperationsResultCollectorQueue</depends>