[jboss-jira] [JBoss JIRA] Updated: (AS7-1156) The JMX-AS7 Protocol should default to Remote
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Fri Jul 15 17:47:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen updated AS7-1156:
-------------------------------
Fix Version/s: 7.0.1.Final
> The JMX-AS7 Protocol should default to Remote
> ---------------------------------------------
>
> Key: AS7-1156
> URL: https://issues.jboss.org/browse/AS7-1156
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Test Suite
> Affects Versions: 7.0.0.CR1
> Reporter: Aslak Knutsen
> Assignee: Aslak Knutsen
> Fix For: 7.0.1.Final
>
>
> Currently the user has to provide this config for Arquillian to work with AS7
> {code}
> <container qualifier="jboss7" default="true">
> <protocol type="jmx-as7">
> <property name="executionType">REMOTE</property>
> </protocol>
> </container>
> {code}
> With out that, they will get a nasty exception:
> {code}
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy17.runTestMethodEmbedded(Unknown Source)
> at org.jboss.arquillian.protocol.jmx.JMXMethodExecutor.invoke(JMXMethodExecutor.java:78)
> at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(
> {code}
> Since Embedded mode is currently not used at all, Remote should be default. Possible the protocol can figure this out on it's own at runtime.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list