Deploying Avitek Application War File Fails with Error "weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references" (Doc ID 1315525.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.
Checked for relevance on 04-Jun-2015

Symptoms

When attempting to deploy Avitek WebCenter sample portal application in JDeveloper PS3, the following error occurs:

[Running application Avitek on Server Instance IntegratedWebLogicServer...]
[02:21:20 PM] ---- Deployment started. ----
[02:21:20 PM] Target platform is (Weblogic 10.3).
[02:21:22 PM] Retrieving existing application information
[02:21:22 PM] Running dependency analysis...
[02:21:22 PM] Deploying 6 profiles...
[02:21:23 PM] Wrote Web Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek\ViewControllerWebApp.war
[02:21:24 PM] Wrote Web Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek\TemplatesWebApp.war
[02:21:24 PM] Wrote Web Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek\SiteModelWebApp.war
[02:21:25 PM] Wrote Web Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek\SiteManagerWebApp.war
[02:21:26 PM] Wrote Web Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek\NodeTypeWebApp.war
[02:21:27 PM] Wrote Enterprise Application Module to C:\Documents and Settings\93677\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Avitek
[02:21:27 PM] Deploying Application...
<Apr 5, 2011 2:21:29 PM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1302038488125' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.jive.dependency, Specification-Version: 11.1.1, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.jive.dependency, Specification-Version: 11.1.1, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
<Apr 5, 2011 2:21:29 PM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Avitek [Version=V2.0]'.>
<Apr 5, 2011 2:21:29 PM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.jive.dependency, Specification-Version: 11.1.1, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
[02:21:29 PM] #### Deployment incomplete. ####
[02:21:29 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application Avitek due to error deploying to IntegratedWebLogicServer.
[Application Avitek stopped and undeployed from Server Instance IntegratedWebLogicServer]


 


Steps to Reproduce:

The issue can be reproduced at will with the following steps:

  1. Download the Avitek Demo form here:
    Oracle WebCenter Suite 11g Demonstrations and Samples
    Avitek Sample Portal
  2. Unzip the avitek_workspace_version.zip to any convenient location.
    This archive contains the Avitek JDeveloper project.
  3. Locate the drive or partition which JDeveloper use for the systems* directory and unzip avitek_content_version.zip into the root (e.g. C:\ ) of that drive. This will create a directory like C:\scratch\avitek with the content repository of the Avitek application.
  4. Start JDeveloper and make sure that the WebCenter Extension is installed.
    If not, install it from Help -> Check for Updates.
  5. Open Avitek/Avitek.jws in JDeveloper.
  6. To run the sample portal, right-click on the ViewController project and select Run.
    This should return the errors.

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