WS 8.5 - Associating Application With Shared Reference Library

Using WebSphere 8.5, we've created a shared library, set to use an isolated class loader.  In the Admin console, we can associate this shared library with our application and confirm that it the jars in the shared library are in effect.  But whenever the application is redeployed, the association is lost.  

We'd like to adjust the Manifest.MF, or a deployment descriptor, to reference the shared library so that the application can be redeployed without needing to reset the association in the Admin console.  We're unable to make sense of the WebSphere documentation around this.  Does anyone have an example of how to make this association?
jkavxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AdminRAMCommented:
if you really want to have a shared library in a loose-config scenario then you should use the Enhanced EAR editor to define the shared libraries. This would be done in the EAR Deployment Descriptor editor under: Deployment Tab : Shared Libraries .

IBM Enhanced EAR deployment and the isolated class loader attribute for a shared library - United States
http://www-01.ibm.com/support/docview.wss?uid=swg21677153
jkavxAuthor Commented:
Well, we're working with Eclipse, developing locally with Apache.
AdminRAMCommented:
Question was raised on Websphere v8.5
The following link has some document which help to build enchanced ear file

java - What is the difference between an EAR file and a "WebSphere Enhanced EAR"? - Stack Overflow
http://stackoverflow.com/questions/2060368/what-is-the-difference-between-an-ear-file-and-a-websphere-enhanced-ear

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jkavxAuthor Commented:
Thx.  I'm looking at the WebSphere documentation for Installed Optional Packages which seems to require modification to the application's Manifest.mf, but also modification of the manifest of the jar files in the shared library.  

app1.ear:
    META-INF/application.xml
    ejb1.jar:
         META-INF/MANIFEST.MF:
             Extension-List: util
             util-Extension-Name: com/example/util
             util-Specification-Version: 1.4
         META-INF/ejb-jar.xml

util.jar:
    META-INF/MANIFEST.MF:
        Extension-Name: com/example/util
        Specification-Title: example.com's util package
        Specification-Version: 1.4
        Specification-Vendor: example.com
        Implementation-Version: build96
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.