This article gives an idea how Plex admin can configure the Plex dispatcher to automatically start when Tomcat starts so admin does not need to start Plex dispatcher manually after Tomcat starts.
CA Plex 7.21, Windows OS
The Plex admin can modify the Tomcat startup.bat file and then start the Tomcat from the startup.bat file, not from Windows Services.
For example
- Goto Tomcat installation (\bin).
- Open startup.bat file, and add the following line of code at the end of the bat file.
----------------------------
REM The below code will hit the URL, this will start the Java dispatcher on default port provided in Java property file.
REM Change the server:port as per your environment.
REM Wait for 3 minutes until Tomcat starts fully
Timeout 180 > Nul
curl "http://localhost:8080/ObJava/Dispatcher.html?Portnum=&name=Submit"
---------------------------
Start the Tomcat server using startup.bat, this will start the Plex Java dispatcher on Port 2000 as defined in the web.xml file
<init-param>
<param-name>Port</param-name>
<param-value>2000</param-value>
</init-param>