WebSphere liberty class loading PARENT LAST as default

后端 未结 1 1867
别跟我提以往
别跟我提以往 2021-01-19 21:31

I have been investigating using WebSphere\'s Liberty profile as a light weight alternative to having a fully fledged WebSphere instance deployed on my local machine (late to

相关标签:
1条回答
  • 2021-01-19 22:03

    If you're trying to set parent-last classloading in Liberty because you had to do so in WebSphere Application Server traditional to resolve library conflicts, you should first try the application on Liberty without changing it's configuration because Liberty was designed to avoid those types of conflict. If, after that, you're still inclined to change the configuration, while you can't set it as the default, you can do something like this in your server.xml:

    <enterpriseApplication location="myApp.ear" name="MyApp">
        <classloader delegation="parentLast"/>
    </enterpriseApplication>
    
    0 讨论(0)
提交回复
热议问题