I'm migrating a webapp (WAR, based on Spring MVC/WS/Data) from Tomcat 7 to JBoss EAP 6.4.0.
I have a problem with JBoss classloader: I need to load and prefer my webapp's WEB-INF/lib/ jars, especially JPA2.1 and some Jaskson libs, but the server loads its own version (JPA2.0, etc.).
Thanks to this ticket (http://ift.tt/1QEE4E4), I've found how to disable the JBoss version of JPA, but I still have to disable many other JBoss libraries.
Q: Is there a way to simply always prefer my webapp's libs ?
Accodring to the documentation, JBoss EAP6 (based on JBoss7) allows this configuration with modules exclusions, I can't play with parent-first/parent-last classloaders anymore (I tried with no success), I have to deal with module exclusions only.
Thx for your support
Aucun commentaire:
Enregistrer un commentaire