Kbase 19811: SonicMQ:Cloudscape - Setting System-wide Properties
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/14/2000 |
|
SUMMARY:
Progress SonicMQ ships with Cloudscape, a 100% pure Java SQL database
management system, embedded into the software. A Cloudscape database
exists within a system and consists of a system directory, zero or more databases, and a system-wide configuration.
The system directory contains any persistent system-wide configuration
parameters, or properties, specific to that system.
EXPLANATION:
You can set system-wide properties for Cloudscape in two ways:
- Set the properties programmatically, which persist only for the
duration of the Java Virtual Machine (JVM) of the application
that set the properties.
- Set the properties in a cloudscape.properties file. The
property will persist until the value is changed, the file is
removed from the system, or the database is booted outside of
that system.
The properties set in the cloudscape.properties file are used
as database connection URL attributes. You can set up
persistent system-wide properties in the properties file which
is located in the directory specified by the
cloudscape.system.home property. There is just one
cloudscape.properties file per system, not per database,
and it is located in the system directory.
An example of some system-wide properties:
cloudscape.infolog.append=true
cloudscape.storage.pageSize=8192
cloudscape.storage.pageReservedSpace=60
cloudscape.error.stream.file=error.txt
Cloudscape does not:
- Provide the cloudscape.properties file.
- Automatically create the file.
- Automatically write any properties or values to the file.
You must create, write, and edit this file manually.
You cannot verify system properties that are set in the cloudscape.properties file. The only way to accomplish this is by setting the system-wide properties programmatically (the system wide properties exist only as long as the session lasts).