This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

dynamic WEB-INF/lib

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • 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...
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!