WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Changing enterprise bean types to initialize at application start time using the administrative console

Why and when to perform this task

By default, the WebSphere Application Server's Enterprise JavaBeans (EJB) Container delays the initialization (loading of classes and processing of deployment descriptor metadata) of most EJB types until they are needed during runtime. This helps to speed up the application start time.

All EJB types within a server can, however, be forced to initialize at application start time by setting a system property within the administrative console. If the value of this property is set to true then all beans within the server are initialized at each application's start time.

Steps for this task

  1. Open the administrative console.
  2. Select Servers.
  3. Select Application Servers.
  4. Select the server you want to configure.
  5. In the Server Infrastructure area, select Java and Process Management.
  6. In the Server Infrastructure area, select Process Definition.
  7. In the Additional Properties area, select Java Virtual Machine.
  8. In the Additional Properties area, select Custom Properties.
  9. Select the New box.
  10. In the Name entry field, type com.ibm.websphere.ejbcontainer.initializeEJBsAtStartup.
  11. In the Value entry field, type true. Entering true causes all Enterprise JavaBeans to initialize when your application starts. Entering false causes initialization of all beans to be delayed.
    Note: Setting com.ibm.websphere.ejbcontainer.initializeEJBsAtStartup to either true or false takes precedence over any Start EJB at Application Start settings made on individual EJB types (see Changing enterprise bean types to initialize at application start time using the Application Server Toolkit).
  12. Select OK.



Related tasks
Changing enterprise bean types to initialize at application start time using the Application Server Toolkit

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tejb_ecnt2.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)