Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1032439

Summary: jbossws testcase intermittent failures caused by javax.management.InstanceNotFoundException: jboss.ws:service=ServerConfig
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Sakař <psakar>
Component: Web ServicesAssignee: Alessio Soldano <asoldano>
Status: CLOSED CURRENTRELEASE QA Contact: Rostislav Svoboda <rsvoboda>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: medium    
Version: 6.2.0CC: kkhan, nobody, rsvoboda, smumford
Target Milestone: DR3   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous releases of JBoss EAP 6, the WS server configuration was not always available through JMX. This was caused by the deprecated OPTIONAL service dependency to MBean server in WS ServerConfigService In this version, MBean server dependency is set as REQUIRED instead of OPTIONAL whenever the JMX subsystem is available As a result, WS server configuration is always available through JMX when JMX subsystem is available
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:29:32 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:

Description Petr Sakař 2013-11-20 08:29:48 UTC
Description of problem:
JBWS1178TestCaseForked failure
		javax.management.InstanceNotFoundException: jboss.ws:service=ServerConfig
			at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1083)
			at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:378)
			at org.jboss.remotingjmx.protocol.v2.ServerProxy$GetAttributeHandler.handle(ServerProxy.java:691)
			at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
			at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:75)
			at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:70)
			at java.security.AccessController.doPrivileged(Native Method)
			at javax.security.auth.Subject.doAs(Subject.java:415)
			at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)
			at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:70)
			at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
			at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
			at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
			at java.lang.Thread.run(Thread.java:724)

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

How reproducible:
intermittent

Steps to Reproduce:
1. run jbossws cxf stack testsuite

Actual results:
intermittent failures with cause javax.management.InstanceNotFoundException: jboss.ws:service=ServerConfig

Expected results:


Additional info:
Last seen on windows machine for EAP 6.2.0.CR2

Comment 1 Petr Sakař 2013-11-20 08:42:23 UTC
there was no error in the server log. most probably timing issue / thread safety

Comment 2 Petr Sakař 2014-03-04 07:36:53 UTC
seen on EAP 6.2.2 java17, w2k8r2 x86_64

also failing because of same reason is org.jboss.test.ws.jaxws.jbws2150.JBWS2150TestCaseForked$JBWS2150TestSetup.org.jboss.test.ws.jaxws.jbws2150.JBWS2150TestCaseForked on java18, RHEL5 x86_64

Comment 3 Alessio Soldano 2014-03-05 10:19:40 UTC
This is caused by a race condition between JMX and WS subsystems during boot, see https://issues.jboss.org/browse/WFLY-3061.

Comment 6 Petr Sakař 2014-03-14 17:59:45 UTC
Verified no such failure present for EAP-6.3.0.DR4