Deploying a WebClient application as a WAR file
You can deploy your WebClient
application by exporting it to a WAR file and then publish it to a Tomcat
server, to do this follow these steps:
- Installing
the Tomcat server service
a. Download
the Tomcat service installer from the Tomcat official page http://tomcat.apache.org/ , we recommend
to use the version Tomcat 7 or Tomcat 8.

IMPORTANT: Please be sure that you download the Windows
Service Installer and not a compressed package from the selected Tomcat version
that you will use.

b. Install
the Tomcat service, please take a note of the port numbers that you set in the
configuration options during the installation process, these are the port
numbers that the Tomcat server will use once its service starts.

c. Once
the installation completes, execute the Tomcat service, if everything its
correct you should see the Tomcat service systray icon in your taskbar(The icon
must show a green arrow indicating that the service is running).

- Export
your WebClient application to a WAR file
a. In Eclipse, make right-click over your web project and then go to Export -> WAR file

b. In
the Export window, select the destination folder in which the WAR file will be
created, also check that your web project is selected

c. Click
on the “Finish” button and wait until the export process is completed, check
the destination folder to see that the WAR file was created


- Publish
your WAR file
a. Stop
the Tomcat service by making right-click over the systray icon in the taskbar
and selecting the option “Stop service”.

b. Copy
your WAR file and paste it inside the webapps
folder that is located in the installation folder from your Tomcat version
(example C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps)

c.Starts
the Tomcat service by making right-click over the systray icon in the taskbar
and selecting the option “Start service”, once the service is started a new
folder with the same name that your WAR file must be automatically created
inside the webapps folder.


d. Test
your application, use the same port number that the one you set on the
configuration window during the installation process for the Tomcat service.

Related Articles
CM WebClient File Upload Setup
File Upload This guide will show you how to upload files to your Web Server from your WebClient application. 1. Import the attached zip Java Project into your Eclipse Workspace. 2. Right click your Java Project, and select Properties. Under “Java ...
Calling WebClient from an External Application
This section demonstrates how to pass a parameter to WebClient function. The following example is based on wxpcourse60 model calling the function WXwF, which prompts the user to insert an item record. The first step is to create a URL which calls the ...
iSeries Spool File and Operations Menu with WebClient
Object Location All Plex objects are scoped under the “iSeries Items” entity. If any changes need to be made, then these objects will need to be inherited from. Non-Plex Files To run these processes fully, you will need 3 files (Download the ZIP with ...
Upgrading CM WebClient v1.6.x to CM WebClient v1.8.x
Download com.adcaustin.webclient.WebClientPlugin-1.8.jar. Note: The new WebClient plugin version "1.8.7" requires Eclipse from 2020-03 (4.15.0) onwards. Close your eclipse application. Delete the old version of your WebClient Plugin Builder from ...
Web Embedded File
This control template will allow you to display files within your WebClient page. Primarily this is used to display images dynamically on your page. 1) Copy WebEmbeddedFile.ctrl into your Custom Templates folder so that it can be referenced by ...