Applications built with Wagby can be operated on-premises or in the cloud.
To install Wagby on its own server, follow the procedure below.
The expanded wagbyapp folder contains a web application server named Tomcat.Select one of the following methods.
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.
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.
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.
To register/delete a service, open "Command Prompt (administrator)" and execute install_service.bat, remove_service.bat from a command prompt.
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.
In Java 9, the module inside Java was reorganized.Wagby will run on Java 9 from R7.12.1 and later releases.Wagby before it can not be operated with Java 9.(It will be an error to start up.)
Furthermore, when developing and operating in Java 9 using Wagby after R7.12.1, the developer makes the following modificationmanuallyYou need to do.
Please add the following to wagbydesigner/bin/setenv.bat.
set CATALINA_OPTS=%CATALINA_OPTS% "--add-modules" "java.xml.bind,java.activation,java.xml.ws.annotation"
Please add the following to wagbydesigner/bin/setenv.sh.
CATALINA_OPTS=$CATALINA_OPTS\ --add-modules\ java.xml.bind,java.activation,java.xml.ws.annotation
If you run WagbyDesigner in Java 9, you can not specify version 1.8 or earlier for Java version.
Specify "9" for "Environment> Server> Build> Java Version".Please note that it is not 1.9.
When running Tomcat's console or command line tool (import_db.bat, etc.), the following warning message is displayed.
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/C:/Wagby-7.12.1/wagbyapp/webapps/wagby/WEB-INF/lib/spring-core.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
This is a warning message for warning that you are using features deprecated by Java 9 in Wagby.There is no hindrance to the operation, so please disregard it.
Please also install the JDK on the server (production machine).Usage with JRE is not supported.
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.