[jboss-jira] [JBoss JIRA] (AS7-6630) Unable to change attributes of Mail session through cli

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Mar 5 06:20:57 EST 2013


    [ https://issues.jboss.org/browse/AS7-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758427#comment-12758427 ] 

RH Bugzilla Integration commented on AS7-6630:
----------------------------------------------

Tomaz Cerar <tcerar at redhat.com> made a comment on [bug 910282|https://bugzilla.redhat.com/show_bug.cgi?id=910282]

This looks like the patch was not applied.
in stacktrace there is SessionAttributeWriteHandler which was removed as part of the fix.
                
> 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


More information about the jboss-jira mailing list