openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis MONTEIRO (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2171) asm should be optional
Date Wed, 18 Apr 2012 12:21:46 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256474#comment-13256474
] 

Jean-Louis MONTEIRO commented on OPENJPA-2171:
----------------------------------------------

Well, IMHO the issue is larger than just TomEE. The point is that a lot of projects uses ASM
(Hibernate, OpenJPA, Spring, CXF, etc ...). But almost all of them uses a different version
which can lead to hard classloading issues to solve. I can remember pulling my hair out because
of that.

Even out TomEE, a webapp can face the same issue.

If you could provide an ASM-shaded jar of OpenJPA, that could help solving such an issue.

wdyt?

                
> asm should be optional
> ----------------------
>
>                 Key: OPENJPA-2171
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2171
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>
> openjpa uses since some versions asm but in tomee for instance we use a shade (through
the xbean one org.apache.xbean:xbean-asm-shaded to avoid classloading/version issues with
webapps/applications.
> it can be nice if openjpa can provide us an issue to this because we really don't want
to provide asm in our binaries.
> solutions can be to use the xbean shade, give us an interface to implement or to try
several implementation (xbean shade, asm,...) by reflection

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

        

Mime
View raw message