[jboss-jira] [JBoss JIRA] (WFLY-3498) "reload-required" set when adding mail-session via jboss-cli
Tomaz Cerar (JIRA)
issues at jboss.org
Mon Oct 5 12:35:00 EDT 2015
[ https://issues.jboss.org/browse/WFLY-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar closed WFLY-3498.
-----------------------------
Resolution: Rejected
Subsystem works as expected, but by default services don't get restarted unless you tell server they should be.
to make long story short. you need to provide extra header(allow-resource-service-restart=true) to cli command that tells server services can be restarted.
you need to use special syntax for header which is:
{noformat}{allow-resource-service-restart=true} {noformat}
so your last command should look like:
{noformat}
/subsystem=mail/mail-session=Mail/server=smtp:add(outbound-socket-binding-ref=mail-smtp2,ssl=false,username="...",password="..."){allow-resource-service-restart=true}
{noformat}
other option is to start server in admin mode and add all configuration to it, than run reload to runtime (default mode)
> "reload-required" set when adding mail-session via jboss-cli
> ------------------------------------------------------------
>
> Key: WFLY-3498
> URL: https://issues.jboss.org/browse/WFLY-3498
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 8.1.0.Final, 9.0.0.Alpha1
> Reporter: Frank Langelage
> Assignee: Tomaz Cerar
>
> When adding a mail-session using jboss-cli the server state changes to "reload-required" although the configured Mail is usable without reload.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list