Points to Consider When Running a Windows Service
The following items are points that should be considered when running an application as a Windows service:
• The environment that supports a running service is different than the environment in which a service was launched from a console window.
• A service running under the default system account is not able to access the shared network resources. You must modify the permissions to allow access to the shared network resources.
• The server launchers require a formally installed JRE in order to run. Formally installed means the JRE was installed with the JRE installer; which updates the Windows registry. If you copy a JDK or JRE folder from a different source, the JavaSoft (or IBM) registry keys will not exist and the service launcher will not be able to locate the JVM.