Bug 907575
Summary: | [jboss-as-7] Discovery fails for AS 7 domain when AS was started with -P command-line argument | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | |
Component: | Plugin -- JBoss EAP 6 | Assignee: | Larry O'Leary <loleary> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | JON 3.1.2 | CC: | lkrejci | |
Target Milestone: | ER01 | |||
Target Release: | JON 3.1.3 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 906579 | |||
: | 907577 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-06 02:24:42 UTC | Type: | Bug | |
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: | 906579 | |||
Bug Blocks: | 907577 |
Description
Larry O'Leary
2013-02-04 18:26:55 UTC
Committed to release/jon3.1.x branch as http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=602c22d8493be65b05719888a1e57b1bb92372e1 Author: Lukas Krejci <lkrejci> Date: Mon Feb 4 18:53:21 2013 +0100 [BZ 907558] - JavaCommandLine and subclasses now parse the commandline lazily to prevent calling overriden methods in super-class constructor. A couple of other cosmetic improvements like static logger, etc. (originally cherry-picked from master commit 2910d155e509b6ebccdc9483a70b2910bdf0133c) but had to remove jacoco.unit-test.args from the surefire argLine value as jacoco is not defined in 3.1.x code base. Setting status to MODIFIED as this will be in ER01 of 3.1.3 if one ever exist. Appears the upstream fix introduces a new failure: 2013-02-06 09:36:54,077 WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [JBossAS7 Standalone Server] Resources - failed after 150 ms. java.lang.Exception: Discovery component invocation failed. at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:297) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NoSuchMethodError: org.rhq.modules.plugins.jbossas7.AS7CommandLine.isArgumentsParsed()Z at org.rhq.modules.plugins.jbossas7.AS7CommandLine.getAppServerArguments(AS7CommandLine.java:89) at org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery.setStartScriptPluginConfigProps(BaseProcessDiscovery.java:277) at org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery.buildResourceDetails(BaseProcessDiscovery.java:198) at org.rhq.modules.plugins.jbossas7.StandaloneASDiscovery.buildResourceDetails(StandaloneASDiscovery.java:84) at org.rhq.modules.plugins.jbossas7.BaseProcessDiscovery.discoverResources(BaseProcessDiscovery.java:136) at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:293) ... 5 more Setting to ON_DEV and will update the upstream bug(s). Based on https://bugzilla.redhat.com/show_bug.cgi?id=907558#c3 from upstream bug, this error was actually caused by testing the patch. The patch has no dependencies on other components and therefore when testing the patch, the agent side changes that were made for this fix were not available. However, this fix as it stands for 3.1.3 is fine. Moving back to MODIFIED. Closing as there will not be a 3.1.3 release. This is being tracked for 3.2 in the 'depends on' field. |