Time for action — creating roller-custom.properties
In this exercise, you'll create a roller-custom.properties
file with the basic parameters and I'll show you where it has to be saved.
Open the Notepad editor (Start | All Programs | Accessories | Notepad) and write the following lines:
installation.type=auto database.configurationType=jndi database.jndi.name=jdbc/rollerdb mail.configurationType=jndi mail.jndi.name=mail/Session
Select File | Save from the Notepad menu bar. In the Save As dialog box, navigate to the
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\roller\WEB-INF\classes
folder, typeroller-custom.properties
in the File name listbox, select All Files in the Save as type listbox and click on the Save button:You can close Notepad now.
What just happened?
The roller-custom.properties
file you've just created is used by Roller to look for the database and mail configuration; in this case, the name of the resources it has to look for in the Context.xml
file that you...