Posts Tagged ‘weblogic.xml’
WebLogic: Unresolved Webapp Library references for … coherence-web-spi
Case
I have to integrate Oracle Coherence, or more accurately Coherence*Web, within an application deployed as a WAR in WebLogic 10.3.
Since Oracle bought both BEA and Tangosol, increasing their integration, using Coherence jars implicitely is allowed. Anyway I decided to add the following block in weblogic.xml
<library-ref> <library-name>coherence-web-spi</library-name> <specification-version>1.0.0.0</specification-version> <implementation-version>1.0.0.0</implementation-version> <exact-match>false</exact-match> </library-ref>
Then I get this error:
Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for ""ServletContext@25681165[app:risklayer-web module:jonathan-lalou.war path:/jonathan-lalou spec-version:null]"", defined in weblogic.xml [Extension-Name: coherence-web-spi, Specification-Version: 1, Implementation-Version: 1.0.0.0, exact-match: false]
Fix
Indeed, I had to deploy Coherence*Web WAR in WebLogic, in the console:
Deployments > Install > select Coherence WAR, eg: C:\jonathan\bea\coherence_3.5\lib\coherence-web-spi.war
> Next> Install this deployment as a library > Next > Target your server > Finish