Hi,
I have a new MMBase
instance that I wish to fill with default data. My application.xml file contains
a <datasourcelist .../> element with valid data sources and my directory
structure looks like this (from WEB-INF/config):
application/
application.xml
defaults/
categorieen.xml
properties.xml
...
builders/
applications/
categorieen.xml
properties.xml
...
core/
... rest of the
configuration ...
I start MMBase the
following way:
MMBaseContext.init(CONFIG_DIR, true);
MMBase mmBase =
MMBase.getMMBase();
MMBase starts without errors on an empty database. All tables are created and the log looks fine. However, my default data (in application/defaults) is nowhere to be found in the database. What am I doing wrong?
MMBase starts without errors on an empty database. All tables are created and the log looks fine. However, my default data (in application/defaults) is nowhere to be found in the database. What am I doing wrong?
Regards,
Ronald
Wildenberg.
-----------------------Disclaimer-------------------------
Dit bericht (met bijlagen) is met grote zorgvuldigheid samengesteld. Voor mogelijke onjuistheid en/of onvolledigheid van de hierin verstrekte informatie kan Kennisnet geen aansprakelijkheid aanvaarden, evenmin kunnen aan de inhoud van dit bericht (met bijlagen) rechten worden ontleend. De inhoud van dit bericht (met bijlagen) kan vertrouwelijke informatie bevatten en is uitsluitend bestemd voor de geadresseerde van dit bericht. Indien u niet de beoogde ontvanger van dit bericht bent, verzoekt Kennisnet u dit bericht te verwijderen, eventuele bijlagen niet te openen en wijst Kennisnet u op de onrechtmatigheid van het gebruiken, kopiëren of verspreiden van de inhoud van dit bericht (met bijlagen).
This message (with attachments) is given in good faith. Kennisnet cannot assume any responsibility for the accuracy or reliability of the information contained in this message (with attachments), nor shall the information be construed as constituting any obligation on the part of Kennisnet. The information contained in this message (with attachments) may be confidential or privileged and is only intended for the use of the named addressee. If you are not the intended recipient, you are requested by Kennisnet to delete this message (with attachments) without opening it and you are notified by Kennisnet that any disclosure, copying or distribution of the information contained in this message (with attachments) is strictly prohibited and unlawful.
----------------------------------------------------------
