You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/04/04 05:03:24 UTC

[jira] Created: (AXIS2-3703) Thread safety in XMLFaultCode

Thread safety in XMLFaultCode 
------------------------------

                 Key: AXIS2-3703
                 URL: https://issues.apache.org/jira/browse/AXIS2-3703
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Jarek Gawor
             Fix For: 1.4


The way XMLFaultCode handles custom fault codes by modifying CUSTOM_SOAP11_ONLY enum value is just not thread safe. I think the XMLFaultCode should be turned into a class and each custom fault code would be a separate XMLFaultCode instance.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3703) Thread safety in XMLFaultCode

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor updated AXIS2-3703:
-------------------------------

    Attachment: AXIS2-3703.patch

Proposed patch for this issue.


> Thread safety in XMLFaultCode 
> ------------------------------
>
>                 Key: AXIS2-3703
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3703
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jarek Gawor
>             Fix For: 1.4
>
>         Attachments: AXIS2-3703.patch
>
>
> The way XMLFaultCode handles custom fault codes by modifying CUSTOM_SOAP11_ONLY enum value is just not thread safe. I think the XMLFaultCode should be turned into a class and each custom fault code would be a separate XMLFaultCode instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3703) Thread safety in XMLFaultCode

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3703.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 644671.

> Thread safety in XMLFaultCode 
> ------------------------------
>
>                 Key: AXIS2-3703
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3703
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jarek Gawor
>             Fix For: 1.4
>
>         Attachments: AXIS2-3703.patch
>
>
> The way XMLFaultCode handles custom fault codes by modifying CUSTOM_SOAP11_ONLY enum value is just not thread safe. I think the XMLFaultCode should be turned into a class and each custom fault code would be a separate XMLFaultCode instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3703) Thread safety in XMLFaultCode

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585474#action_12585474 ] 

Davanum Srinivas commented on AXIS2-3703:
-----------------------------------------

+1 from me

> Thread safety in XMLFaultCode 
> ------------------------------
>
>                 Key: AXIS2-3703
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3703
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jarek Gawor
>             Fix For: 1.4
>
>         Attachments: AXIS2-3703.patch
>
>
> The way XMLFaultCode handles custom fault codes by modifying CUSTOM_SOAP11_ONLY enum value is just not thread safe. I think the XMLFaultCode should be turned into a class and each custom fault code would be a separate XMLFaultCode instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org