Bug 881017
| Summary: | Arquillian AS7 adaptor does not work with jmx protocol with EAP | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Karel Piwko <kpiwko> |
| Component: | Arquillian | Assignee: | Rodney Russ <rruss> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | thradec |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.1.0 | CC: | kpiwko, myarboro, ppenicka |
| Target Milestone: | --- | ||
| Target Release: | 2.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
The OSGi layer, which was present but disabled in JBoss Enterprise Application Platform 6.0.0, has been completely removed in JBoss Enterprise Application Platform 6.0.1 and later versions. Consequently, the Arquillian AS7 JMX protocol is not functional due to missing classes.
To work around the issue, force Arquilllian to use the Servlet protocol instead by adding <defaultProtocol type="Servlet 3.0"/> under the <arquillian> element in the arquillian.xml file. Then add the following servlet dependency to your project's pom.xml file:
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<scope>test</scope>
</dependency>
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-01 18:31:49 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
Karel Piwko
2012-11-28 12:29:21 UTC
Note: Workaround here does not work in case that you deploy RAR deployment. You need JMX protocol for that. Marek, can you remove JMX protocol from -with-tools BOM? Pete Muir <pmuir.uk> made a comment on jira JDF-231 Karel, how do we do this? https://github.com/jboss-jdf/jboss-bom/blob/master/jboss-javaee-6.0-with-tools/pom.xml - it's not in the BOM, it's coming in transitively. Karel Piwko <kpiwko> made a comment on jira JDF-231 After short research it seams that <exclusions> are not propagated from dependencyManagament neither if a BOM is imported or inherited. So, if we want achieve that, we would need to remove JMX from both AS7 adaptor and ARQ BOM. This is out of scope of JDF. JDF can provide a documentation that JMX protocol should not be used at best effort. Note, this means we can't completely exclude neither in WFK. Pete Muir <pmuir.uk> made a comment on jira JDF-231 Thanks for looking at this. We already use the servlet adaptor already but we've lost the comments about why we have to explicitly specify it. I won't remove the jmx protocol from jboss-javaee-6.0-with-tools BOM as it would pull different version anyway from dependency hierarchy. Edited doc text to explicitly say that newer EAP than 6.0.1 are affected too. Migrated to Jira Rodney Russ <rruss> updated the status of jira WFK2-131 to Closed |