Hi,

I've deployed Roller 5.0RC1 on Glassfish 3.0.1. I previously ran 5.0, then I
upgraded to 5.0RC1. Unfortunately now the tags no longer work. When I start
glassfish, I find the following error message in roller.log:

ERROR 2010-08-30 15:40:21,430 IndexManagerImpl:initialize -
java.io.IOException: Bestand of map bestaat niet
ERROR 2010-08-30 15:40:21,906 IndexManagerImpl:createIndex - Error creating
index
java.io.IOException: Cannot create directory:
/home/dave/roller_data/search-index
        at
org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:118)
        at org.apache.lucene.store.Lock.obtain(Lock.java:73)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1538)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1095)

This is what my roller-custom.properties, located in
/opt/glassfishv3/glassfish/domains/domain1/applications/roller5rc1/WEB-INF/classes/
, looks like (I scrambled usernames and passwords):

installation.type=auto
database.configurationType=jdbc
database.jdbc.driverClass=com.mysql.jdbc.Driver
database.jdbc.connectionURL=jdbc:mysql://localhost:3306/rollerdb
database.jdbc.username=kjhgfdkjshgdfk
database.jdbc.password=kljhdfkasjdhfk
#database.configurationType=jndi
#database.jndi.name=jdbc/rollerdb
mail.configurationType=properties
mail.hostName=smtp-server.example.com
mail.username=jhdfgkasjghdf
mail.password=kjhdgfkjhsgdf
openjpa.QueryCompilationCache=false
# The directory in which Roller will upload files
mediafiles.storage.dir=${user.home}/roller_data/mediafiles
# The directory in which Roller will upload files
uploads.dir=${user.home}/roller_data/uploads

Any thoughts anyone?

Thanks, Olivier

Reply via email to