...
- Follow the Windows installation instructions in the Quick Start Installation Guide: Live Forms™ frevvo™ in-house.
- You may configure as a Windows Service. Follow the instructions below for the configuration details
- Continue to Database Setup for more configuration information.
Next Steps
Your Live Forms frevvo server installation is complete. You are now ready to create your first tenant, users, forms and workflows. See the documentation for creating a tenant and users.
...
You can find examples on creating your own workflows on the Tutorials page.
Installing
...
frevvo as a Windows Service
To frevvo recommends that you install as a Windows service only on a 32 or 64 bit Windows , follow system. Follow the instructions listed here. If your operating system is 64 bit, there is an additional step that must be performed. Windows (32/64 bit)
can be installed and started/stopped as a Windows Service. Batch files provided in the <frevvo-home> directory can install, configure and monitor the service.:
The batch files provided are:
- Install-Service.bat file - Double - click this file to install the service.
- Configure-Service.bat - Double-click this file to edit the Shutdown/Startup mode. If installing on a Windows x64 system, set both to Java instead of jvm. Change change the Startup type to Automatic or change the name of the service if desired. See below.
- Monitor-Service.bat - Double-click this file to monitor the bundle service.
- Remove-Service.bat - removes the service. You may have to close the Windows Services panel and reopen it to see the change.
will run as a Windows Service when whether you are using the Java Development the Development Kit (JDK) or Java Runtime Environment (JRE).
Follow these steps to install as a Windows Service:
Warning |
---|
Make sure that the name of the directory where you installed does not have any spaces in it. |
- Verify that these steps have been performed to add .
- JAVA_HOME as a system Environment Variable with the appropriate path to your JDK or JRE installation directory.
- Copy the x64 Windows Binaries, tomcat9.exe, tomcat9w.exe and tcnative-1.dll from the <frevvo-home>\tomcat\bin\x64 directory. Replace the existing binaries in the <frevvo-home>/tomcat/bin folder with the binaries from the <frevvo-home>\tomcat\bin\x64 directory.
- Navigate to the directory where the batch files are located: usually <frevvo-home>. Double-Right click the Install-Service batch file to execute it.and select Run as Administrator. The Install-Service batch file will put the frevvoforms service in the Services list in manual startup mode. The service will be called frevvoforms but the display name can be changed when you run the Configure-Service Batch file.
- Right click the Configure-Service batch file and select Run as Administrator. Execute the batch file.
- Change the Display Name of the frevvoforms service, if desired, and change the Startup Type to Automatic
- Click Apply and then ok to save your changes.
- Find the Services list for your operating system. The service should be listed. Start the ServiceVerify that the newly installed frevvo service is listed.
Warning |
---|
Make sure that the name of the directory where you installed does not have any spaces in it. |
Additional Step for Windows (64 bit)
If you want to install as a service on a x64 installation of Windows , you will need to perform one additional steps.
Make sure you have completed step 1 to configure the JDK Home environment variable with the correct path as discussed above.
Verify that these steps have been performed to add JAVA_HOME as a system Environment Variable with the path to your JDK installation directory.
Copy the x64 Windows Binaries
Previous versions of the Windows binaries (executables and dlls) found in the <frevvo-home>/tomcat/bin folder were built for x86 (32-bit) architectures and will not work on a x64 architecture (64-bits). bundles tomcat version 8 binaries for the two architectures inside <frevvo-home>/tomcat/bin folders: <frevvo-home>\tomcat\bin\x64 and <frevvo-home>\tomcat\bin\x86. If you see these errors, the binaries in <frevvo-home>\tomcat\bin may need to be replaced.Code Block [2011-09-13 11:29:51] [info] Commons Daemon procrun (1.0.2.0) started [2011-09-13 11:29:51] [info] Running Service... [2011-09-13 11:29:51] [info] Starting service... [2011-09-13 11:29:51] [206 javajni.c] [error] %1 is not a valid Win32 application. [2011-09-13 11:29:51] [985 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_25\jre\bin\server\jvm.dll [2011-09-13 11:29:51] [1280 prunsrv.c] [error] ServiceStart returned 1 [2011-09-13 11:29:51] [info] Run service finished. [2011-09-13 11:29:51] [info] Commons Daemon procrun finished.
- Replace tomcat8.exe, tomcat8w.exe and tcnative-1.dll found in <frevvo-home>/tomcat/bin with the ones found in <frevvo-home>/tomcat/bin/x64 (for 64-bit architectures)
- Navigate to the directory where the batch files are located: i.e.<frevvo-home>\frevvo.
- Right click the Install-Service batch file and select Run As Administrator. Execute the batch file. The service will be called frevvoforms but the display name can be changed when you run the Configure-Service Batch file.
...
- Double click on the Service and go to the Log On tab. Notice that Log on as is set to This Account: Local Service. This is a Tomcat default security setting.
You must make one of the following changes:- To continue running as "Local Service", you have two choices.
- Give "full control" to the "Local Service" account for the frevvo installation folder (e.g. using File Explorer on Windows 10: properties->Security -> Advanced -> Add -> Select a Principal -> Enter "Local Service"), or
Use this command to give specific access to only the Administrators, SYSTEM, and LocalService (replace the frevvo-install-directory placeholder with the actual folder path):
Code Block "%SystemRoot%\system32\icacls.exe" "<frevvo-Install-Directory>" /inheritance:r /grant *S-1-5-19:(OI)(CI)(F) /grant *S-1-5-32-544:(OI)(CI)(F) /grant *S-1-5-18(OI)(CI)(F)
Or, switch the Log on as setting to "Local System account"
Info The windows documentation describes the security implications as "The LocalSystem account has broad permissions, including the ability to write to the event log. Use this account with caution, because it might increase your risk of attacks from malicious software. For other tasks, consider using the LocalService account, which acts as a non-privileged user on the local computer and presents anonymous credentials to any remote server".
- Start the Service.
- To continue running as "Local Service", you have two choices.
frevvo fails to install/start as windows service
If running c:\frevvo\Install Service fails to install the service and fails to run as a windows service, make sure the %JAVA_HOME%/bin is added to the system PATH Environment Variable.
...
Code Block |
---|
[174 javajni.c] [error] The specified module could not be found. [986 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk11.0.2\bin\server\jvm.dll [1260 prunsrv.c] [error] ServiceStart returned 1 |
...