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
> > 
>                                         
                                          

Reply via email to