Versions Compared

Key

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

On This Page:

Table of Contents
maxLevel1

Windows Installation

Frevvoproduct
 provides a bundle that includes Tomcat version 8.5.16 and has the
Frevvoproduct
web application, the database connector web application and the Google connector web application pre-deployed and pre-configured. The bundle works on Windows, Linux and Mac systems without any further configuration. If you are evaluating 
Frevvoproduct
, we strongly recommend the bundle.

  1. Follow the Windows installation instructions in the Quick Start Installation Guide: Live Forms™ in-house.
  2. You may configure 
    Frevvoproduct
    as a Windows Service. Follow the instructions below for the configuration details
  3. Continue to Database Setup for more configuration information.

Info

Although we recommend Tomcat 8, we realize that you may have a customized tomcat environment and just want to drop the frevvo.war into it. If it is a tomcat 6 installation, here are some tips :

  1. Frevvoproduct
    requires JDBC4. Tomcat 6 ships with DBCP 1.3, which is compatible with JDBC3 not 4. Update the tomcat-dbcp.jar file in your installation with the tomcat 8 version.
  2. The frevvo.war file requires a javax.transaction implementation jar in the servlet container. This file is not bundled with the war. For Tomcat installs, you can copy the jta-1.1.jar, included in the Tomcat bundle, into your tomcat/lib folder. Full J2EE containers already have the jta jar in the classpath.

Next Steps

Your Live Forms server installation is complete. You are now ready to create your firsts tenant, users, forms and workflows. See the documentation for creating a tenant and users.

Setup for Forms and Workflows

  1. Login to
    Frevvoproduct
     as the tenant admin.
  2. On the page that is displayed, click the "Manage Roles" link.
  3. There are four default roles listed, frevvo.Designer, frevvo.Editor, frevvo.Publisher and frevvo.ReadOnly.
  4. Click the  icon, fill in the form and submit it to create new roles. Minimally create Employee, Manager and HR roles, if you are planning on trying some of the
    Frevvoproduct
     Tutorials.
  5. Click the 'Back to Manage Tenant" link.
  6. On the page that is displayed, click the "Manage Users" link.
  7. There is a single user (the administrative user you defined when you created the tenant). By default, only users beginning with the letter A are displayed. Note that you will have to click the link to display All users.
  8. To add more users, click the  icon, fill in the form and submit it. Assign roles to the user as desired. Note that you must assign the frevvo.Designer role to any users who wish to design forms.
  9. Create as many users and assign them roles as needed. If you want to try the Employee On Boarding Tutorial, you will need a designer user who can create forms/flows, a user that does not have an assigned role, a user with the Manager Role and a user with the role of HR.
  10. Logout of the tenant admin account.
  11. Login as one of the newly created users with the frevvo.Designer role by filling in the User, Password and Tenant fields. Start building forms and workflows immediately.

You can find examples on creating your own workflows on the Tutorials page.

Installing Live Forms as a Windows Service

To install

Frevvoproduct
as a Windows service on a 32 or 64 bit Windows, 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)

Frevvoproduct
 can be installed and started/stopped as a Windows Service. Batch files provided in the <frevvo-home> directory can install, configure and monitor the 
Frevvoproduct
 service: 

The batch files provided are:

  • Install-Service.bat file - Double click this file to install the
    Frevvoproduct
    service.
  • Configure-Service.bat - Double-click this file to edit the Shutdown/Startup mode and set both of them to Java instead of jvm if installing on a Windows x64 system. 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
    Frevvoproduct
    service. You may have to close the Windows Services panel and reopen it to see the change.

Frevvoproduct
 will run as a Windows Service whether you are using the Development Kit (JDK) or Java Runtime Environment (JRE). Refer to JDK or JRE Prerequisite org for the details.

Follow these steps to install

Frevvoproduct
 as a Windows Service:

  1. Navigate to the directory where the batch files are located: usually <frevvo-home>. Execute the Install-Service batch file by double clicking on 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
    Frevvoproduct
    service should be listed. Start the Service.

Warning

Make sure that the name of the directory where you installed

Frevvoproduct
does not have any spaces in it.

Additional Step for Windows (64 bit)

If you want to install

Frevvoproduct
 as a service on a x64 installation of Windows , you will need to perform these additional steps.  

Make sure you have completed step 1 to configure the JDK Home environment variable with the correct path as discussed above.

  1. Navigate to the directory where the batch files are located: i.e.<frevvo-home>\frevvo. 
  2. Right click the Install-Service batch file and select Run As Administrator. Execute the batch file. The
    Frevvoproduct
     service will be called frevvoforms but the display name can be changed when you run the Configure-Service Batch file.



  3. Right click the Configure-Service batch file and select Run as Administrator. Execute the file.

  4. A properties panel will display. Click on the Startup tab. Modify the service properties to change the Startup mode from jvm to Java.



  5. Click on the Shutdown tab. Modify the service properties to change the Shutdown mode from jvm to Java. Click 'OK'.

  6. Now try to start the service. Check the frevvoforms-stderr.YYYY-MM-DD,log,  frevvoforms-stdout.YYYY-MM-DD.log, common-daemon.YYYY-MM-DD.log files located in <frevvo-home>/tomcat/logs and the Windows System Event log if the service does not start. See below for some troubleshooting tips.

Live Forms fails to install/start as windows service

Running c:\frevvo\Install Service fails to install the 

Frevvoproduct
service and fails to run as a windows service. Make sure the %JAVA_HOME%/bin is added to the system PATH Environment Variable.

If this fails to solve the problem even with setting of JAVA_HOME the tomcat service may not be able to find msvcr71.dll even though it is in the bin directory of your JDK or JRE installation, copy msvcr71.dll from the bin directory of your java installation the bin directory of your tomcat installation or to your C:\WINDOWS\System32 directory. You may see these errors in the windows service log file:

Code Block
[174 javajni.c] [error] The specified module could not be found. [986 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_07\jre\bin\server\jvm.dll [1260 prunsrv.c] [error] ServiceStart returned 1

If you are seeing the following error when stopping the service on an x64 install,  make sure the Startup/Shutdown mode was changed from jvm to java. See above for the details.

Code Block
Error 109: The pipe has been ended

 If you see the error message shown when starting the service on an x64 install,  make sure the Startup/Shutdown mode was changed from jvm to java. See above for the details.

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). We are now bundling the 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.

How do I know if I need to update the Windows binaries in my install? Are you seeing these errors?

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.

If so, the binaries in <frevvo-home>\tomcat\bin may need to be replaced. Here are the steps:

  • 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) or the ones found in <frevvo-home>/tomcat/bin/x86 (for 32-bit architectures).