Enabling Cache Load at Server Startup

Collaboration and Approvals can be configured to cache certain types of data, such as symbolic names and properties, at startup. If this caching is not configured, then the caching will be done when the first user accesses the system after startup.

See About Caching for details on what items get loaded at server startup, or when the Reload Cache tool is used.

  1. Open the web.xml file distributed with 3DSpace.

    The AefStartupServlet in com.matrixone.apps.framework.ui package loads the cached items at startup.

  2. Add these lines of code:

    <servlet id="Servlet_AEF">
        <servlet-name> AefStartupServlet </servlet-name>
        <servlet-class>com.matrixone.apps.framework.ui.AefStartupServlet</servlet-class>
        <load-on-startup>3</load-on-startup>
    </servlet>

    The AefStartupServlet must run after the 3DSpace servlet, as indicated by load-on-startup set to 3.

  3. To enable the Reload Cache function in an installation that includes 3DPassport, add these lines of code:

    <filter-mapping>
            <filter-name>ByPassPatternFilter</filter-name>
    …
            <url-pattern>/common/emxReloadRemoteAppServerCache.jsp</url-pattern>
        </filter-mapping>

    The ... represents other URL patterns that might have been added for other purposes.