You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org> on 2011/06/21 19:51:47 UTC

[jira] [Created] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Invalid signature value when using XMLSignature in two EJB modules on AS
------------------------------------------------------------------------

                 Key: SANTUARIO-281
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
             Project: Santuario
          Issue Type: Bug
          Components: Java
    Affects Versions: Java 1.4.5
         Environment: JBoss 5.1, 6.0

            Reporter: Tomasz Juchniewicz
            Assignee: Colm O hEigeartaigh


I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid. The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved SANTUARIO-281.
-------------------------------------------

    Resolution: Fixed

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip, xmlsec-1.4.6-SNAPSHOT.jar
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Comment: was deleted

(was: I will check trunk code. I can't easily supply simple test-case.)

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Attachment:     (was: Santuario281.zip)

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Description: 
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid (using the same code, document, keys, certs etc.). The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

  was:
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid. The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.


> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid (using the same code, document, keys, certs etc.). The same situation occurs after redeploying application if using only one EJB module.
> I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Attachment: Santuario281.zip

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053748#comment-13053748 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

I will check trunk code. I can't easily supply simple test-case.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052743#comment-13052743 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

OK thanks!

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh reopened SANTUARIO-281:
-------------------------------------------

      Assignee: Colm O hEigeartaigh  (was: sean.mullan)

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Description: 
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.

The same situation occurs after redeploying application if using only one EJB module.

Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

  was:
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.

The same situation occurs after redeploying application if using only one EJB module.

Classloader issuer? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.


> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066679#comment-13066679 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

Tested. It works fine.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip, xmlsec-1.4.6-SNAPSHOT.jar
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Description: 
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.

The same situation occurs after redeploying application if using only one EJB module.

Classloader issuer? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

  was:
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.

The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.


> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issuer? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Description: 
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.

The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

  was:
I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid (using the same code, document, keys, certs etc.). The same situation occurs after redeploying application if using only one EJB module.

I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.


> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated SANTUARIO-281:
------------------------------------------

    Attachment: xmlsec-1.4.6-SNAPSHOT.jar


Hi Tomasz,

Could you test this jar to see if the issue is fixed? I removed the ThreadLocal Caches from SignatureAlgorithm, as per the code on trunk. If you can confirm that the issue is fixed, I will merge the fix to 1.4.x-fixes.

Colm.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip, xmlsec-1.4.6-SNAPSHOT.jar
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz reopened SANTUARIO-281:
------------------------------------------


> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz closed SANTUARIO-281.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: Java 1.4.6

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Comment: was deleted

(was: After restarting AS signature value is always different. If I run the same code as standalone application signature value is always the same and valid.)

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053187#comment-13053187 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

As a workaround I use this code before signing:

Method getSignatureAlgorithmMethod = si.getClass().getDeclaredMethod("getSignatureAlgorithm", null);
getSignatureAlgorithmMethod.setAccessible(true);
SignatureAlgorithm signatureAlgorithm =  (SignatureAlgorithm) getSignatureAlgorithmMethod.invoke(si, null);
signatureAlgorithm.clearSignatureCache();

If only one signing is done in the thread in one moment (AS scenario) it works fine.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052742#comment-13052742 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

I'm not sure this is a bug... When I run code as standalone application twice, second signature document is always the same except signature value (using the same code, document, key, certificate). Is this OK? This is a DSA signature. If using RSA it works fine. I'm confused...

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055669#comment-13055669 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

Confirmed, this is fixed on trunk.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

sean.mullan closed SANTUARIO-281.
---------------------------------

    Resolution: Not A Problem
      Assignee: sean.mullan  (was: Colm O hEigeartaigh)

I assume you are referring to the SignatureValue element of an XMLSignature? This is not a bug. When you are using DSA, the signature bytes can be different each time you sign. I think it has something to do with the padding.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Colm O hEigeartaigh (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed SANTUARIO-281.
-----------------------------------------

    
> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.6
>
>         Attachments: Santuario281.zip, SignTest.zip, xmlsec-1.4.6-SNAPSHOT.jar
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052727#comment-13052727 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

After restarting AS signature value is always different. If I run the same code as standalone application signature value is always the same and valid.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Tomasz Juchniewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053156#comment-13053156 ] 

Tomasz Juchniewicz commented on SANTUARIO-281:
----------------------------------------------

In production I have a similar problem with the RSA signature. I'm trying to reproduce the problem on the simplest possible example (no success at the moment). When I test module1 first it works fine (several times) but module 2 fails. After restart when I test module2 first it works fine but module1 fails. Some time it fails with exception:  


Original Exception was java.security.InvalidKeyException: Not an RSA key: SHAwithRSA
	at org.apache.xml.security.algorithms.implementations.SignatureBaseRSA.engineInitSign(Unknown Source)
	at org.apache.xml.security.algorithms.SignatureAlgorithm.initSign(Unknown Source)
	at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)

sometimes with:

Caused by: org.apache.xml.security.signature.XMLSignatureException: null
Original Exception was java.security.InvalidKeyException
	at org.apache.xml.security.algorithms.implementations.SignatureBaseRSA.engineInitSign(Unknown Source)
	at org.apache.xml.security.algorithms.SignatureAlgorithm.initSign(Unknown Source)
	at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)

