Hi:
Since Roller 1.2 is not yet released (but is about to be), am I correct in
understanding that you built your own from sources?
I'm not sure you have the latest sources, so that is one thing to check.
Some minor notes: The settings you state for search.index.dir and the uploads.dir seem reversed, but as long as they're writable,
that should not be the problem. Also, if you put the roller-custom.properties in your roller/WEB-INF/classes, you do not also need
to define the roller.custom.config property. That is only needed if the file is located elsewhere.
The following will give us some more information. In your roller/WEB-INF/classes/log4j.properties, can you please add the
following lines for debug logging on two components?
log4j.category.org.roller.config.RollerConfig=DEBUG
log4j.category.org.roller.RollerImpl=DEBUG
(and then restart Tomcat)
The output from the logs should tell us what the value of the index dir is, so
we can make sure it is being set properly.
--a.
----- Original Message -----
From: "Chaya'" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, June 28, 2005 1:17 AM
Subject: error tomcat
I've put roller-custom.properties at
C:\jakarta-tomcat-5.5.4\webapps\roller\WEB-INF\classes
I've set JAVA_OPTS at catalina.bat like this: set
JAVA_OPTS="-Droller.custom.config=C:/jakarta-tomcat-5.5.4/webapps/roller/WEB-INF/classes/roller-custom.properties"
and I've copy paste all default properties from configuration guide
and change the upload dir like this
uploads.dir=C:\roller_data\roller_index and change search index
setting like this search.index.dir=C:\roller_data\uploads
But i still have an error in my tomcat :
ERROR 2005-06-27 13:54:40,339 StandardWrapperValve:invoke -
Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
at org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:128)
Any suggestion abt this?
Thx before :)