<a
                  href=http://www.t-plan.com>T-Plan Home</a>
T-Plan Robot Enterprise Robot Home
20 February 2017

T-Plan Robot Automation Portal

Contents
1. Overview
2. Installation
3. Upgrade


1. Overview


The T-Plan Robot Automation Portal (RAP) is a web application allowing to monitor and manage T-Plan Robot Enterprise driven automation over the TCP/IP network (internet and/or intranet).

RAP Scheme
RAP features:


Specification:
Requirements on the RAP host:
Requirements on the DB host:

Requirements on the Robot machines:


2. Installation


These steps describe installation of RAP and MySQL on a single Windows 10 x64 host. For a different environment adjust accordingly.

MySQL Installation
        http://dev.mysql.com/downloads/windows/installer/5.7.html
Post-install steps:
IMPORTANT: As the RAP schema stores zero TIMESTAMP values the MySQL instance must have the ALLOW_INVALID_DATES mode enabled. This is the default setting for Windows. On other systems such as Ubuntu Linux it must be configured manually or the RAP fails to create the DB correctly. The workaround is to delete all tables, enable the mode and restart the RAP app (the app server domain).

GlassFish 4.0 Installation

 
http://download.java.net/glassfish/4.0/release/glassfish-4.0-windows.exe
NOTE: Do NOT download release 4.1.1 because it contains a bug which makes any attempt to create the JDBC connection pool to fail with IllegalStateException. The workaround is to create the pool through the "asadmin" CLI utility.

Post-install steps:
https://dev.mysql.com/downloads/connector/j/
     asadmin stop-domain domain1

  asadmin start-domain domain1
http://localhost:4848
NOTE: The admin console is just a front end working on top of the "asadmin" tool. Any operation described below can be alternatively performed through the CLI.
asadmin stop-domain domain1

asadmin start-domain domain1
NOTE: The app can be also deployed from CLI using the "asadmin" command. See https://glassfish.java.net/docs/4.0/quick-start-guide.pdf for details.
Optional Steps:

Troubleshooting:
 - MySQL is either down or the authentication failed. Check if it's running in the system Services. To verify the user and password go to the connection pool in the GlassFish admin console and select the "ping" button. It must succeed.
- This means that RAP can connect to MySQL but it doesn't know which DB to work with. The URL property in the connection pool properties is likely to be wrong.

3. Upgrade


RAP upgrade steps:
http://localhost:4848