This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
james [2011/07/02 15:31] k2patel |
james [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
[[http://wiki.apache.org/james/ | I have used mysql based setup ]] | [[http://wiki.apache.org/james/ | I have used mysql based setup ]] | ||
+ | <code bash | $JAMES_HOME/conf/database.properties> | ||
+ | database.driverClassName=com.mysql.jdbc.Driver | ||
+ | database.url=jdbc:mysql://localhost/james | ||
+ | database.username=james | ||
+ | database.password=james | ||
+ | vendorAdapter.database=MYSQL | ||
+ | openjpa.streaming=false | ||
+ | </code> | ||
+ | |||
+ | Now download mysql jdbc driver from [[http://dev.mysql.com/usingmysql/java/ | dev.mysql.com]]\\ | ||
+ | Place file in $JAMES_HOME/lib/ | ||
+ | |||
+ | now define it in environment | ||
+ | <code bash | $JAMES_HOME/bin/setenv.sh> | ||
+ | CLASSPATH_PREFIX=../conf/lib/mysql-connector-java-5.1.15-bin.jar | ||
+ | export CLASSPATH_PREFIX | ||
+ | </code> | ||
+ | |||
+ | Controller port is defined in -$JAMES_HOME/conf/jmx.properties.\\ | ||
+ | you can use jconsole to connect to your controller.\\ | ||
+ | which allow you to manage services using GUI. | ||
+ | |||
+ | Also make usre you have define JAVA_HOME in you bash env. | ||
+ | |||
+ | now start your server using $JAMES_HOME/bin/james start | ||