Bug 855983 - Socket Binding property for Broadcast Group resources should be drop down select box
Summary: Socket Binding property for Broadcast Group resources should be drop down sel...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.1
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
: JON 3.4.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 855041
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-09-10 20:28 UTC by Stefan Negrea
Modified: 2019-03-07 16:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 855041
Environment:
Last Closed: 2019-03-07 16:05:06 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)

Description Stefan Negrea 2012-09-10 20:28:35 UTC
+++ This bug was initially created as a clone of Bug #855041 +++

Description of problem:
The Socket Binding property for Broadcast Group resources is not a drop down select box but a text box, which creates "{JBAS014771: Services with missing/unavailable dependencies=[jboss.messaging.default.jms.connection-factory.ssd Missing[JBAS014861: <one or more transitive dependencies>]]}, rolled-back=true" exception on creating Connection Factory or Pooled Connection Factory resources.

Version-Release number of selected component (if applicable):
JON 3.1.1 ER2
EAP 6.0.0 GA

How reproducible:
always

Steps to Reproduce:
1. Start EAP in full-ha mode
2. Inventory EAP
3. Create a Broadcast Group resource giving a any text for Socket Binding property
4. Create Connection Factory resource giving JNDI name and discovery-group-name
  
Actual results:
"{JBAS014771: Services with missing/unavailable dependencies=[jboss.messaging.default.jms.connection-factory.ssd Missing[JBAS014861: <one or more transitive dependencies>]]}, rolled-back=true" exception is visible

Expected results:
Connection Factory resource is created

Additional info:

--- Additional comment from mithomps on 2012-09-06 17:45:58 EDT ---

This is a latency issue that amplified due to the fact that there is nested calls in ResourceConfigurationEditView.java. The first call grabs the configuration data and the second (nested call grabs the dependent data values). The second call must wait for the first call to complete further intensifying the problem.

A couple solutions exist. One solution is to just unwind the nested calls making them parallel async instead. This problem would probably require a countdown latch or something similar (cyclic barrier) to synchronize the populating of the data after the 2 independent async calls complete. The first call must complete before we can create the widget to populate with the dependent data values.

Another solution to speed up the solution is to pre-create the widgets up front and only use the gwt rpc async callbacks to populate the data. The screen can actually be drawn (and even cached) and whenever the data comes back the widgets get populated. Because we are choosing the type of widget based on the data coming back we must create all the widget types and hide them and then when we get the config data back we can un-hide the proper widget and populate with dependent data.

--- Additional comment from snegrea on 2012-09-06 17:58:44 EDT ---

Because the user was presented with the option to freely enter text (please see comment #1 for the reason), the Broadcast Group was created with the wrong socket binding configuration since the user typed a random string. This in turn made the HornetQ to be marked as down by the AS7 server. The HornetQ can only be partially configured until the bad Broadcast Group resource is deleted.

The AS7 server configuration is not invalidated by this, the only affected component is the actual HornetQ server. So the AS7 server can be reloaded/restarted but the HornetQ server can only be partially configured. For example, no child resources can be created. Once the user deletes the wrongly configured Broadcast Group the HornetQ server returns to normal.

Comment 1 mark yarborough 2012-11-20 20:45:43 UTC
Per triage with loleary, crouch, mfoley: Move to JBoss ON product, set target release JON 3.2, clear priority (will be subject to further triage in JON 3.2 timeframe).

Comment 3 Filip Brychta 2019-03-07 16:05:06 UTC
JBoss ON is coming to the end of its product life cycle. For more information regarding this transition, see https://access.redhat.com/articles/3827121.
This bug report/request is being closed. If you feel this issue should not be closed or requires further review, please create a new bug report against the latest supported JBoss ON 3.3 version.


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