Support > Setting of the production machine (server) (R7)
ja | en

Applications built with Wagby can be operated on-premises or in the cloud.

To install Wagby on its own server, follow the procedure below.

  1. We will do "full build" at the development machine.
  2. Compress wagbyapp prepared in the folder where Wagby is installed with a zip format file.
  3. Copy wagbyapp.zip to your own server (production machine) and deploy it.
Figure 1 Setting for own server

The expanded wagbyapp folder contains a web application server named Tomcat.Select one of the following methods.

Use Tomcat alone.[standard]
It is the easiest way.
Operate in conjunction with Apache Web Server on Linux or Windows OS.
It is effective when integrating multiple applications. By linking multiple Tomcat to one Apache Web Server, it is possible to integrate the URL seen by users.
Operate in cooperation with Microsoft IIS on Windows OS.
It has the same effect as the above Apache Web Server.

Specific procedure

The setting of the server requires expert knowledge.Please use the support service by Wagby reseller.

Please use cloud service by Wagby reseller.

I will explain how to register Tomcat service of Windows.Inquiries regarding this explanation are not included in the standard support.Please consult with the partner described in the "Service menu" above.

1. Copy files

Before registering the service, copy files corresponding to each OS in the following procedure.

Expand the apache-tomcat-7.0.XX-YYY.zip provided in the $ (DEVHOME) \ misc folder.(XX, YYY is the version number.Please read it properly.)

The target file varies depending on your Windows.

  • Apache-tomcat-7.0.XX-x64.zip for 64 bit Windows
  • Apache-tomcat-7.0.XX-x86.zip for 32 bit Windows

In this file there are three files in the apache-tomcat-7.0.XX \ bin folder, so copy it to the $ (DEVHOME) \ wagbyapp \ bin folder.

If you want to copy the file automatically at build time, copy it to the $ (DEVHOME) \ customize \ tomact \ bin folder.If the type of OS of the development server and the operation server are the same, there is no problem with this method.
Since this file may change depending on the version of Wagby, files placed in the customize \ tomcat \ bin folder should be replaced appropriately when upgrading Wagby.

2. Register service

To register / delete a service, open "Command Prompt (administrator)" and execute install_service.bat, remove_service.bat from a command prompt.

3. Auto start

To start Tomcat automatically at OS startup, open the service properties and change the startup type from "manual" to "automatic".

Registering SSL server certificate is Tomcat operation used by Wagby. Please refer to the manual attached to Tomcat.

Inquiries regarding this explanation are not included in the standard support.Please consult with the partner described in the "Service menu" above.

Types of Java

Please also install the JDK on the server (production machine).Usage with JRE is not supported.

Current directory at startup

When starting up, move the current to the directory containing the script and then execute it.Here is an example of operation in the Linux OS when the installation directory is wagby7.

cd /home/wagby7/wagbyapp/bin; ./startup.sh

This also applies to WagbyDesigner.

cd /home/wagby7/wagbydesigner/bin; ./startup.sh

Please also execute the termination processing (shutdown script) after moving the current in the same way.