[
https://issues.jboss.org/browse/AS7-6252?page=com.atlassian.jira.plugin.s...
]
Tomaz Cerar commented on AS7-6252:
----------------------------------
Another workaround(IMO more appropriate) would be to do batch operation
something like:
{noformat}
batch
/subsystem=mail:remove
/subsystem=mail:add
/subsystem=mail:add/session=smtp:add(....)
/subsystem=mail:add/session=smtp/server=smtp:add(....)
batch-run
{noformat}
in any case it is bug and linked PR addresses it properly
mail subsystem cannot be created from scratch with the CLI
----------------------------------------------------------
Key: AS7-6252
URL:
https://issues.jboss.org/browse/AS7-6252
Project: Application Server 7
Issue Type: Bug
Components: Mail
Affects Versions: 7.1.3.Final (EAP)
Reporter: Tom Fonteyne
Assignee: Tom Fonteyne
Priority: Minor
/subsystem=mail:add
fails with:
JBAS014677: Failed to persist configuration change: JBAS014675: Failed to marshal
configuration
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira