Open Anzo uses properties files to configuring the server, and the services the server uses. Examples of these files can be found within the conf directory of an Open Anzo installation.
Database Properties
The database connection properties are described in Configuration The Database. Some other database properties that one might set are:
- org.openanzo.repository.database.clear=false
This setting tells the server to clear out all the database tables on startup.
- org.openanzo.repository.database.nodeCacheSize=25000
This setting sets the size of the node caches within the server. If your server has a lot of physical memory, setting this value higher can increase lookup speeds, but be sure to increase you java heap size.
Server Properties
There are a variety of different properties that affect the server.
- org.openanzo.repository.webserver.host = localhost
This property sets what network interface the server will listen on. Only specify to limit listener to one adapter.
- org.openanzo.repository.webserver.port = 8080
This property set what network port the server will listen on.
- org.openanzo.repository.webserver.timeout = 360000
This property will set the maximum time a client request can take before the request times out.
- org.openanzo.repository.initFile= resource:/org/openanzo/model/initializeNew.nt
This property points to an RDF file that is used to initialize a new server with ACLs, roles, users, etc..
- org.openanzo.repository.reset.enabled=true
This property sets whether or not the reset operation should be allowed.
- org.openanzo.repository.reset.hard=false
This property sets whether or not database tables are dropped and recreated on a reset call.
- org.openanzo.docroot = /tmp/web
This property defines what files are exposed to the webserver under srv directory. ie http://localhost:8080/srv
Notification Server
The notification server is an embedded ActiveMQ server that provides realtime updates to clients.
- org.openanzo.repository.notification.broker.enabled=true
This property sets whether or not to embed an ActiveMQ server within the server.
- org.openanzo.repository.notification.broker.host = tcp://localhost
This property sets the host connection the notification server will use.
- org.openanzo.repository.notification.broker.port = 61616
This property set the port the notification server will use.
Update Publisher
These properties relate to the login information that is used to publish updates to the JMS cloud to reach other users.
- org.openanzo.repository.notification.publisher.user = sysadmin
This property defines the userID for the publishing agent
- org.openanzo.repository.notification.publisher.password = 123
This property defines the password for the publishing agent
- org.openanzo.repository.notification.publisher.host = tcp://localhost
This property defines the hostname for the notification server.
- org.openanzo.repository.notification.publisher.port = 61616
This property defines the port that the notification server is using.
Text Indexing
These properties relate the the optional text indexing engine that Open Anzo provides.
- org.openanzo.indexer.enabled = false
This property defines whether or not the indexing service is enabled.
- org.openanzo.indexer.lucene.indexLocation = /tmp/openanzo/index.lucene
This property defines the path to the directory where you want the index to be stored on disk.
- org.openanzo.indexer.indexClear = true
This property tells the indexer to clear all of its data on startup.
- org.openanzo.indexer.rebuildIndex = false
This property tells the indexer to rebuild its index on startup.
Atom Endpoint
Properties used by the Anzo Atom endpoint
- org.openanzo.atom.publicuser = webuser
The property defines the default user id used during unauthenticated Atom requests.
- org.openanzo.atom.publicpassword = webuser
The property defines the default password used during unauthenticated Atom requests.
- org.openanzo.atom.binary.location = /tmp/store
The property defines the path to the directory where you want binary Atom data stored.


