Child pages
  • Terracotta Server Configuration

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The Terracotta integration bundled in the Servoy Application Server installation contains a script/batch file to start a Terracotta instance as a server. Before use, the file needs to be edited to point to the location where the Terracotta instance is installed:

  • Open the file start_terracotta_server.bat/start_terracotta_server.sh in the <servoy>/application_server/terracotta/ directory using a text editor.

...

  • In

...

  • the

...

  • file,

...

  • replace

...

  • the

...

  • text

...

  • "

...

  • [path_to_terracotta_install

...

  • ]

...

  • "

...

  • with

...

  • the

...

  • directory

...

  • in

...

  • which

...

  • the

...

  • Terracotta

...

  • instance

...

  • was

...

  • installed.

The hostname/IP address of the machine running the Terracotta Server is required in the following installation steps.

When a dedicated machine is used to run the Terracotta instance that will act as server, copy the above mentioned file as well as tc-config.xml from the machine where the Servoy Application Server is installed to a directory on the dedicated machine for the Terracotta server instance. Do replace the text "\[path_to_terracotta_install\]" in terracotta_server.bat/start_terracotta_server.sh accordingly.

Note
titleUsing a dedicated machine to run the Terracotta instance that acts as server

Wiki Markup
Note
titleRunning the Servoy Application Server and Terracotta server on the same machine

When using a Terracotta instance on a machine that also runs one of the Servoy Application Servers, make sure that the machine either gets less load on the Servoy Application Server by using a Load Balancer, or make sure that the machine is capable of handling a higher load.