Today I reviewed Santuario code and I found a bug. Santuario caches in SignatureAlgorithm class a SignatureAlgorithmSpi for algorithmURI key. This does not work with following scenario:

1) I have my own signature provider  MyProvider wich supports key implementation MyKey.
2) Default Sun provider does not support MyKey.
3) First I generate signature with key loaded form JKS file (default Sun provider is used) and SignatureAlgorithmSpi cache following value: signature alg ex. SHA1WithRSA => SignatureAlgorithmSpi instance with configured Sun provider. It works fine.
4) Next I generate signature with key MyKey (in the same thread). SignatureAlgorithmSpi is cached in ThreadLocal but is configured for Sun provider. Sun provider can't sign with MyKey so it throws " java.security.InvalidKeyException: Not an RSA key: SHAwithRSA".
5) Problably after exception SignatureAlgorithmSpi is cache is cleared and reinvoking point 4) works fine.

Proposed solutions:

1) do not cache SignatureAlgorithmSpi or implement method "do not cache"
2) cache SignatureAlgorithmSpi but not only by signature alg key but also key type.

I can't refactor my code. I have an application which works on AS. This application has two modules (Servlets). One signs with key supported by Sun provider, second signs with key supported by MyProvider. Request for this two modules are processed by one thread on AS (if invoked on by one).

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANTUARIO-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053711#comment-13053711 ] 

Colm O hEigeartaigh commented on SANTUARIO-281:
-----------------------------------------------

This looks related to this issue:

https://issues.apache.org/jira/browse/SANTUARIO-102

I think this is fixed on trunk but I'd have to check. Rather than store a cache of SignatureAlgorithmSpi objects in SignatureAlgorithm, it now stores the class names, and a new object gets created each time. Could you supply a test-case for this problem?

Colm.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Attachment: Santuario281.zip

Attached test case (only for Windows and JRE 1.6)

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: sean.mullan
>         Attachments: Santuario281.zip, SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid/different (using the same code, document, keys, certs etc.). References, certificates and key values in generated signatures are the same, only signature value is different.
> The same situation occurs after redeploying application if using only one EJB module.
> Classloader issue? I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANTUARIO-281) Invalid signature value when using XMLSignature in two EJB modules on AS

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

Tomasz Juchniewicz updated SANTUARIO-281:
-----------------------------------------

    Attachment: SignTest.zip

Attached application example for JBoss 6.0.

> Invalid signature value when using XMLSignature in two EJB modules on AS
> ------------------------------------------------------------------------
>
>                 Key: SANTUARIO-281
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-281
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.5
>         Environment: JBoss 5.1, 6.0
>            Reporter: Tomasz Juchniewicz
>            Assignee: Colm O hEigeartaigh
>         Attachments: SignTest.zip
>
>
> I'm using org.apache.xml.security.signature.XMLSignature to sign my document. First signature in first EJB module works fine, but second signature generated in second EJB module is invalid. The same situation occurs after redeploying application if using only one EJB module.
> I'm not sure if this is Santuario issue, maybe this is JBoss issue. Tested on JBoss 5.1 and 6.0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira