Enabling Cache Load at Server Startup

ENOVIA Business Process Services 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 Objects/Options You Can Configure 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 ENOVIA Live Collaboration.

    The AefStartupServlet in com.matrixone.apps.framework.ui package loads the cached items at startup. The servlet is called out in the web.xml file, but is commented out.

  2. Uncomment 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 ENOVIA Live Collaboration servlet, as indicated by load-on-startup set to 3.

  3. If using a Sun One application server, the following entries must be added to the server.policy file under the config directory:

    grant {
    permission java.lang.RuntimePermission "createClassLoader"; 
    permission java.lang.RuntimePermission "getClassLoader";    
    permission java.lang.RuntimePermission "setIO";
    }