Customizing the server

Optional properties are used to configure and customize the server elements of IBM Daeja ViewONE.

About this task

Important: Modifying these properties might adversely affect the server operation and they should not be changed without contacting support.

The servlet_name.properties configuration file defines the server properties for IBM Daeja ViewONE Virtual and the ViewONE Permanent Redaction Server Module.

The name of the servlet_name.properties must be specified in the /WEB-INF/web.xml file that is deployed on the application server. This properties file has the same name as the servlet that you are using, such as viewone.properties.

All properties in this file use the following format:
name=value

Use the internet URL address format to specify file names and hyperlink addresses, for example http://mysite/myimage.tif. If you provide a relative location, for example, myimage.tif, the viewer assumes a base address that is the same as the viewer location (the codebase).

Except for file names and hyperlink addresses, all properties are case-insensitive.

Procedure

To edit the server configuration file:

  1. Open the WEB-INF/servlet_name.properties file in a text editor and add the properties that you want.
  2. If you are using more than one module, you can set properties for a specific module by adding the appropriate prefix to the property name.
    For example, you can specify logging properties for each module as follows.
    Option Description
    IBM Daeja ViewONE Virtual Viewer
    virtual.logfile=WEB-INF/viewone.log
     virtual.traceNet=true
    ViewONE Permanent Redaction Server Module
    redaction.logfile=WEB-INF/viewone.log
     redaction.traceNet=true
  3. Save your changes.
  4. Restart the web application server.