Pete
Pete

Reputation: 1650

Can a liberty dropin app be configured to use a shared library?

In Websphere Liberty Profile, if I have a dropin app, can it be configured to use a shared library? Or does the app need to be explicity declared in the server.xml file in order to use files from a shared library, e.g.:

    <webApplication id="myapp"
            location="/root/wlp/myapp.war"
            name="edacm-se">
            <classloader delegation="parentLast">
                    <privateLibrary>
                            <folder dir="/root/SharedLibDir" />
                    </privateLibrary>
            </classloader>
    </webApplication>

I'm asking because I have an automated job to copy the file into the dropins folder, and I want to understand whether this can continue if the war requires a shared library, or if I will need to overwrite the server.xml file to specify this.

Upvotes: 2

Views: 1410

Answers (1)

F Rowe
F Rowe

Reputation: 2064

See the section on Global libraries in the IBM KnowledgeCenter topic on shared libraries.

Upvotes: 1

Related Questions