[JBoss JIRA] (LOGMGR-228) Reintroduce a way to configure a LogContext via properties
by James Perkins (Jira)
James Perkins created LOGMGR-228:
------------------------------------
Summary: Reintroduce a way to configure a LogContext via properties
Key: LOGMGR-228
URL: https://issues.jboss.org/browse/LOGMGR-228
Project: JBoss Log Manager
Issue Type: Task
Components: ext
Reporter: James Perkins
Assignee: James Perkins
The configuration API was removed and therefore the old way of configuring a {{LogContext}} based on properties. A way to read a properties file and configure a {{LogContext}} based on those properties.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (LOGMGR-227) Introduce a ConfigurationFactory with a priority to indicate which LogContextConfigurator to use
by James Perkins (Jira)
James Perkins created LOGMGR-227:
------------------------------------
Summary: Introduce a ConfigurationFactory with a priority to indicate which LogContextConfigurator to use
Key: LOGMGR-227
URL: https://issues.jboss.org/browse/LOGMGR-227
Project: JBoss Log Manager
Issue Type: Enhancement
Components: core
Reporter: James Perkins
Assignee: James Perkins
In LOGMGR-212 a {{LogContextConfigurator}} was introduced to allow a log context to be configured. This originally just grabbed the first in {{LogContextConfigurator}} from the service loader and used that. However it is desirable to have a priority so a {{LogContextConfigurator}} can be overridden by a higher priority configurator.
The best way to deal with this would be to introduce a {{ConfiguratorFactory}} that has a priority and is responsible for creating a {{LogContextConfigurator}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
James Perkins commented on WFLY-11484:
--------------------------------------
Okay perfect. Thanks [~asoldano].
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Alessio Soldano (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Alessio Soldano commented on WFLY-11484:
----------------------------------------
[~jamezp], it actually does, as a consequence of the https://issues.jboss.org/browse/RESTEASY-2066 fix. [~rsearls], I agree with Brian, there's nothing to be done here, there was a bug that was fixed, RESTEasy simple has to react to that (it did, the fix is going to be included in next release).
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
James Perkins commented on WFLY-11484:
--------------------------------------
[~rsearls] I'm a bit confused. Can Reasteasy not use the 2.1.1.Final version?
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFLY-11484:
-----------------------------------------
Version 2.1.0.Final and earlier had a bug and 2.1.1.Final fixes it.
I don't see how anything could be done that would change how a fixed 3.6.2 version of the Resteasy testsuite would run against WF 15, as it too is finished. All that could happen would be some change in WF or WF Core master. And I don't see why we'd revert a bug fix in WF Core in order to work around an already resolved bug in wildfly-arquillian-container-remote.
A bug fix in WildFly Core 7 does not affect any EAP point releases, as none of them consume WildFly Core 7.
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by R Searls (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
R Searls commented on WFLY-11484:
---------------------------------
>From Resteasy's perspective this is a compatibility issue between achive's
org.wildfly.arquillian:wildfly-arquillian-container-managed and org.wildfly.arquillian:wildfly-arquillian-container-remote versions 2.1.0.Final and 2.1.1.Final.
Version 2.1.0.Final of these 2 archives fails with issues as described above when run
with wildfly-15.0.0.Beta1+. Version 2.1.1.Final runs successfully with wildfly-15.0.0.Beta1+.
However this creates a backward compatibility issue for Resteasy testsuite.
Resteasy 3.6.2.Final is part of wildfly-15.0.0.Beta1, wildfly-15.0.0.Final and wildfly master.
The testsuite fails in all 3 cases.
Also how is this going to affect backward compatibility for EAP point releases?
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFLY-11484:
-----------------------------------------
[~rsearls] Please check with [~jperkins] as I believe this is fixed in WFARQ. The arquillian adapter for WildFly was relying on a bug, i.e that managemer kerne returned runtime-only attribute values from unusually written resources even though the request did not include the include-runtime=true parameter.
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11484) Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-11484?page=com.atlassian.jira.plugin... ]
Brian Stansberry edited comment on WFLY-11484 at 12/6/18 2:00 PM:
------------------------------------------------------------------
[~rsearls] Please check with [~jperkins] as I believe this is fixed in WFARQ. The arquillian adapter for WildFly was relying on a bug, i.e that the management kernel returned runtime-only attribute values from unusually written resources even though the request did not include the include-runtime=true parameter.
was (Author: brian.stansberry):
[~rsearls] Please check with [~jperkins] as I believe this is fixed in WFARQ. The arquillian adapter for WildFly was relying on a bug, i.e that managemer kerne returned runtime-only attribute values from unusually written resources even though the request did not include the include-runtime=true parameter.
> Arquillian is broken because ClI no longer lists undertow's "context-root", "server", or "virtual-host"
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11484
> URL: https://issues.jboss.org/browse/WFLY-11484
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 15.0.0.Beta1, 15.0.0.Final
> Reporter: R Searls
> Assignee: Jeff Mesnil
> Priority: Major
>
> The CLI no longer list 3 important undertow fields, "context-root",
> "server", or "virtual-host". This has broken arquillian's ability to
> configure and run tests. Arquillian is no longer able to find
> ArquillianServletRunner because context-root is missing. This causes
> the following exception to be thrown for tests.
> {code:java}
> java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could
> not determine ContextRoot from ProtocolMetadata, please contact
> DeployableContainer developer.
> {code}
> In org.jboss.as.arquillian.container.ManagementClient.readResource this
> cli cmd is created.
> {code:java}
> {
> "operation" => "read-resource",
> "recursive" => "true",
> "address" => [("deployment" => "AnotherPublisherResponseTest.war")]
> }
> {code}
> Method ManagementClient.executeForResult executes this cmd
> and returns the results. The results are different between wildfly-14.0.0.Final
> and wildfly-15.0.0.Beta1+. Subsystem undertow no longer prints the
> values for "context-root", "server", or "virtual-host".
> The wildfly-14.0.0.Final output is
> {code:java}
>
> {
> ....
> "enabled" => true,
> "enabled-time" => 1544113709482L,
> "enabled-timestamp" => "2018-12-06 11:28:29,482 EST",
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "context-root" => "/AnotherPublisherResponseTest",
> "server" => "default-server",
> "virtual-host" => "default-host",
> "servlet" => {
> "ArquillianServletRunner" => {
> "servlet-class" => "org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner",
> "servlet-name" => "ArquillianServletRunner"
> },
> "org.jboss.resteasy.utils.TestApplication" => {
> "servlet-class" => "org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher",
> "servlet-name" => "org.jboss.resteasy.utils.TestApplication"
> }
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
> The wildfly-15.0.0.Beta1+ output is.
> {code:java}
> {
> ......
> "enabled" => true,
> "name" => "AnotherPublisherResponseTest.war",
> "owner" => undefined,
> "persistent" => true,
> "runtime-name" => "AnotherPublisherResponseTest.war",
> "subdeployment" => undefined,
> "subsystem" => {
> "jaxrs" => {"rest-resource" => {"org.jboss.resteasy.test.response.resource.PublisherResponseResource" => {}}},
> "undertow" => {
> "servlet" => {
> "ArquillianServletRunner" => {},
> "org.jboss.resteasy.utils.TestApplication" => {}
> },
> "websocket" => undefined
> },
> "logging" => {"configuration" => undefined}
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months