...
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 these one additional steps.
Make sure you have completed step 1 to configure the JDK Home environment variable with the correct path as discussed above.
...
Right click the Configure-Service batch file and select Run as Administrator. Execute the file.
A properties panel will display. Click on the Startup tab. Modify the service properties to change the Startup mode from jvm to Java.
...
...
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 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\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.
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
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.
...
- 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.
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:
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 |