jkavx
asked on
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?
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?
ASKER
Well, we're working with Eclipse, developing locally with Apache.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
app1.ear:
META-INF/application.xml
ejb1.jar:
META-INF/MANIFEST.MF:
Extension-List: util
util-Extension-Name: com/example/util
util-Specification-Version
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
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