These settings affect how long it takes the server to start, that is, the time between starting the process and when the server is ready to accept connections:
Message service initialization If you are running the message service, it must initialize before the server can accept connections. At start-up, the message service reads unprocessed persistent messages into the in-memory cache. A large message backlog can delay server start-up.
Service components and scheduled tasks All service components must return from their start methods before EAServer accepts client connections. Scheduled tasks that run at startup must also complete. Lengthy processing in the service start method or in a scheduled task can delay server start-up. For more information, see Chapter 3, “Using Scheduled Tasks,” and Chapter 4, “Creating Service Components,” in the Automated Configuration Guide.
Modules loaded at start-up To run in a server, Web and EJB modules must be installed in the server’s start modules list. To speed up server startup, remove modules that you are not using by configuring the Modules tab settings in the server property pages in the Management Console. For details, see “Modules tab” in Chapter 3, “Creating and Configuring Servers,” in the System Administration Guide.
If you do not use the Management Console, that is, you do all configuration with Ant, you can remove the Management Console from the server’s start module list by including application-console in the setting of the server systemExcludeModules property. For example:
<project name="MyApplicationServer"> <import file="ant-config-tasks.xml"/> <target name="configure"> <setProperties applicationServer="MyApplicationServer"> <property name="systemExcludeModules" value="application-console"/> </setProperties> </target> </project>
JSPs loaded at start-up JSPs that are configured to load at start-up are compiled if necessary. Compilation of many JSPs can delay start-up. If you define all JSPs that need to be precompiled with their own “servlet” elements in your web.xml files, you can precompile them when deploying to EAServer. Otherwise, precompile them using the jagtool compilejsp command.
Servlets loaded at start-up Servlets that are configured to load at start-up must return from their init method before the server continues. Lengthy processing in this method can delay start-up. (If the servlet does not load at start-up, lengthy processing in this method can delay the response to the first client request).