Is there a way to configure TomEE to use single class loader per EAR and load classes from the application first and server last?
有没有办法配置TomEE每个EAR使用单个类加载器,并从应用程序首先加载类和服务器最后?
1 个解决方案
#1
0
not sure i get very well your question since if you have a single classloader there is no need of first/last notion
不确定我的问题得到了很好,因为如果你有一个类加载器就不需要第一个/最后一个概念了
BTW, currently TomEE only supports a classloader for lib part then one tomcat webappclassloader by webapp as child of the lib one.
顺便说一句,目前TomEE只支持lib部分的类加载器,然后是webapp的一个tomcat webappclassloader作为lib的子代。
#1
0
not sure i get very well your question since if you have a single classloader there is no need of first/last notion
不确定我的问题得到了很好,因为如果你有一个类加载器就不需要第一个/最后一个概念了
BTW, currently TomEE only supports a classloader for lib part then one tomcat webappclassloader by webapp as child of the lib one.
顺便说一句,目前TomEE只支持lib部分的类加载器,然后是webapp的一个tomcat webappclassloader作为lib的子代。