Provides step-by-step instructions to complete the creation and configuration of the ESACCTSV
enterprise server region on which to run the ACCT Web-enabled application.
Start the Server Explorer
The
Server Explorer view is visible by default when using the
Team Developer perspective, and appears as a tab on the same level as the
Application Explorer view. However, if it is not visible:
- In Eclipse, click
, and then click
Open.
Attention: You might encounter an
ESCWA Sign On dialog box as you perform the steps required to create, configure, start, or stop an
enterprise server region from the
Server Explorer. If you do, ensure that the
Server requires credentials,
Use specific server credentials, or
Server is secured
, and the
Store credentials boxes are
unchecked, and then click
OK.
If asked to provide a password, enter your UNIX logon password.
Create the ESACCTSV
enterprise server region
- In the
Server Explorer, expand
Local [localhost:10086], right-click
Default [127.0.0.1:86], and then select
New > Enterprise Server.
- In the
Name field, type
ESACCTSV. This is the name for the new
enterprise server region.
- Click the
Browse button that corresponds to the
Template field.
- Double-click
CICSTemplate.xml. This populates the
Template field.
Note: If
CICSTemplate.xml is not on the list, browse to the
$COBDIR/etc directory
to locate the file.
- On the list next to
Associate with projects, check
ACCTWEB.
- Click
Finish.
After refreshing, the
Server Explorer shows the
ESACCTSV
enterprise server region listed under
Local [localhost:10086] >
Default [127.0.0.1:86].
Note: If
ESACCTSV is not showing, expand
Local [localhost:10086] >
Default [127.0.0.1:86].
Configure the ESACCTSV
enterprise server region
- Start
Enterprise Server Common Web Administration (ESCWA)
-
- From the
Server Explorer, right-click
Local [localhost:10086]; then select
Open Administration Page. This starts the
ESCWA UI in a browser outside of the IDE.
- Click
Native.
- In the navigation pane, expand
to see the
ESACCTSV
enterprise server region in the list of servers.
- Define environment variables
-
- On the
Region and Server List page in the right pane, hover the row for the
ESACCTSV entry in the list of servers, and click
Edit
.
This action opens the
General Properties page of the server's properties.
- Type the following into the
Configuration Information field:
[ES-Environment]
This indicates that the information that follows defines environment variables that are specific to the region. Next, you
define an environment variable to represent your project directory.
- On the next line down, type:
IDE_PROJECT_LOC=EclipseWorkspacePath/ACCTWEB
Where
EclipseWorkspacePath is the fully qualified path to your Eclipse workspace.
To use a defined environment variable in the value definition of another environment variable or as the value in other
Enterprise Server Administration fields, you precede the name of the variable with a dollar sign ($). You can use the IDE_PROJECT_LOC environment
variable to help define the next variable.
- On the next line down, type:
ES_DOCTEMPLATE_PATH=$IDE_PROJECT_LOC/html
This variable is used in the template definition for the DOCUMENT created in this tutorial: ACCTMP1, defined in the DFHWEB
resource group.
Note: When you create your
enterprise server region using the CICS template as you have done in this tutorial,
Enterprise Server generates and stores several environment variables based on the information in the associated project. For example, in this
region, the IDE_LOADLIB environment variable has been generated and is set to the directory you defined as the output directory
in the ACCTWEB
Enterprise Developer project. Therefore, IDE_LOADLIB is equal to the
loadlib subdirectory of your project directory, or
EclipseWorkSpacePath/ACCTWEB/loadlib. The definitions for generated environment variables do not show in the
Configuration Information field, however.
- Click
Apply.
- Set the location of your resource definition file
- Earlier in this tutorial, you imported the resource definition file,
dfhdrdat, as you imported the demonstration application. Now you need to tell the ESACCTSV region where to find that file.
- Click
CICS in the taskbar at the top of
General Properties page to access the
CICS Configuration page.
- In the
Resource Definition File Path field, type:
$IDE_PROJECT_LOC/system
- Click
Apply.
- Configure the TN3270 listener
- The endpoint address for the TN3270 listener defines the port number used when you connect to the
enterprise server region using the
Host Access for the Cloud TN3270 emulator.
- Click
This takes you to the
Communications Server Properties page.
- Scroll down to the
Listeners section.
- Click
(Edit) on the row of the
TN3270 listener.
- In the
Hostname or IP Address field, type
*.
- In the
Port field, type
5239.
- Click
Apply.