The maximum number of CorbaServers that can be defined to a CICS EJB/CORBA
logical server is controlled by the RECORDSIZE values of the request streams
directory file, DFHEJDIR, and the EJB object store file, DFHEJOS.
The RECORDSIZE attributes in the supplied JCL and FILE definitions for
DFHEJDIR specify a RECORDSIZE of 1017 bytes. The RECORDSIZE attributes in
the supplied JCL and FILE definitions for DFHEJOS specify a RECORDSIZE of
8185 bytes. Normally, these values should not require modification. Only if
you intend to install more than 40 CorbaServers in your logical EJB/CORBA
server do you need to change these values.
Both DFHEJDIR and DFHEJOS contain a control record which is made up of
a 24-byte header and a repeating group of CorbaServer control fields, each
24 bytes long. The default length of 1017 for DFHEJDIR effectively limits
the logical server to 41 CorbaServers: (1 + 41) * 24 = 1008 bytes. If you
need to install more CorbaServers than this into your logical server, calculate
the required RECORDSIZE for DFHEJDIR like this:
- Multiply the required number of CorbaServers by 24.
- Add 24 bytes for the control record header. This gives the absolute minimum
record size.
- Round up the last value to the next multiple of 512 to get the minimum
control interval size.
- Subtract 7 to get the value for the RECORDSIZE parameter.
Make the RECORDSIZE value for DFHEJOS greater than that of DFHEJDIR. Too
short a length will result in collisions when passivating beans. (The supplied
definitions make the RECORDSIZE of DFHEJOS almost 8 times that of DFHEJDIR.)
Note: The sample JCL for DFHEJDIR and DFHEJOS is in the DFHDEFDS
member of the SDFHINST library. Sample FILE resource definitions for DFHEJDIR
and DFHEJOS are in the DFHEJVS RDO group, with sample coupling facility FILE
definitions in the DFHEJCF group, and sample VSAM RLS FILE definitions in
the DFHEJVR group.