1 Reply Latest reply on Feb 1, 2007 11:55 PM by jaikiran pai

    Where to place common JARs?

    Tong Wang Newbie

      Hi everyone,

      I am trouble shooting my JBoss AS 4.0.1sp1 deployment, but before asking help, I'd like to gain some knowledge on deployment and try it myself first.

      So, here is what I'd like to find out: let's say I need to deploy two web applications under the same server, and both web apps are created with Struts, so they share a common set of Struts JARs. So, where should I place those JARs? Under %SERVER%/lib? Or under each web app's WEB-INF/lib?

      To make things more complicated, what if the two web apps use different versions of Struts, one uses 1.3.5, the other 1.2.9?

      Yet another question I had is that: do I need to pack the WAR into an EAR, or I can directly drop the WAR into the deploy folder? What is the difference of the two?

      Thanks,
      Tong