[
https://issues.jboss.org/browse/AS7-6630?page=com.atlassian.jira.plugin.s...
]
RH Bugzilla Integration commented on AS7-6630:
----------------------------------------------
Jakub Cechacek <jcechace(a)redhat.com> made a comment on [bug
910282|https://bugzilla.redhat.com/show_bug.cgi?id=910282]
Sorry my mistake, this is still not verified.
For 6.1.ER1 operation still results in
ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3)
JBAS014612: Operation ("write-attribute") failed - address: ([
("subsystem" => "mail"),
("mail-session" => "mysession")
]): java.lang.NullPointerException
http://pastebin.test.redhat.com/130820
Unable to change attributes of Mail session through cli
-------------------------------------------------------
Key: AS7-6630
URL:
https://issues.jboss.org/browse/AS7-6630
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, Mail
Affects Versions: 7.2.0.Alpha1, 8.0.0.Alpha1
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 7.3.0.Alpha1, 8.0.0.Alpha1
Any attempt to change Mail session after it was created fails
Steps to Reproduce: In jboss-cli
1. Create new session
/subsystem=mail/mail-session=mysession/:add(jndi-name="java:/musession")
result:
{"outcome" => "success"}
2. Check created resource
/subsystem=mail/mail-session=mysession/:read-resource
result:
{
"outcome" => "success",
"result" => {
"custom" => undefined,
"debug" => false,
"from" => undefined,
"jndi-name" => "java:/mysession",
"server" => undefined
}
}
3. Try to change some attribute (e.g. jndi)
/subsystem=mail/mail-session=mysession/:write-attribute(name=jndi-name,value="java:/mailsession")
result:
{
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed:
null",
"rolled-back" => true
}
expected result:
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
Additional:
The debug attribute can be changed exactly once and only to true. Once it is turned on it
cannot be changed again like the rest.
--
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