"[J2EE:160149]Error while processing library references" When Deploying In Managed Server (Doc ID 947921.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version 11.1.1.0.1 to 11.1.1.6.0 [Release Oracle11g]
Information in this document applies to any platform.
***Checked for relevance on 14-Feb-2013***

Symptoms

You have developed an ADF application with JDeveloper 11g.
It works fine when you run it in the Embedded WebLogic Server, from JDeveloper.
When you try to deploy your application in your WLS Domain, in a Managed Server, then it fails with the following errors:

...
[05:18:32 PM] [Deployer:149193]Operation 'deploy' on application '<yourEAR> [Version=V2.0]' has failed on '<yourManagedServer>'
[05:18:32 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application <yourEAR> [Version=V2.0] on <yourManagedServer>.:
    
[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml:
[Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false],
[Extension-Name: oracle.jsp.next, exact-match: false]
...    
[05:18:32 PM] Weblogic Server Exception: weblogic.management.DeploymentException:
[J2EE:160149]Error while processing library references.
Unresolved application library references, defined in weblogic-application.xml:
[Extension-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: false],
[Extension-Name: oracle.jsp.next, exact-match: false].
...


Note how WLS is stating it can't find adf.oracle.domain nor oracle.jsp.next.
Though, you installed the JRF (Java Required Files), including the ADF Runtime Libraries, in your Domain.
The same deployment works fine in your WLS AdminServer Managed Server.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms