Apache Roller 4.0 – Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Roller properties and context files

OK, you downloaded and copied the Apache Roller files to Tomcat, and then you created the rollerdb MySQL database. Now it's time to create the roller-custom.properties file. Inside this file there are all the parameters you can use to fine-tune Apache Roller's behavior during the installation process. After that you'll need to create a file named Context.xml for Roller. This file is called a Context Configuration file, and it's used to describe all the resources (in this case—the JDBC database driver, the JavaMail API, and the JavaBeans Framework API) used inside a context (the Apache Roller blog server).

However, that's enough smart-talk for now, let's see how to create the roller-custom.properties file first.

The roller-custom.properties file

In the next exercise, you'll create the roller-custom.properties file and save it in Roller's WEB-INF/lib folder, where Roller can read it.