[
https://issues.apache.org/jira/browse/TOMEE-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537721#comment-14537721
]
Ryan McGuinness commented on TOMEE-1581:
----------------------------------------
It has been my experience that the above configuration works through the unit
tests, and if javassist is not at the endorsed level then it has issues
instrumenting some clases. All of that aside is the "endrosedLibs" feature
available in the 1.7.1 plugin? As I have tested it would appear unsupported.
http://tomee.apache.org/tomee-maven-plugin.html as it is not documented, nor
did it work in the test case I have.
> Create endorsed class loader in Embedded TomEE arquillian
> ----------------------------------------------------------
>
> Key: TOMEE-1581
> URL: https://issues.apache.org/jira/browse/TOMEE-1581
> Project: TomEE
> Issue Type: New Feature
> Components: TomEE Maven Plugin
> Affects Versions: 2.0.0, 1.7.1, 1.7.2
> Reporter: Ryan McGuinness
> Priority: Minor
>
> For custom composed containers, it would be useful to add an endorsed
> libraries section to the configuration to ensure the class loaders run as
> they would at runtime. In cases where an API may be overridden in endorsed to
> update the functionality of LIB jars. Or replace the JPA container with
> Hibernate.
> <configuration>
> <tomeeVersion>1.7.1</tomeeVersion>
> <tomeeClassifier>plus</tomeeClassifier>
> <removeDefaultWebapps>true</removeDefaultWebapps>
> <endorsed>
> <lib></lib>
> </endorsed>
> <libs>
> </libs>
> </configuration>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)