This discussion is archived
5 Replies Latest reply: Jul 14, 2013 9:15 AM by user1881425 RSS

Error: Unresolved Webapp Library references

961039 Newbie
Currently Being Moderated
Hi All,
I've deployed a Web (J2EE Spring Webflow) application in WebLogic 11g (WebLogic Server Version: 10.3.5.0). My web application name is FEP. I've created a shared library which name is tiles-api and applied on my AdminServer. I've configured shared library setting in my weblogic.xml. Below is my weblogic.xml :-

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
     <jsp-descriptor>
          <page-check-seconds>1</page-check-seconds>
          <verbose>true</verbose>
     </jsp-descriptor>
     <context-root>/FEP</context-root>
<library-ref>
<library-name>tiles-api</library-name>
<specification-version>2.0.7</specification-version>
<implementation-version>2.0.7</implementation-version>
<exact-match>false</exact-match>
</library-ref>
</weblogic-web-app>

Below is my WebLogic domain config.xml that included shared library settings by WebLogic itself :-

<library>
<name>tiles-api#2.0.7@2.0.7</name>
<target>AdminServer</target>
<module-type xsi:nil="true"></module-type>
<source-path>C:\SunGard\Java\tiles-api-2.0.7\tiles-api.custom.jar</source-path>
<deployment-order>100</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>

Here my shared library Extension name is: tiles-api. But in config.xml it appears as tiles-api#2.0.7@2.0.7. 2.0.7 is the version number of that jar.


Now below is the error that is giving during Weblogic domain start:

<Sep 10, 2012 4:42:53 PM SGT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'FEP' due to error weblogic.application.ModuleException: Failed to load webapp: 'web'.
weblogic.application.ModuleException: Failed to load webapp: 'web'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@3487629[app:FEP module:web path:/FEP spec-version:2.5]", defined in weblogic.xml [Extension-Name: tiles-api, Specification-Version: 2.0.7, Implementation-Version: 2.0.7, exact-match: false]
at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2754)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:415)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
Truncated. see log file for complete stacktrace


Can any body tell me why this error is showing? If I mistake anything of my shared library setting please help to point out. If possible please give me the links for creating/deploying shared library on Web application.

Thanks & Regards

Easin

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points