Page History
...
Table of Contents | ||
---|---|---|
|
Configuring Tomcat 7 Servers and MySQL Server to Run as Services
Info | ||
---|---|---|
| ||
MySQL, the Tomcat server for NBIA, and the Tomcat server optionally installed for UPT must run continually as services. The instructions in this section cover all of these scenarios. For an NBIA 6.5 .3.1 deployment, there are at least three servers, and if UPT is installed, four servers:
|
Running Tomcat as a Service
Tip | ||
---|---|---|
| ||
The default NBIA installation runs Tomcat as a command line process using the user currently logged on. Therefore, when you log out as this user, Tomcat is no longer available for NBIA. For that reason, it is recommended that you configure your Tomcat servers to run as a Linux or Windows service. The instructions are contained in this section. |
...
Linux
See https://tomcat.apache.org/tomcat-7.0-doc/setup.html.
.Multiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include Windows\
To run an existing Tomcat command line installation see https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.htmlMultiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include Once Tomcat is installed, you will need to provide the Windows Service with the location of the jaas.conf in the Tomcat conf directory, . Do this is accomplished by running Configure Tomcat that , which was installed with the Windows Service under the Java tab. Here the example
Example:"
-Djava.security.auth.login.config==c:/apps/
nbia/Tomcat7.68/conf/jaas.config
" indicates where the files isare.
...
Info | ||
---|---|---|
| ||
You need administrator access to complete this task. |
Running MySQL as a Service
Info | ||
---|---|---|
| ||
It is assumed that your MySQL server was installed as a service. If it was not, follow these recommendations for installing this server as a service. |
To run MySQL as a service
Linux
SeeRefer to https://dev.mysql.com/doc/refman/5.5/en/automatic-start.html
.Multiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include - Windows
When installing MySQL server on Windows, choose the option to run MySQL as a Windows service . Or or refer to https://dev.mysql.com/doc/refman/5.5/en/windows-start-service.html for Starting
for starting MySQL as a Windows Service.Multiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include
...