Tomcat lib folder under increased storage jar

Sometimes tomcat at multiple sites using the same set of jar, if the lib at each site are set to put a jar, can lead to too much memory for the situation. To address this situation, many times, we will unify all the same jar into the lib under the tomcat, so that when loaded, loaded only once on it, the speed will soon start tomcat.

However, the other jar into the next tomcat lib, and will jar under the original tomcat lib mix, making it impossible to distinguish.

To solve this problem, we can create a new folder in tomcat lib, the jar into which the non-tomcat, then \ conf \ catalina.properties file modifications tomcat directory. In which the path corresponding to the folder can be added: The

"${catalina.home}/lib/ext/*.jar","${catalina.home}/lib/swagger/*.jar"
The following is a screenshot:

 

 

 

 

 

 So, tomcat under lib jar and can be loaded, they can be distinguished.

 

 

Guess you like

Origin www.cnblogs.com/sunflowerGIS/p/11975923.html