[
http://jira.nuxeo.org/browse/NXP-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36227#action_36227
]
jhon book commented on NXP-1918:
--------------------------------
http://www.esnips.com/web/amateureasiannudesfreeamateuremodelsnudeho
http://www.esnips.com/web/Aabharana64
http://www.esnips.com/web/Aabharika73
http://www.esnips.com/web/Aabhas893
http://www.esnips.com/web/Aabhirika842
http://www.esnips.com/web/Aabia85
http://www.esnips.com/web/Aabiahamid864
http://www.esnips.com/web/Aabida23
http://www.esnips.com/web/Aabira56
http://www.esnips.com/web/Aabish87
http://www.esnips.com/web/Aabriella34
http://www.esnips.com/web/Aabrillyn54
http://www.esnips.com/web/Aabroo76
http://www.esnips.com/web/Aabyegayle81
http://www.esnips.com/web/Aachal63
http://www.esnips.com/web/Aachalaya67
http://www.esnips.com/web/Aachaly98
http://www.esnips.com/web/Aachit75
http://www.esnips.com/web/Aad12
http://www.esnips.com/web/Aada34
http://www.esnips.com/web/Aadab45
http://www.esnips.com/web/Aadalarasi73
http://www.esnips.com/web/Aadaria632
http://www.esnips.com/web/Aadarsh65
http://www.esnips.com/web/Aadesh61
http://www.esnips.com/web/Aadi22
http://www.esnips.com/web/Aadideva51
http://www.esnips.com/web/Aadil65
http://www.esnips.com/web/Aadinatha34
http://www.esnips.com/web/Aadishwara72
http://www.esnips.com/web/Aaditya75
http://www.esnips.com/web/Aafreen39
http://www.esnips.com/web/Aaftab21
http://www.esnips.com/web/Aagneya42
http://www.esnips.com/web/Aahlada53
> Nuxeo classloader prevents embedded jars to load each other
> -----------------------------------------------------------
>
> Key: NXP-1918
> URL: http://jira.nuxeo.org/browse/NXP-1918
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Runtime
> Affects Versions: 5.1.2
> Reporter: Olivier Grisel
> Assignee: Bogdan Stefanescu
> Fix For: 5.1.5
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Use case:
> You have a custom-project.jar (with MANIFEST.MF, OSGI-INF/, pom.xml as any
> other standard nuxeo plugin). That project as a dependency on an external jar
> (for instance xmlbeans 2.2.0). The dependency is declared in the pom.xml file
> of custom-project along with a declaration for the maven-dependency-plugin to
> include that jar at the root of custom-project.jar:
> <artifactItem>
>
> <groupId>org.apache.xmlbeans</groupId>
>
> <artifactId>xmlbeans</artifactId>
> </artifactItem>
> Since xmlbeans 2.2.0 needs stax-api 1.0.1 to work, we add that dependency in
> custom-project's pom.xml as well along with the maven-dependency-plugin
> declaration as follows:
> <artifactItem>
>
> <groupId>stax</groupId>
>
> <artifactId>stax-api</artifactId>
> </artifactItem>
> When building the custom-project.jar we now have the following content:
> custom-project.jar/
> xmlbeans-2.2.0.jar
> stax-api-1.0.1.jar
> classes/
> ...
> After having deployed successfully custom-project.jar in nuxeo.ear/plugins,
> when calling a method of a class of custom-project that needs a class of
> xmlbeans, the nuxeo class loader finds the xmlbeans class but if that class
> needs in turn a class of stax-api (such as javax.stream.QName) we get a
> classloading exception (it cannot find QName).
> When disabling the nuxeo specific classloader in the jboss-app.xml template
> of the ear, everything works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets