In this exercise, you'll learn how to create a
Context.xml file with all the parameters required for the
MySQL Connector/J driver, the
activation.jar, and the
mail.jar files that you downloaded before.
You're going to need a valid e-mail address for Roller's e-mail notification features. I chose to use a Gmail account for this exercise, because it lets you send e-mail from your Roller blog server without any problems. So, I definitely recommend you to create a Gmail account for your Roller blog server, if you haven't got one already. That way, you'll just need to change the e-mail address and password used in the next exercise, and leave all the other parameters intact.
Open Notepad and type or copy the following lines:
<Context path="/roller" docBase="c:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\roller" debug="0"> <Resource name="jdbc/rollerdb" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver...