This procedure describes how to configure Control-M for Java to work in a J2EE servlet container server, which enables Control-M for Java applications to run in the J2EE servlet container environment.
Before you begin
Ensure the following:
Control-M/Agent and the J2EE Server shares files located under the Control-M for Java installation path.
To configure the J2EE servlet container:
<CONTROL-M Agent location>/cm/JAVA/exe
EXAMPLE: In a Tomcat servlet container, copy the file to the following:
<Tomcat location>/shared/lib
<servlet>
<servlet-name>CTM_JAVA_CONTAINER_1</servlet-name>
<servlet-class>com.bmc.ctm.bpi.cm.ejb.servlet.CMExtension</servlet-c
lass>
<init-param>
<param-name>ACCOUNT</param-name>
<param-value>CTM_JAVA_CONTAINER_1_CONNECTION PROFILE</param-value>
</init-param>
<init-param>
<param-name>CM_ROOT</param-name>
<param-value>c:\Program Files\BMC Software\CONTROL-M
Agent\Default\CM\JAVA\</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
NOTE: Each servlet container account must have its own servlet definition, with a unique servlet name.
For information the servlet parameters, see Servlet parameters.
Parent Topic |