TimesTen Installation
79
Web server configuration
The TimesTen daemon contains an embedded web server, that is used
for the Cache Administrator if the Cache Connect to Oracle option is
installed. If you select to enable the web server at install time, TimesTen
enables it by setting the
-webserver
option in the
ttendaemon.options
file.
This file is in the startup directory of the daemon:
On UNIX, if installed as
root
:
/var/TimesTen/
TTinstance
/
if installed by a non-root user:
install_dir
/info
On Windows:
install_dir
\srv\info
If you have not installed the web server and decide to enable it at a later
time, you can do so by:
1.
Shutting down the TimesTen daemon.
2.
Adding a separate line to the
ttendaemon.options
file that contains the
option
-webserver
.
3.
Starting the TimesTen daemon.
For more details, see the chapter
Chapter 3, “Working with the Oracle
TimesTen Data Manager Daemon
in the
Oracle TimesTen In-Memory
Database Operations Guide
.
Various options for the web server are stored in the
webserver.config
file, also in the daemon startup directory. The TimesTen installation
scripts initially set these options. The options should only be changed at
the request of TimesTen Customer Support.
The options in
webserver.config
file are:
PORT
— The port on which the web server listens. If you change this,
any scripts which start the Cache Administrator, or any links you have
saved will have to be changed.
WEBROOT
— The root directory of web files.
DOCROOT
— A subdirectory of
WEBROOT
where the HTML files are
located. The path should begin and end with a '/' on all platforms. The
default is
/docs/
.
DOCROOT
is prepended to the path, so if you supply a
URL, the webserver will look for a file in the indicated path.