Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Roller 4.0 - Beginner's Guide

You're reading from   Apache Roller 4.0 - Beginner's Guide A comprehensive, step-by-step guide on how to set up, customize, and market your blog using Apache Roller

Arrow left icon
Product type Paperback
Published in Dec 2009
Publisher Packt
ISBN-13 9781847199508
Length 388 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Apache Roller 4.0
Credits
Foreword
About the Author
About the Reviewers
1. Preface
1. An Introduction to Weblogs FREE CHAPTER 2. Installing Roller on Windows 3. Installing Roller on Linux 4. How to Start Working with Roller 5. Spicing Up Your Blog 6. Roller Themes and Blog Promotion 7. Working with Templates 8. Comments and Trackbacks Pop Quiz Answers
Index

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.

  1. 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
    
  2. 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, type roller-custom.properties in the File name listbox, select All Files in the Save as type listbox and click on the Save button:

  3. 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image