After running the EJB IVP—optional steps

Optionally, to finish the setup of your complete EJB server, you can customize one or more sample JVM profiles and JVM properties files, or create your own JVM profiles and JVM properties files for use with enterprise beans, rather than using the default JVM profile DFHJVMCD. DFHJVMCD can only be customized in limited ways, because it is used for internal CICS programs, but other JVM profiles can be customized as you want.

Setting up JVM profiles and JVM properties files tells you how to select a suitable JVM profile and JVM properties file and customize them, or if you prefer, how to create your own JVM profile and JVM properties file based on one of the supplied sample profiles. Follow the procedures in that section to customize or create your JVM profile and JVM properties file.

When you have customized or created your JVM profile and JVM properties file, in order for them to be used by enterprise beans:
  1. Specify the name of your JVM profile on the JVMPROFILE option of the PROGRAM definition for the request processor program. (The supplied PROGRAM definition for the default request processor program, DFJIIRP, specifies the default profile, DFHJVMCD.)

    You should create your own TRANSACTION and PROGRAM definitions for the request processor program, as described in Defining CICS resources, rather than change the default definitions. Specify the name of your TRANSACTION on REQUESTMODEL definitions for bean methods that are to run under the new profile.

  2. Place your profile in the HFS directory specified by the JVMPROFILEDIR system initialization parameter.
Important: You must specify the location of your name server on the com.ibm.cics.ejs.nameserver property in all the JVM properties files that are used by CORBA applications or enterprise beans—including the dfjjvmcd.props properties file that CICS uses to to publish deployed JAR files. For detailed information about defining the location of your name server, see the CICS® System Definition Guide.