Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.
I recently setup a mangoblog site on my railo server for a friend. At first glance everything seemed fine, but after clicking around I started to get errors. A quick internet search revealed that I had to modify my web.xml file to add additional servlet mappings.
Add Mappings To Web.xml
Open up the web.xml file. The below command is for linux systems, for windows just open with notepad.
Scroll down and add the following to the servlet mappings section.
Save your changes and restart railo.
Regex Wont Work
Looking at the patterns of the urls you would think you could use regex. For some reason though I could not get it to work. Here is my attempt, if anyone who uses tomcat can tell me how to get this pattern to work in web.xml or what im doing wrong I would appreciate it.
No Function getDataAccessFactory
When you first try to login to mangoblog you may get an error like this.
Error: onRequestStart: component [Mango] has no function with name [getDataAccessFactory]
I dont know what causes this but all you need to do to fix this is simply restart Railo.