[ 
https://issues.apache.org/jira/browse/TOMEE-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau updated TOMEE-646:
-------------------------------------

    Fix Version/s:     (was: 1.5.2)
                   1.6.0
    
> Commons-logging issue
> ---------------------
>
>                 Key: TOMEE-646
>                 URL: https://issues.apache.org/jira/browse/TOMEE-646
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>         Environment: Maven config:
> <plugin>
>   <groupId>org.apache.openejb.maven</groupId>
>   <artifactId>tomee-maven-plugin</artifactId>
>   <version>1.0.1-SNAPSHOT</version>
>   <configuration>
>     <tomeeVersion>1.5.1-SNAPSHOT</tomeeVersion>
>     <tomeeClassifier>plus</tomeeClassifier>
>     <config>${basedir}/src/main/conf</config>
>     <systemVariables>
>         <openjpa.Log>DefaultLevel=TRACE</openjpa.Log>
>     </systemVariables>
>    </configuration>
> </plugin>
>            Reporter: Pierre Devreux
>            Assignee: Romain Manni-Bucau
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> Deploying within TomEE plus an application logging with commons-logging 1.1.1 
> generates the following error:
> java.lang.IllegalAccessError
> tried to access class org.apache.commons.logging.LogFactory$6 from class 
> org.apache.commons.logging.LogFactory
> Stack trace 
> org.apache.commons.logging.LogFactory.getSystemProperty(LogFactory.java:1558)
> org.apache.commons.logging.LogFactory.initDiagnostics(LogFactory.java:1575)
> org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1817)
> net.myapp.components.Logout.<clinit>(Logout.java:25)
> The same application works well with version 1.5.0.
> It seems the classloader excludes commons-logging leading to a classloading 
> mismatch

--
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

Reply via email to