Bug 1012597 - JON unable to discover EAP servers when EAP domain mode is started from external folders
Summary: JON unable to discover EAP servers when EAP domain mode is started from exter...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.2
Hardware: Unspecified
OS: All
unspecified
urgent
Target Milestone: ER03
: JON 3.2.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 17:28 UTC by Sudheer
Modified: 2014-01-02 20:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
modified config files (9.47 KB, application/zip)
2013-09-26 17:28 UTC, Sudheer
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 969621 0 unspecified CLOSED EAP 6 managed plug-in is unable to discover EAP servers when more then one is running on a single host 2021-02-22 00:41:40 UTC

Internal Links: 969621

Description Sudheer 2013-09-26 17:28:51 UTC
Created attachment 803494 [details]
modified config files

Description of problem:
JON unable to discover EAP servers when EAP domain mode is started from external folders

Version-Release number of selected component (if applicable):
EAP 6.1.1
JON 3.1.2 and associated agent and plugins

How reproducible:


Steps to Reproduce:
1. Make copies of <EAP-home>/domain folder as machine1, machine2 and machine3
2. make appropraite changes to domain, host-master.xml and host-slave.xml files in machine1, 2, 3 folders (see attachement) to simulate

machine 1- domain controller
machine 2 - server-one and server-two (EAP servers)
machine 3 - server-three

3. start servers
./domain.sh --host-config=host-master.xml -Djboss.domain.base.dir=/machine1/

./domain.sh -Djboss.domain.base.dir=/machine2/ --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1

./domain.sh -Djboss.domain.base.dir=/machine3/ --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1

Actual results:
JON did discovered domain controller but not teh EAP servers. "managed servers" folder was missing

Expected results:

However when I start EAP in domain mode with out of the box setting. JON worked fine and dsicovered all the EAP servers
Additional info:

Comment 1 Larry O'Leary 2013-09-27 13:43:03 UTC
This appears to be the same/duplicate of bug 969621. An agent debug log would be required to confirm.

Comment 3 Libor Zoubek 2013-10-08 14:08:11 UTC
Sudheer, 

I've tried out your config files.  It didn't work for me. Your config files for slave host controllers did not define http management interfaces, thatswhy agent was not able to talk to machine2 and 3 controllers at all. In my case, agent discovered host controllers and detected port 0 (Which is Bug 1016678)

Please add (for machine2)

<http-interface security-realm="ManagementRealm">
 <socket interface="management" port="${jboss.management.http.port:29990}"/>
</http-interface>

under "management-interfaces" element.

after changing host-slave.xml files like mentioned above managed servers are correctly discovered. 

verified on JON 3.2.0.ER3


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