Live Forms v5.1 is no longer supported. Click here for information about upgrading to our latest GA Release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 53 Next »

 provides a bundle that includes Tomcat version 7.0.35 and has the 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 , we strongly recommend the bundle.

On This Page:

Download the Tomcat Bundle

 

  1. Download the Tomcat bundle from the frevvo web site. You will need to login with your  account. 
  2. Ensure that you do not have another server running on port 8082.
  3. The  tomcat bundle can run either with a JRE or JDK
    1. For a JRE, make sure that the JRE_HOME environment variable is set to the installation directory of your JRE, for example, C:\Program Files\Java\jre7 and that JAVA_HOME is not set
    2. For a JDK, make sure that the JAVA_HOME environment variable is set to the installation directory of your JDK, for example, C:\Program Files\Java\jdk1.7.0_09
  4. Unpack the frevvo.zip file to the location of your choice: e.g. c:\.  A frevvo subfolder will be created and the bundle files will be extracted and placed in this directory. We'll refer to this directory as <frevvo-home>.




  5. Start : Double click <frevvo-home>\Start frevvo. This starts tomcat on port 8082 with  pre-configured and displays the tomcat log in a command prompt.
  6. In your browser, go to http://<server-name>:8082/frevvo/web.
  7. On the page that is displayed, copy and paste the license that you generated and click Submit.

Setup for Forms and Workflows

  1. Login to  as user "admin", password "admin". Change the admin password if you want.
  2. Create a new tenant by clicking the "Manage Tenants" link on the page that is displayed. 
  3. There is a single tenant named d. This is the default tenant.
  4. Click the  icon to create a new tenant, fill in the form and submit it. The new tenant will be created.
  5. Click the  icon, to administer the newly created tenant.
  6. On the page that is displayed, click the "Manage Roles" link.
  7. There is a single role (frevvo.Designer).
  8. Click the  icon, fill in the form and submit it to create new roles e.g. Employee or Manager.
  9. Click the 'Back to Manage Tenant' link.
  10. On the page that is displayed, click the "Manage Users" link.
  11. There is a single user (the administrative user you defined when you created the tenant). Note that you will have to click the link to display All users. By default, only users beginning with the letter A are displayed.
  12. 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.
  13. The new user will be created. Create as many users and assign them roles as needed.
  14. Logout of the admin account and login as one of the newly created users with the frevvo.Designer role and start building forms and workflows.
  15. Note that you must login using the syntax: userid@tenant for the user name. For example, if the newly created tenant was named example.com then all users in that tenant must login using the ID: user@example.com. Type in your password as before.
  16.  is installed and ready for use.

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

Installing as Windows Service

 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 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 service. You may have to close the Windows Services panel and reopen it to see the change.

Follow these steps to install  as a Windows Service:

  1. Add JAVA_HOME as a system Environment Variable and PATH Environment Variable with the appropriate values. Here are the steps:
    1. Right-click the My Computer icon on your desktop and select 'Properties'.
    2. Click the 'Advanced' tab. For Windows 7, it will be an Advanced system settings icon..
    3. Click the 'Environment Variables' button.
    4. Under 'System Variables', click 'New'.
    5. Enter the variable name as JAVA_HOME.
    6. Set the variable value for JAVA_HOME to the installation directory of your JDK, for example, c:\Program Files\Java\jdk1.7.0_09. Click 'OK'.

g. Locate the PATH Environment Variable. Click the Edit button and append %JAVA_HOME%\bin to the end of path.

h. Click 'OK'.

i   Click 'Apply' and then 'OK' to exit.

2. Navigate to the directory where the batch files are located: usually <frevvo-home>. Execute the Install-Service batch file by double clicking on it.

3. Double-click the Configure-Service batch file. You can change the name of the service from frevvoforms to whatever you wish on the configuration screen that displays. EX: Frevvo Live Forms

4. Right click the My Computer icon. Select Manage, Services and Applications, Services. The service should be listed.

Install as a service on Windows (x64)

If you want to install  as a service on a x64 installation of Windows you will need to perform a few additional steps.  

  1. Right click on the Command Prompt on the Windows Start Menu and select Run as Administrator.

   2. Navigate to the directory where the batch files are located: usually <frevvo-home>.

   3. Execute the Install-Service batch file by typing it into the command prompt window. The  service will be called frevvoforms but the display name can be changed when you run the Configure-Service Batch file. 

   4. Double click the Configure-Service batch file (contents shown) in <frevvo-home>\tomcat\bin or execute the command below manually.   

tomcat7w.exe //ES//frevvoForms - Replace frevvoForms with the right service name, if you have installed it using a different one.

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

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

7. 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  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:

[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.

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 7.0.35 binaries for the three architectures inside <frevvo-home>/tomcat/bin folders:  <frevvo-home>\tomcat\bin\x64,  <frevvo-home>\tomcat\bin\i64 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?

[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 tomcat7.exe, tomcat7w.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/i64 (for Itanium 64-bit architectures).

frevvo.war

The  application frevvo.war now runs directly from the war file. This means that frevvo.war no longer expands its contents into <frevvo-home>\tomcat\temp or <frevvo-home>\tomcat\webapps\frevvo. Tomcat still does create a temp folder, for example <frevvo-home>\tomcat\temp\0-frevvo (the actual folder depends on where java.io.tmpdir is pointing to) to store form/flow cached html and other temporary files.

 

  • No labels