NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
7 -

This page includes the following topics:

Table of Contents
minLevel2

Configuring Tomcat

...

Servers and MySQL Server to Run as Services

...

Info
titleContinual services

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 7.0 GA deployment, there are at least three servers, and if UPT is installed, four servers:

  • Tomcat 7 (for the NBIA application)
  • MySQL 5.5 - Only use this version, as newer versions have not been tested with NBIA.
  • CTP (Clinical Trial Processor)

Running Tomcat as a Service

Tip
titleTomcat with default NBIA

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
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent: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.html 

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

...

7.1 GA
7 - Configuring Tomcat Servers and MySQL Server to Run as Services 7.1 GA

-Djava.security.auth.login.config==c:/apps/nbia/Tomcat7.68/conf/jaas.config indicates where the files are.

Apache Tomcat 7.0 New PropertiesImage Removed

Info
titleImportant!

You need administrator access to complete this task.

Running MySQL as a Service

Info
titleServer installed?

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
Refer to https://dev.mysql.com/doc/refman/5.5/en/automatic-start.html

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

...

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

...