[
https://issues.jboss.org/browse/WFLY-8389?page=com.atlassian.jira.plugin....
]
Michal Petrov moved JBEAP-9619 to WFLY-8389:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8389 (was: JBEAP-9619)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: mod_cluster
(was: mod_cluster)
(was: User Experience)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR12)
(was: 7.1.0.DR13)
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: Radoslav Husar
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)