Bug 753264
Summary: | AS5 plugin: value of namingUrl connection prop is not correctly discovered for an EAP 5.1.1 instance | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Plugins | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.2 | CC: | ccrouch, hbrock, hrupp, jshaughn |
Target Milestone: | --- | ||
Target Release: | RHQ 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-31 10:09:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 745494 |
Description
Ian Springer
2011-11-11 18:22:28 UTC
(02:44:14 PM) ips: to discover the jnp url, we first look for the jnp.url file that eap writes out (02:44:56 PM) ips: if we can't find that or fail to parse it, we fallback to parsing config files to try to find it (conf/service-config.xml, etc.) (02:45:16 PM) ips: that config parsing code was most likely snarfed from the as4 plugin (02:45:48 PM) ips: but the format of how the naming service is declared in jboss-service.xml has changed in 5.x (02:46:00 PM) ips: so our parser was returning junk (02:46:59 PM) ips: however, it's a pretty rare case that we would fail to find that jnp.url file. that file is created by the server the first time it starts up, but toward the end of startup (02:47:45 PM) ips: so the user would have to run an agent server scan within 20 seconds or so of starting the eap 5.x instance for the first time (02:48:01 PM) ips: (which is what i did) (02:48:18 PM) ips: the other edge case would be if the user manually deleted the jnp.url file (02:49:18 PM) ips: in any case, i fixed the parser code so it returns null rather than junk for the jnp address and port if it can't find it using the old 4.x style Fixed in master - commit ab9b8b0: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=ab9b8b0 QE, please test this in master, so we can decide if we want to cherry pick the fix into the jon3 branch. Moving to verified. master fixed. Bulk close of old bugs in VERIFIED state. |