•  
Main
About Hippo Site Toolkit 1
Technical Documentation
Expression Language
Other

Repository configuration

When building a site using the WebDAV based Hippo Repository a configuration file location needs to be configured for each WebdavRepositoryFilter. The file is configured in the filter's configurationFile init-param

The file contains both configuration for the WebDav repository connection for the Hippo Java Adapter as configuration for a JMS client for the Hippo Update Notifier.

Sample repository configuration

This is an example of configuration for a 'preview' filter

# # WebDav configuration for the Hippo Repository Java adapter. # These default values are correct for an 'out of the box' instance of Hippo Repository # hippo.client.username = siteuser hippo.client.password = siteuser # hippo.client.protocol = http hippo.client.host = localhost hippo.client.port = 60000 hippo.client.realm = default realm # hippo.client.namespace = default hippo.client.filespath = /files/default.preview # # Hippo Repository Update Notifier configuration. # These setting should match the settings in [repository-install-dir]/config/openjms.xml # # JNDI parameters for lookiing up the JMS connection java.naming.factory.initial = org.exolab.jms.jndi.InitialContextFactory java.naming.provider.url = tcp://localhost:3035 # Name of the JMS topic connection factory hippo.client.jms.factory = TCPTopicConnectionFactory # Name of the JMS topic hippo.client.jms.topic = repository # JMS username/password, only mandatory if securityEnabled has been set to true. hippo.client.jms.username = admin hippo.client.jms.password = openjms # This setting determines the time interval the update notifier will wait between reconnect attempts # if the JMS connection has been lost. hippo.client.jms.reconnect.delay = 1000
hippo.client.username
username to connect to Hippo Repository. Siteuser should have the rights to read files.
hippo.client.password
password to connect to Hippo Repository. The default password for 'siteuser' is 'siteuser'.
hippo.client.protocol
Default is 'http'
hippo.client.host
The hostname or ip address where Hippo Repository is running
hippo.client.port
The port on which Hippo Repository is running. Default is 60000
hippo.client.realm
The authentication realm for the Hippo Repository namespace. Replace default with the name of the namespace.
hippo.client.namespace
The namespace that is running on Hippo Repository for this web application
hippo.client.filespath
The path in Hippo Repository. Usually <namespace>.preview is used for preview XML content and assets, <namespace>.www is used for published XML content.