J2EE:160149 Error When Deploying a Custom Web Service Included in custom.ear (Doc ID 1560683.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Communications Unified Inventory Management - Version 7.2.2 and later
Information in this document applies to any platform.
***Checked for relevance on 17-Nov-2014***
***Checked for relevance on 25-Apr-2016***

Symptoms

When deploying a custom web service which is included in custom.ear. It has dependency with some other jars. When jars are placed in uim_custom_lib.ear but i got the below error.

ERROR
-----------------------
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: uim_custom_lib, Specification-Version: 7.2, Implementation-Version: 7.2.0.0.0, exact-match: false].
  at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
  at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
  at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
  at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
  Truncated. see log file for complete stacktrace

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