Monday, April 6, 2015

Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for


I was trying to deploy an application to a managed server which was on running my local integrated server .

But i encountered this exception.

It seems like some library is not present in the managed server but i was puzzled why a library may not be present in the managed server.


For my case i was missing the library Extension-Name: oracle.portlet-producer.wsrp in my managed server.

After looking at the weblogic console, i figured this library was targerted to different managed servers not to the one where i was deploying. I deployed my application to the managed server where the library was already deployed. The application deployment was successful.

[11:25:38 AM] Deploying Application...
[11:25:39 AM] [Deployer:149191]Operation 'deploy' on application 'POApp_application1' is initializing on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149193]Operation 'deploy' on application 'POApp_application1' has failed on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application POApp_application1 on WC_CustomPortal.: Failed to load webapp: 'POApp-ViewController-context-root'.
[11:25:40 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@433031789[app:POApp_application1 module:POApp-ViewController-context-root path:/POApp-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.portlet-producer.wsrp, exact-match: false]
[11:25:40 AM]   See server logs or server console for more details.
[11:25:40 AM] weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] ####  Deployment incomplete.  ####

[11:25:40 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

No comments:

Post a Comment