Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing Live Forms as a Windows Service

To install as 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:

  1. Navigate to the directory where the batch files are located: usually <frevvo-home>. Double-click the Install-Service batch file to execute it.
  2. The Install-Service batch file will put the frevvoforms service in the Services list in manual startup mode.
  3. Find the Services list for your operating system. The service should be listed. Start the Service.

Image Removed

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.  

...

.

  1. 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.
  2.  
  3. 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>, tomcat9.exe, tomcat9w.exe and tcnative-1.dll from the <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.
  4. 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)
  5. Navigate to the directory directory. Replace the existing binaries in the <frevvo-home>/tomcat/bin folder with the binaries from the <frevvo-home>\tomcat\bin\x64 directory. 
  6. Navigate to the directory where the batch files are located: i.e.usually <frevvo-home>\frevvo.   Right click the Install-Service batch file and select Run As as Administrator. Execute the batch fileThe 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.
  7. Right click the Configure-Service batch file and select Run as Administrator. Execute the batch file.
    1. Change the Display Name of the frevvoforms service, if desired, and change the Startup Type to Automatic
    2. Click Apply and then ok to save your changes.
  8. Find the Services list for your operating system. The service should be listed. Start the Service.

Image Modified


Live Forms 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

 

...