Navigation:  How to... >

Optimize Apache Tomcat startup with several WebOffice applications

Previous pageReturn to chapter overviewNext page

If you are using several WebOffice 10 R3 web applications under a single Tomcat installation you may centralize the arcobjects_100.jar file. The advantage is a faster Tomcat restart and a minimization of Tomcat memory usage.

The prerequisite for a centralization is, that the WebOffice 10 R3 web applications all use the same version of the arcobjects library (*.jar file). You cannot centralize the library using a WebOffice 6 and a WebOffice 10 R3 web application!

The centralization is certified for Tomcat version 6.0.32.

Step by step instruction:

Stop Apache Tomcat

Create a directory <Tomcat>\shared\lib

Edit <Tomcat>\conf\catalina.properties so that the shared.loader line looks like this shared.loader=$CATALINA_HOME/shared/lib (see http://wiki.apache.org/tomcat/HowTo for details)

Verify that the environment variable CATALINA_HOME points to your Tomcat installation folder. Otherwise create or change it.

Copy the file arcobjects_100.jar from one of your <WebOffice 10 R3 web application>\WEB_INF\lib folder to <Tomcat>\shared\lib and delete it from all of your WEB-INF\lib folders.

Start Apache Tomcat