You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Ben Gidley (JIRA)" <ji...@codehaus.org> on 2006/02/02 10:55:14 UTC

[jira] Created: (MSUREFIRE-57) Forking documentation improvement to help with class loader constrainst issues

Forking documentation improvement to help with class loader constrainst issues
------------------------------------------------------------------------------

         Key: MSUREFIRE-57
         URL: http://jira.codehaus.org/browse/MSUREFIRE-57
     Project: Maven 2.x Surefire Plugin
        Type: Bug

    Versions: 2.1.3    
 Environment: maven 2.0.2 
    Reporter: Ben Gidley
    Priority: Minor
 Attachments: maven-surefire-plugin-374325.patch

With (for example) JAXB2 forking surefire causes a 
java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class

This is because by default when forking an Isolated class loader is used. this can be resovled by turning child delegation on. 

The documentation does not mention this and should be improved. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MSUREFIRE-57) Forking documentation improvement to help with class loader constrainst issues

Posted by "Ben Gidley (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-57?page=all ]

Ben Gidley updated MSUREFIRE-57:
--------------------------------

    Attachment: maven-surefire-plugin-374325.patch

> Forking documentation improvement to help with class loader constrainst issues
> ------------------------------------------------------------------------------
>
>          Key: MSUREFIRE-57
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-57
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Versions: 2.1.3
>  Environment: maven 2.0.2 
>     Reporter: Ben Gidley
>     Priority: Minor
>  Attachments: maven-surefire-plugin-374325.patch
>
>
> With (for example) JAXB2 forking surefire causes a 
> java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
> This is because by default when forking an Isolated class loader is used. this can be resovled by turning child delegation on. 
> The documentation does not mention this and should be improved. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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