I am constantly providing coherence.jar in the WEB-INF/lib of my web based (WAR) applications in WLS 11g. So obviously it made more sense to deploy coherence.jar as library and then reference it but WLS 11g does not allow web based applications to reference shared library JAR files as per the link below.
weblogic.xmldeployment descriptor file of a Web Application."
Here is what i did to get this to work.
1. Create a shared library coherence.jar for version 3.6 as shown below. I targeted this to the managed servers I was using.
2. In my WAR file create a META-INF/MANIFEST.MF with content as follows.
3. The JDeveloper 11g project would look something like this, as you can clearly see there is no coherence.jar in WEB-INF\lib folder with this setup.
I found this setup as follows enabling me to use JAR files as libraries from WAR / Web Based Applications.