Web transaction configuration files

Before you can run web transactions in EGL, you must modify at least one configuration file.

The gw.properties file in the JavaResources: src folder contains basic configuration information for your web transaction application. By default, the file names csogw.properties as the hptLinkageProperties file, which resolves locations for your application.

You will have to edit the csogw.properties file (or whatever file you use to specify your linkage) before your programs will run properly. The following instructions cover the simplest case; for more complex cases, and for more information, see "Web transaction linkage properties" in the EGL Generation Guide.
  1. You can configure the file to look for your web transaction programs in different locations depending on the file name. In this example, assume all your files are located in a single local directory. The asterisk in the following line is a wildcard that represents any character or string of characters:
    application.*=allfiles
  2. You have now associated the name allfiles with any application EGL is looking for. Tell EGL that the files are local with the following line:
    serverLinkage.allfiles.commtype=DIRECT
  3. Assign a folder (relative to the current JavaResources: src folder) where your generated programs reside (shown as fileLocation in the following line):
    serverLinkage.allfiles.javaProperty=fileLocation

These three lines provide the minimum configuration information for EGLWebStartup.jsp to work properly.


Feedback