If you have 2 jars which I need to deploy onto a Weblogic Managed Server so that one of your applications can use the functions provided in these 2 jars. How do you do it?
The following describes what I did:
(1) deploy these two jars as library onto the target weblogic server. Write down the name of the deployment, for illustration purpose, let us say: Jar1, Jar2
(2) Find the weblogic-application.xml of the application which wants to make uses of the functions in the 2 jars. Add the following into the weblogic-application.xml file:
Jar1
Jar2
This essentially adds the 2 deployed jars onto the classpath of the application so
that the application can reference it. Restart the server, it should work.
Note that the following is incorrect, will result the system looking for version of Jar1.
Jar1 Jar2
Below is Oracle link on this topic. Check it out:
http://docs.oracle.com/cd/E13222_01/wls/docs92/programming/libraries.html
No comments:
Post a Comment