Server Configuration

The following configuration parameters are available for the data server.

  • For example,
    entry key="server.dir" value="/applibase/data" 

Starting and Shutting Down Databases With the Server

It is often desirable to open some database and keep them open as long tas the server is running. Applications in the same JVM will take a performance hit if the database is started and shutdown each time they connect and disconnect.

  • The initial database to be started with the server is specified with the startup.database parameter. For example,
    entry key="startup.database" value="serverdb" 

  • Additional databases to be started with the serverare specified with the startup.databases.additional parameter. For example,
    entry key="startup.databases.additional" value="seconddb thirddb fourthdb" 

Starting the Server Without Login Prompt

You may wish to startup the server without needing to login each time. For such cases, use the following parameters to setup the user name and password to be used to open one or more databases.

Note This not a secure approach as it is easy for other users to get access to the admin or other password used to startup the server.

  • For example,
    entry key="startup.user" value="admin" 

  • For example,
    entry key="startup.password.file" value="stpasswd.txt" 

Parameters for Server Logs

The server logs are additional logs needed for server-specific log data, including remote access logging, server errors and other userful server data.

  • For example,
    entry key="serverlog.out" value="server.out" 

  • For example,
    entry key="serverlog.err" value="server.errs" 

  • For example,
    entry key="serverlog.stacktrace" value="server.errs" 

  • For example,
    entry key="server.audit.file" value="server_audit.log" 

User Working Directory
Use the following parameter to speficy the location of user working dirctories, which are used to store user command history and other information specific to users on teh server.

  • For specifying user directory location,
    entry key="server.users.dir" value="/applibase/users"

Jython Chache dir

  • For specifying jython cache directory,
    entry key="jython.cachedir" value="/applibase/jython"