Start the Servers Automatically
The default method of starting the Jetty application server, the AutoVue servlet, and the Accruent Connector servlet is by manually running StartServers.bat whenever the AutoVue application server is restarted as described in Install Autovue. The servers can be started automatically using one of the following methods.
To start the servers automatically when Windows boots and a user account logs on:
-
Create a shortcut to StartServers.bat in the computerʹs Startup group of the Windows Start menu.
-
Enable the Run as administrator option in the Advanced Properties dialog box of the shortcut.
Note:
- StartServers.bat is not necessary in this configuration.
-
On Windows Server 2003, the BCConnectorService might stop when the user account logs off.
To work around this issue:
-
In the Services Control Panel applet, open the Properties dialog box for the BCConnectorService service.
-
On the Recovery tab, set the First failure option to Restart the Service.
-
Click OK.
To start the servers automatically when Windows boots without a user account logged on:
-
Configure AutoVue Server to run as a service. You do this by running the following in a command prompt window:
jvueserverx -install
-
Configure AutoVue Server to automatically start Jetty when it launches. You do this by opening the file jvueserver.properties in any text editor and uncommenting the lines that begin with the following:
#servlet-engine.classpath=
#servlet-engine.jre=
#servlet-engine.cmdline=
-
In Services control panel, set the Startup Type option of the BCConnectorService and the Oracle AutoVue Server services to Automatic.
If the services will not be used for an extended period, we recommend that they be set to Disabled.