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.

ClosedStart Servers Upon User Login

To start the servers automatically when Windows boots and a user account logs on:

  1. Create a shortcut to StartServers.bat in the computerʹs Startup group of the Windows Start menu.

  2. Enable the Run as administrator option in the Advanced Properties dialog box of the shortcut.

ClosedStart Servers Upon Windows Boot

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:

    1. In the Services Control Panel applet, open the Properties dialog box for the BCConnectorService service.

    2. On the Recovery tab, set the First failure option to Restart the Service.

    3. Click OK.

To start the servers automatically when Windows boots without a user account logged on:

  1. Configure AutoVue Server to run as a service.

    You do this by running the following in a command prompt window:

    jvueserverx -install

  2. 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=

  3. 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.

2023