[jboss-jira] [JBoss JIRA] (WFLY-8821) Operation removing http-connector requires full server reload but does not change the server state accordingly
Michal Jurc (JIRA)
issues at jboss.org
Wed May 24 01:21:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410587#comment-13410587 ]
Michal Jurc edited comment on WFLY-8821 at 5/24/17 1:20 AM:
------------------------------------------------------------
[~brian.stansberry]: I have noticed this when I was implementing a test in AS TS. Without [this|https://github.com/wildfly/wildfly/pull/10040/files#diff-b045ec131e975047270671ca3c700cb6R244] reload at following address, the tests invoking EJBs from client in Integration Basic module of testsuite would attempt to connect to server the old way, receiving HTTP response code 200 indicating the http upgrade response, which happens with active Elytron connector. The only test adding {{http-connector}} backed by Elytron is {{MixedSecurityAnnotationAuthorizationTestCase}}. If that reload is not present, the {{standalone-full.xml}} is clean after the test, server state is {{running}} (not {{reload-required}}), but yet the tests after it that invoke EJBs remotely are clearly connecting to Elytron connector.
The tests are ran with this command:
{code}mvn clean test -Dtest=org.jboss.as.test.integration.ejb.security.**.*{code}
> Operation removing http-connector requires full server reload but does not change the server state accordingly
> --------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-8821
> URL: https://issues.jboss.org/browse/WFLY-8821
> Project: WildFly
> Issue Type: Bug
> Components: Remoting
> Reporter: Michal Jurc
> Assignee: David Lloyd
>
> Removing a {{http-connector}} with {{allow-resource-service-restart}} set to {{true}} will yield the following result:
> {code}{
> "operation" => "remove",
> "address" => [
> ("subsystem" => "remoting"),
> ("http-connector" => "ejb3-tests")
> ],
> "operation-headers" => {"allow-resource-service-restart" => true}
> }
> {"outcome" => "success"}{code}
> However, the removal of {{http-connector}} will only register after full server reload.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list