[jboss-jira] [JBoss JIRA] (WFLY-8389) Settings modcluster/ssl-context conflict issue

Michal Petrov (JIRA) issues at jboss.org
Thu Mar 16 07:24:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-8389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Petrov reassigned WFLY-8389:
-----------------------------------

    Assignee: Michal Petrov  (was: Radoslav Husar)


> Settings modcluster/ssl-context conflict issue
> ----------------------------------------------
>
>                 Key: WFLY-8389
>                 URL: https://issues.jboss.org/browse/WFLY-8389
>             Project: WildFly
>          Issue Type: Bug
>          Components: mod_cluster
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Michal Petrov
>            Assignee: Michal Petrov
>
> Setting ssl-context in modcluster subsystem
> {noformat}
> /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=ssl-context,value=clientSSLContext)
> {noformat}
> when ssl is configured
> {noformat}
> /subsystem=modcluster/mod-cluster-config=configuration/ssl=configuration
> {noformat}
> shouldn't end as success 
> {noformat}
> {
>     "outcome" => "success",
>     "response-headers" => {
>         "operation-requires-reload" => true,
>         "process-state" => "reload-required"
>     }
> }
> {noformat}
> as {noformat}reload{noformat}
> triggers exception in server log 
> {noformat}
> 2017-03-13 10:13:45,394 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 51) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "modcluster")]): java.lang.IllegalStateException: WFLYMODCLS0020: Only one of 'ssl-context' attribute or 'ssl' resource can be defined!
>         at org.wildfly.extension.mod_cluster.ModClusterConfigurationServiceBuilder.configure(ModClusterConfigurationServiceBuilder.java:225)
>         at org.wildfly.extension.mod_cluster.ModClusterSubsystemAdd.performBoottime(ModClusterSubsystemAdd.java:80)
>         at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performBoottime(AbstractBoottimeAddStepHandler.java:157)
>         at org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:116)
>         at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:151)
>         at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:979)
>         at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:722)
>         at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:441)
>         at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:381)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.lang.Thread.run(Thread.java:785)
>         at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> {noformat}
> User shouldn't be allowed to set ssl-context in this scenario or be warned.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list