Thanks a lot, Lulseged for your inputs. With this approach, did you see any apparent issues / precautions that we should be aware of ?
Thanks, Amit On 15/06/16 3:54 pm, "Lulseged Zerfu" <zlulse...@hotmail.com> wrote: >It should be shared.loader: >shared.loader="${catalina.base}/shared" > >> From: zlulse...@hotmail.com >> To: users@tomcat.apache.org >> Subject: RE: Tomcat 8 : Shared loader >> Date: Wed, 15 Jun 2016 10:21:39 +0000 >> >> Hi >> I have also same problem and have solved it by using shared folder. >> Look at the catalina.properties file under $CATALINA_HOME/conf >> You can look in to the common.loader an server.loader how to define >>loaders. >> You should add loaders in the same way in the shared.loader. >> I have created $CATALINA_HOME/shared and added my libraries here. >> server.loader="${catalina.base}/shared" >> Hope it helps. >> Lulseged Zerfu >> >> > From: amit.pa...@veritas.com >> > To: users@tomcat.apache.org >> > Subject: Tomcat 8 : Shared loader >> > Date: Wed, 15 Jun 2016 10:00:51 +0000 >> > >> > We develop multiple web application which happen to share the same >>stack (Spring, Hibernate,etc). >> > >> > Thinking of sharing these third party libraries instead of >>duplicating in each web app war. >> > >> > IIUC, putting those in Tomcat (8)'s lib folder might cause issues >>since the classes in there are loaded by a common loader. >> > >> > And sharing such libraries using the shared loader seems a better >>approach. Is my understanding correct ? Does it have any further issues >>? >> > >> > That said, I don't see much documentation around using shared loader. >>Any documentation/help in this regard is highly appreciated. >> > >> > Thanks, >> > Amit >> > >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org