Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Shared library in weblogic 9.2

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends,

I am using Weblogic 9.2 and JSF 1.1. I am trying to deploy an ear file which has 5 war files. These war files uses jsf to display pages. Now since each war file would require jsf libraries in their WEB-INF/lib directory, I would like to keep them at common application level rather than replicating them. In the ear I created APP-INF/lib and placed all the jsf jars in it. However when I try to access the page I get error that the page is unable to find the tld file. When I looked into jsp2.0 specs I came to know that the container would look for the tld only at the following places.
�WEB-INF/lib: tld should be present in META-INF dir in the jar file.
�Under WEB-INF directory or within its sub folders.

Now jsf libraries contain its associated tlds, however they are now placed in APP-INF/lib instead of WEB-INF/lib directory to avoid duplicity of libraries.

Now my understanding is you can put common jar files in APP-INF/lib directory but you cannot put jars which uses tld�s since they wont be parsed.

Is my understanding correct? Please provide me your feedback.

Thanks
Rohit.
 
reply
    Bookmark Topic Watch Topic
  • New Topic