Bug 1168373 - [BPMS 6] The original product type discovered for this server was EAP, but the server is now reporting its product type is [BPM Suite]
Summary: [BPMS 6] The original product type discovered for this server was EAP, but th...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: JON Plugin
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Thomas Heute
QA Contact: Tomas Schlosser
URL:
Whiteboard:
: 1205312 1209409 (view as bug list)
Depends On: 1144489 1231374
Blocks: 1210125 1210360
TreeView+ depends on / blocked
 
Reported: 2014-11-26 17:52 UTC by David Murphy
Modified: 2020-03-27 20:10 UTC (History)
12 users (show)

Fixed In Version:
Clone Of: 1144489
: 1205312 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:10:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1070437 0 urgent CLOSED Ability to create new support case from JBoss EAP 6 based server resource 2021-02-22 00:41:40 UTC

Internal Links: 1070437

Description David Murphy 2014-11-26 17:52:14 UTC
This issue is the exact same problem as 1144489, except for BPM Suite instead of BRMS.



+++ This bug was initially created as a clone of Bug #1144489 +++

Description of problem:


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


How reproducible: always


Steps to Reproduce:
1. install BRMS 6
2. import it and set credentials

Actual results: plugin is unable to manage BRMS (Server seems DOWN reporting invalid plugin configuration), in agent logs there are: 

2014-09-19 16:08:05,884 WARN  [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=10004, uuid=b56243da-cee2-4b85-b672-0f5c62f1ad30, type={JBossAS7}JBossAS7 Standalone Server, key=hostConfig: /data/jboss/brms/jboss-eap-6.1/standalone/configuration/standalone.xml, name=EAP (127.0.0.1:9990), parent=localhost.localdomain, version=EAP 6.1.1.GA], availability will be reported as DOWN, reason=Failed to start component for Resource[id=10004, uuid=b56243da-cee2-4b85-b672-0f5c62f1ad30, type={JBossAS7}JBossAS7 Standalone Server, key=hostConfig: /data/jboss/brms/jboss-eap-6.1/standalone/configuration/standalone.xml, name=EAP (127.0.0.1:9990), parent=localhost.localdomain, version=EAP 6.1.1.GA] - The original product type discovered for this server was EAP, but the server is now reporting its product type is [BRMS]


Expected results: BRMS resource becomes UP and managable


Additional info:

--- Additional comment from Larry O'Leary on 2014-09-23 11:18:23 EDT ---

This appears to be a bug in the JBoss EAP 6 plug-in as BRMS/BPMS does not extend the AS plug-ins.

--- Additional comment from Libor Zoubek on 2014-09-25 09:23:23 EDT ---

I've set the component to BRMS 5, because there's nothing for BRMS 6 plugin.

But you're right, it's AS7 plugin issue.

--- Additional comment from Libor Zoubek on 2014-09-25 11:21:30 EDT ---

branch:  master
link:    https://github.com/rhq-project/rhq/commit/d6f0bcbad
time:    2014-09-25 17:21:07 +0200
commit:  d6f0bcbad0b47af065035ed62f50b44071c9dc81
author:  Libor Zoubek - lzoubek
message: Bug 1144489 - [BRMS 6] The original product type discovered for this
         server was EAP, but the server is now reporting its product
         type is [BRMS]
         Adding BRMS into set of known AS7 based products

--- Additional comment from Libor Zoubek on 2014-09-25 11:54:18 EDT ---



--- Additional comment from Jirka Kremser on 2014-09-26 09:29:05 EDT ---

branch:  release/jon3.3.x
link:    https://github.com/rhq-project/rhq/commit/daabd1589
time:    2014-09-26 15:28:02 +0200
commit:  daabd1589419b55291e15c3986e9352814b73808
author:  Libor Zoubek - lzoubek
message: Bug 1144489 - [BRMS 6] The original product type discovered for this
         server was EAP, but the server is now reporting its product
         type is [BRMS]

         Adding BRMS into set of known AS7 based products

         (cherry picked from commit
         d6f0bcbad0b47af065035ed62f50b44071c9dc81) Signed-off-by: Jirka
         Kremser <jkremser>

--- Additional comment from Simeon Pinder on 2014-10-01 17:33:12 EDT ---

Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959

--- Additional comment from Jeeva Kandasamy on 2014-10-09 05:01:25 EDT ---

Imported successfully. Also available in CSP. Verified screen shot is attached

Version: 
JBoss Operations Network
Version : 3.3.0.ER04
Build Number : 99d2107:d7c537e
GWT Version : 2.5.0
SmartGWT Version : 3.0p

Comment 2 Edson Tirelli 2014-11-27 15:11:16 UTC
Reading the dependent (original) ticket, it seems this is a problem in the JON side, not the BRMS/BPMS side.

Assigning to Libor, that fixed the original ticket.

Comment 3 Libor Zoubek 2014-12-02 08:29:14 UTC
Yes, and it has been fixed in JON 3.3.0.ER04. Edson, could you please move this BZ to ON_QA or close - I am not sure in setting proper target release and milestone.

Comment 4 David Murphy 2014-12-02 11:38:49 UTC
This BZ exists in JON 3.3.0.GA

BZ 1144489 fixed the problem for BRMS. Unfortunately, BPM Suite has a different product name, and an additional entry in JBossProductType.java will be required to support it.

Comment 5 Libor Zoubek 2014-12-02 12:38:31 UTC
Then maybe BPM Suite plugin should extend AS7 plugin and implement DiscoveryCallback, which will allow to override JBossProductType.java

Comment 6 David Murphy 2014-12-08 19:05:10 UTC
(In reply to Libor Zoubek from comment #5)
> Then maybe BPM Suite plugin should extend AS7 plugin and implement
> DiscoveryCallback, which will allow to override JBossProductType.java

A worthy suggestion IMO. Though, today there's no "BPM Suite Plugin" that I'm aware of. Just the kie plugin which requires a JMX Server parent, and thus can't be used OOTB with BPM Suite on EAP anyway.

I do note that all of the other layered platforms are supported in the as7 plugin, and it might make sense to be consistent with this one as well, as we work towards the superior solution of having separate plugins extending it for derivative platforms.

I've created PR 151 [https://github.com/rhq-project/rhq/pull/151] in case that's the road you want to take. Feel free to disregard otherwise.

Comment 9 Larry O'Leary 2015-04-09 01:14:55 UTC
*** Bug 1205312 has been marked as a duplicate of this bug. ***

Comment 10 Filip Brychta 2015-04-09 14:29:54 UTC
*** Bug 1209409 has been marked as a duplicate of this bug. ***

Comment 13 Pavel Kralik 2015-06-17 10:11:53 UTC
Verified JON 3.3.2 / jon-plugin-pack-eap-3.3.0.GA-update-01.zip


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