• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

dynamic WEB-INF/lib

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

There are two applications deployed on the Websphere 5.1.1: Application1.ear and Application2.ear.
Application2.ear has a web application Web.war which uses a servlet filter whose class is in a jar which is in Application1.ear.

How to make the jar from Application1.ear visible to the Web Container for the Web.war. Currently the jar is simply copied from the Application1.ear to the WEB-INF/lib of the web application from Application2.ear.

This is problematic as any update of the jar file requires updating the Application 2.ear. Is there any way to simply "link", add to the web containter classpath's selected jar(s) from other applications?

Thanks,
Cristian

PS: Putting the jar in the server's classpath or in ws.ext.dirs will not work, as the jar contains references to classes from other jars, and so on. And this will make the jars visible for all the othere applications but I want to make the jar visible just for Application2.ear . Gaaaaaa...
 
Hang a left on main. Then read this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic