Hi Arjen,
I think you are missing your indexer configuration.
Try adding the src="config/slide/dasl-indexer.xml" to the indexer
element. I'm not sure if it updates automatically, but you could try to
remove your index. It should be rebuild automatically.
> <indexer>
> <indexpath>work/slide_indices/default</indexpath>
> <cron>0/10 * * * * ? *</cron>
> </indexer>
Regards,
Jeroen
Arjen Zwerver wrote:
Hello all,
Yesterday I stated configuring the Hippo Repository to work with a MySQL
database. Almost everything works fine. I can open articles in frontend
(HST jsp-site) and backend. The only problem is that the dynamic menu's
aren't generated anymore.
The way I build the repository:
1. svn co
http://svn.hippocms.org/repos/hippo/hippo-repository/tags/Release_HREP_1_2_15_1/
2. maven build
3. Configure repository to work with mysql-db.
1. Change the default namespace in config/domain.xml to:
<namespace name="default">
<definition
src="config/slide/mysql/definition.xml"></definition>
<configuration
src="config/slide/configuration.xml"></configuration>
<data src="config/slide/data.xml"></data>
<extractors
src="config/slide/extractors.xml"></extractors>
<indexer>
<indexpath>work/slide_indices/default</indexpath>
<cron>0/10 * * * * ? *</cron>
</indexer>
</namespace>
2. Make a file definition.xml in config/slide/mysql with the
sample code at
http://www.hippocms.org/display/CMS/Hippo+Repository+with+MySQL+database
Of course, changing the url, user and password.
3. Configure the DB with MySQL41_CreateDatabases.sql
<http://svn.hippocms.org/repos/hippo/hippo-repository/trunk/server/src/config/slide/MySql41Schema.sql>
4. then start the repository with: "./fortress.sh start"
5. Initialize the repository
(http://www.hippocms.org/display/CMS/Initializing+the+Hippo+Repository)
6. Copy the data from another repository to the current repository
with Hippo Datacopy
(http://www.hippocms.org/display/CMS/Hippo+Datacopy)
This works to edit the documents through the cms and the cms returns a
correct list of all the documents. In the frontend I can also view a
document. But the menu's dont get displayed. When I skip step 3 and not
use a MySQL-db everything works fine.
My system runs on Ubuntu with java version 1.5.0_14 and MySQL version
5.0.67
What am I doing wrong?
With kind regards,
Arjen Zwerver
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html