Versions Compared

Key

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

...

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.  

...


7. Now try to start and stop the service and remember to check the service logs both in frevvo/tomcat/logs/jakarta_service_* and in the Windows System Events log for any additional details.

 

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

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

 

Windows Binaries

Previous versions of the Windows binaries (executables and dlls) found in the the <frevvo-home>/tomcat/bin folder are were built for x86 (32-bit) architectures and will not work on a x64 architecture (64-bits). We are now bundling the tomcat 7 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:?

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 to replace the binaries:

  • Replace tomcat6tomcat7.exe, tomcat6wtomcat7w.exe and tcnative-1.dll found in frevvo/tomcat/bin with the ones found in frevvo/tomcat/bin/x64 (for 64-bit architectures) or the ones found in frevvo/tomcat/bin/i64 (for Itanium 64-bit architectures). We

    Here are now bundling the binaries for the three architectures inside frevvo/tomcat/bin folders. links to the tomcat 6 binaries
  •  

  • If you are seeing the following error when stopping the service
Code Block
Error 109: The pipe has been ended

 

 

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 htmle and other temporary files.