How does the system find OpenWebCMS databases

When the HTTP loads the servlet is being initialized. During that initialization it has two strategies to look for OpenWebCMS? databases:

1.) if a notes.ini variable

OPENWEBCMSDBS=path/db1.nsf;anotherpath/db2.nsf

is present, it will use all databases specified in this variable.

2.) else, it looks in all databases on the server for a database which:

  • has a profile document named 'DBConfig'
  • has the field 'isOpenWebCMS' set to '1' in this profile document

    That means normally you don't have to bother about this. Just create a OpenWebCMS? database and make sure you have been in the administration document at least once. Then the isOpenWebCMS field is being set and the backend will find it on next restart.

    The notes.ini variable is only neccessary if you have really many databases on the server and you don't want the system to search through them.