[jboss-user] [Installation, Configuration & Deployment] - Where to place common JARs?

kingcu do-not-reply at jboss.com
Thu Feb 1 16:28:31 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009689#4009689

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009689



More information about the jboss-user mailing list