I've been wondering if there's a way to configure an application to be deployed onto Liberty Profile with a server.xml or any LP-specific deployment descriptor in META-INF or WEB-INF (wish it'd be the former)? There are some configuration settings (classloader, libraries, security) that have to be in server.xml to be applied to an app and being able to use dropins with such a feature would be very handy.
I could find out that there's some notion of this for LP bundles. I could find OSGI-INF/wlp/defaultInstances.xml which is indeed a server.xml in lib/com.ibm.ws.classloading_1.0.jar which is driven by IBM-Default-Config, but it doesn't seem to work for a web application (not WAB).
Can this be considered a RFE?
Japila :: verba docent, exempla trahunt
This topic has been locked.
Pinned topic server.xml or any LP-specific deployment descriptor in META-INF or similar?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
SystemAdmin 110000D4XK590 Posts
Re: server.xml or any LP-specific deployment descriptor in META-INF or similar?2012-10-19T12:06:52ZThis is the accepted answer. This is the accepted answer.Hi,
There is no way to package application configuration inside an application archive. The mechanism used by the com.ibm.ws.classloading bundle is part of our internal implementation detail and is not available for applications and is doing something very different to what you are asking for.
Please feel free to raise an RFE for this.