Walks you through the process of configuring the IMSDEMO
enterprise server region to prepare it for running the IMSScreenWS Web service that is deployed to it later in this tutorial.
Configure the Web Services and J2EE listener
You need to specify a communications port to be used by the Web Services and J2EE listener that accepts incoming client requests.
- If the IMSDEMO region is started, stop it from the
Server Explorer in
Enterprise Developer.
- Right-click
Micro Focus Servers, and click
Administration.
This opens the
Enterprise Server Common Web Administration (ESCWA) in a browser outside of the IDE.
- In
ESCWA, click
NATIVE.
- In the navigation pane, expand
, and double-click your
enterprise server instance.
- Click the downwards arrow next to
GENERAL, and click
Listeners in the drop-down list.
- Under
Communications Process 1, and click
Web Services and J2EE.
- Change the contents of the
Port field to
9003.
- Scroll up to the
Status section, and set the status of the listener to
Started.
- Click
APPLY.
- Click the
Web listener.
- Change the value of the
Status field to
Stopped. This enables the listener used to deploy the service interface to the IMSDEMO server.
- Click
APPLY.
- Return to the list of default directory servers in ESCWA.
Create and configure an alternative
deploy directory
Important: Complete this section only if you do not have Administrator privileges for the
Enterprise Developer installation directory and subdirectories. If you do have Administrator privileges, skip directly to
Create a Service Interface.
Without Administrator privileges to the default
deploy directory, you cannot deploy to
Enterprise Server from
Enterprise Developer. To ensure successful deployment, complete these tasks:
- Create a
deploy folder in your IMSSupport project
-
- In the
Solution Explorer, right-click the project, and then select
Add > New Folder from the context menu.
- Type
deploy; then press
Enter.
- Add the
.mfdeploy file
- The new
deploy folder must contain a copy of the
.mfdeploy configuration file. Use the
Solution Explorer to add this file.
- From the
Solution Explorer, right-click the
deploy folder; then select
Add > Existing Item.
- Browse to the
%ProgramFiles(x86)%\Micro Focus\Enterprise Developer\deploy folder.
- Set the filter drop-down list to
All Files (*.*).
- Double-click the
.mfdeploy file.
- Define the deployment folder
- Now you need to configure the IMSDEMO
enterprise server region by defining the new
deploy project folder as the deployment folder.
- In
ESCWA click
NATIVE.
- In the
ESCWA navigation pane, expand
Directory Servers > Default, and then select your
enterprise server instance.
- On the
GENERAL drop-down list, select
Listeners.
- Expand
Communications Process 1, and click
Web.
- In the
LISTENER PROPERTIES pane, scroll down to the
Custom Configuration field; then within the field, scroll down until you find the relevant code, then change:
uploads=<ES>/deploy
to:
uploads=c:/tutorials/IMTK/project-name/deploy
where
project-name is the name of the project.
- Click
APPLY.