Versions Compared

Key

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

...

 will run as a Windows Service whether when you are using 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>. 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 service should be listed. Start the Service.

...

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

...

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.

...