Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

< Previous

Railo/GTMJI Connector

Next >


 

Prerequisites

  • GT.M must be configured, and the GTMJI interface must be built and installed. 
  • Railo must be installed. We recommend "Railo Server with Tomcat"


Installing CFMumps


CFMumps Code

 

  • Copy the downloaded file (ex. cfmumps-0.03-0-g6b7a5fb.tar.gz) to your Railo web root
  • Expand the file:
bash
$ tar xzf cfmumps-0.03-0-g6b7a5fb.tar.gz


Tomcat Configuration


Modify your Tomcat setenv.sh file (ex.: /opt/railo/tomcat/bin/setenv.sh) to contain the following lines BEFORE the line containing "export JAVA_OPTS;":

bash
export gtm_dist=/path/to/gt.m
export gtmgbldir=/path/to/gld/file/gldfilename.gld
export gtmroutines="${gtm_dist} /path/to/objects(/path/to/routines)"
export LD_LIBRARY_PATH=${gtm_dist}/plugin
export CLASSPATH=${gtm_dist}/plugin/gtmji.jar:/path/to/document/root/java
export GTMCI=/path/to/document/root/java/cfgtm.ji


CFMumps Configuration


Edit lib/cfmumps/cfmumps.ini in your document root to set mcCFGtm as the CFMumps connector component:

[General]
component=lib.cfmumps.mcCFGtm


The rest of cfmumps.ini may be left in its default configuration.


Restart Railo


Restart Railo and Tomcat with the following command:

bash
# service railo_ctl restart


You are now ready to begin developing CFMumps applications!

  • No labels