In general, the COMMCFG.INI file must be changed to let the clients interact with Server Procedure Steps generated as EJBs. In doing so, the client uses a different set of cooperative flows to interact with the application server.
The only exception is when the client has been generated after the Server Manager Java RMI properties have been set. In this case, the generated files already target the desired application server.
The COMMCFG.INI file is located in the <CA-Gen‑root> directory. The general format of the COMMCFG.INI entry is as follows:
<trancode> EJBRMI <initial‑context‑factory> <name‑manager‑url>
For example:
EJBRMI org.jnp.interfaces.NamingContextFactory myhost:1099
When this entry is placed at the top of COMMCFG.INI, all transactions use the C to Java RMI coopflow to connect to myhost using port 1099 to invoke the Initial Context Factory org.tnp.interfaces.NamingContextFactory to perform the EJB lookup.
The Initial Context Factory and Name Manager URL vary for each application server. Review the documentation for your application server to determine the values of these parameters.
|
Copyright © 2013 CA.
All rights reserved.
|
|