In attempting to configure a beta4 install, I am using a MySql database. I made 
the appropriate changes to james-database.properties, and added the 
mysql-connector.jar to the conf/lib directory as outlined at 
http://wiki.apache.org/james/V3ConfigTutorial. At first, instead of adding the 
jar to setenv.bat (running on windows), I did nothing, since the readme in the 
conf/lib/ directory says all jars in that folder will be added to the classpath 
(and setenv.bat performs 'set CLASSPATH_PREFIX=../conf/lib/*'). When I tried to 
run, James died without throwing any errors.

I then added the jar explicitly to setenv.bat, as outlined in that webpage. 
Still no dice.

Next, I copied the mysql connector jar to the james lib/ directory and adding 
the jar explicitly to the classpath in wrapper.conf thusly:

...(other classpath additions)...
wrapper.java.classpath.155=%REPO_DIR%/mysql-connector-java-5.1.8-bin.jar

Then I ran, and James started fine (at least as far as I can tell, I'm still 
working through a number of configuration issues). This leads me to believe 
that either setenv.bat is not being properly called, or the jars in conf/lib/ 
are not being added to the classpath as stated by the readme in that dir

Am I doing something wrong, or are others having this issue as well?

Thanks,
Kevin Dion

Reply via email to