Bug 838666 (EMBJOPR-368) - [jboss-as-5] Queues and Topics do not provide some required default plug-in configuration values
Summary: [jboss-as-5] Queues and Topics do not provide some required default plug-in c...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EMBJOPR-368
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 5
Version: JON 3.0.1
Hardware: All
OS: All
urgent
high
Target Milestone: ---
: ---
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 831516
Blocks: 795918
TreeView+ depends on / blocked
 
Reported: 2012-07-09 18:05 UTC by Larry O'Leary
Modified: 2018-11-28 20:37 UTC (History)
1 user (show)

Fixed In Version: EmbJopr_1_3_4_SP6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 838667 (view as bug list)
Environment:
Last Closed: 2012-09-17 20:09:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log excerpt from agent log showing complete stack/failure for queue creation (14.64 KB, text/x-log)
2012-07-09 18:05 UTC, Larry O'Leary
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EMBJOPR-368 0 Major Resolved Templates for Queues and Topics do not deliver some defaults, but object creation fails without 2013-10-04 12:07:37 UTC

Description Larry O'Leary 2012-07-09 18:05:52 UTC
Created attachment 597125 [details]
Log excerpt from agent log showing complete stack/failure for queue creation

Description of problem:
Try to create a queue or topic with only the two required properties name and JNDIName. This will fail with "vfsfile:/devel/jboss-eap-5.1/jboss-as/server/default/deploy/java__myT-service.xml -> org.jboss.deployment.DeploymentException: Error configuring attribute DLQ" 

Same happens for ExpiryQueue and ServerPeer.


Version-Release number of selected component (if applicable):
JON 3.1.0

How reproducible:
Always

Steps to Reproduce:
1. From the EAP 5 resource / Resources / JBoss Messaging - Inventory > Child Resources sub-tab, select Create Child -> Queue
2. Specify a resource name and click Next
3. Specify a queue Name and JNDI Name and click Finish
  
Actual results:
Creation of queue is scheduled but fails due to (complete log excerpt attached):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfsfile:/opt/jboss/eap/jboss-eap-5.1.2/jboss-eap-5.1/jboss-as/server/all/deploy/_queue_TestQueue-service.xml -> org.jboss.deployment.DeploymentException: Error configuring attribute DLQ


DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/opt/jboss/eap/jboss-eap-5.1.2/jboss-eap-5.1/jboss-as/server/all/deploy/_queue_TestQueue-service.xml" is in error due to the following reason(s): javax.management.MalformedObjectNameException: Key properties cannot be empty



Expected results:
Creation of queue is scheduled and successfully deployed after specifying minimum required configuration properties.


Additional info:
This issue was originally identified in https://issues.jboss.org/browse/EMBJOPR-368 with the following recommended solution:

Those 3 properties need default values set like this:

<c:simple-property required="false" name="expiryQueue" default="jboss.messaging.destination:service=Queue,name=ExpiryQueue">

<c:simple-property required="false" name="DLQ" default="jboss.messaging.destination:service=Queue,name=DLQ">

<c:simple-property required="false" name="serverPeer" default="jboss.messaging:service=ServerPeer">

Comment 1 Stefan Negrea 2012-07-20 19:06:17 UTC
AdminConsole_5_1 branch commit:
http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=c18fa2c5ef2ec3cb684ad89a036ec29d572268c9

Comment 2 JBoss JIRA Server 2012-07-20 19:28:12 UTC
Larry O'Leary <loleary> updated the status of jira EMBJOPR-368 to Resolved

Comment 3 Larry O'Leary 2012-09-17 20:09:53 UTC
As per https://issues.jboss.org/browse/EMBJOPR-368 this issue has been resolved and is included in Embedded JOPR 1.3.4.SP6 being shipped with EAP 5.2.0.


Note You need to log in before you can comment on or make changes to this bug.