if both going are referencing the same version of jar..then yes personally I would never do that as most of my apps have version specific stack..I usually run version 1.x of jar side by side with version 2.x of same jar to demonstrate features and functions between the 2 webapps with 2 versions of the same artifact
hth Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 6 May 2010 11:58:06 -0400 > From: to...@genome.med.harvard.edu > To: users@tomcat.apache.org > Subject: Re: Tomcat, Windows, And Deployment > > Hello, > > I'm only running 2 applications under tomcat, the manager and one site. > I can't imagine that these are competing for resources. > > I'm not sure what you're suggesting I do here though. Should I only use > antiJarLocking? > > Thanks, > Tim > > On 5/6/2010 11:52 AM, Martin Gainty wrote: > > |antiJARLocking| || > > If true, the Tomcat classloader will take extra measures to avoid JAR > > file locking when resources are accessed inside JARs through URLs. > > This will impact startup time of applications, but could prove to be > > useful on platforms or configurations where file locking can occur. If > > not specified, the default value is |false|. > > > > > > //did you experience a problem as 2 webapps are contending for the > > same resources and the second webapp will have to 'wait' until the > > first webapp has completed and released lock on //the webapp's > > jars..setting antiJarLocking to true will allow both webapps to share > > these jars > > > > |antiResourceLocking| > > If true, Tomcat will prevent any file locking. This will significantly > > impact startup time of applications, but allows full webapp hot deploy > > and undeploy on platforms or configurations where file locking can > > occur. If not specified, the default value is |false|. > > Please note that setting this to |true| has some side effects, > > including the disabling of JSP reloading in a running server: see > > Bugzilla 37668 <http://issues.apache.org/bugzilla/show_bug.cgi?id=37668>. > > Please note that setting this flag to true in applications that are > > outside the appBase for the Host (the |webapps| directory by default) > > will cause the application to be *deleted* on Tomcat shutdown. You > > probably don't want to do this, so think twice before setting > > antiResourceLocking=true on a webapp that's outside the appBase for > > its Host. > > > > (as this will delete apps outside appBase i never set to true) > > > > hth > > Martin Gainty > > ______________________________________________ > > please do not alter/modify or disrupt this transmission. Thank You > > > > > > > > > > > Date: Thu, 6 May 2010 11:12:30 -0400 > > > From: to...@genome.med.harvard.edu > > > To: users@tomcat.apache.org > > > Subject: Tomcat, Windows, And Deployment > > > > > > Hello, > > > > > > I'm running Tomcat on windows and am trying to use the tomcat > > > manager to redeploy webapps. I've googled for this on numerous > > > occassions, and the consensus seems to be that in order for this to > > work > > > you must add: > > > > > > antiJarLocking="true" and antiResourceLocking="true" > > > > > > to your context.xml file. > > > > > > However, this doesn't seem to work for me. I seem to have a variety > > > of problems, ranging from it seeming to not pick up changes in the > > newly > > > deployed WAR, to having the server not seem to come back at all. > > > > > > Has anyone successfully done this? Am I missing something? > > > > > > Thanks, > > > Tim Orme > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > > ------------------------------------------------------------------------ > > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars > > with Hotmail. Get busy. > > <http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5> _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5