Index: branches/features/purchaseOrders/grails-app/conf/Config.groovy
===================================================================
--- branches/features/purchaseOrders/grails-app/conf/Config.groovy	(revision 942)
+++ branches/features/purchaseOrders/grails-app/conf/Config.groovy	(revision 946)
@@ -17,12 +17,14 @@
     grails.config.locations = [ "classpath:${appName}-config.groovy" ]
 
+//grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination
+
 // Set false due to acegi security issue.
 // See: http://jira.grails.org/browse/GPACEGI-41
 // See: http://www.gnumims.org/trac/ticket/98
 grails.mime.file.extensions = false // enables the parsing of file extensions from URLs into the request format
-
+//grails.mime.use.accept.header = false
 grails.mime.types = [ html: ['text/html','application/xhtml+xml'],
                       xml: ['text/xml', 'application/xml'],
-                      text: 'text-plain',
+                      text: 'text/plain',
                       js: 'text/javascript',
                       rss: 'application/rss+xml',
@@ -39,4 +41,8 @@
                       multipartForm: 'multipart/form-data'
                     ]
+
+// URL Mapping Cache Max Size, defaults to 5000
+//grails.urlmapping.cache.maxsize = 1000
+
 // The default codec used to encode data with ${}
 grails.views.default.codec="none" // none, html, base64
@@ -55,8 +61,11 @@
 grails.enable.native2ascii = true
 
-// whether to install the java.util.logging bridge for sl4j. Disable fo AppEngine!
+// whether to install the java.util.logging bridge for sl4j. Disable for AppEngine!
 grails.logging.jul.usebridge = true
 // packages to include in Spring bean scanning
 grails.spring.bean.packages = []
+
+// request parameters to mask when logging exceptions
+grails.exceptionresolver.params.exclude = ['password']
 
 /**
Index: branches/features/purchaseOrders/grails-app/conf/DataSource.groovy
===================================================================
--- branches/features/purchaseOrders/grails-app/conf/DataSource.groovy	(revision 942)
+++ branches/features/purchaseOrders/grails-app/conf/DataSource.groovy	(revision 946)
@@ -15,4 +15,6 @@
 // If nothing specified then do nothing to database schema.
 
+def appNameLowerCase = appName.toLowerCase()
+
 // Environment specific settings.
 // All production config is in external config.
@@ -29,8 +31,8 @@
 //             dialect = org.hibernate.dialect.MySQL5InnoDBDialect
 //             driverClassName = "com.mysql.jdbc.Driver"
-//             username = "gnumimsadmin"
-//             password = "gnumimsadmin"
+//             username = "${appNameLowerCase}admin"
+//             password = "${appNameLowerCase}admin"
 //             dbCreate = "create-drop"
-//             url = "jdbc:mysql://host:3306/gnumims_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
+//             url = "jdbc:mysql://host:3306/${appNameLowerCase}_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
         }
     }
@@ -46,8 +48,8 @@
 //             dialect = org.hibernate.dialect.MySQL5InnoDBDialect
 //             driverClassName = "com.mysql.jdbc.Driver"
-//             username = "gnumimsadmin"
-//             password = "gnumimsadmin"
+//             username = "${appNameLowerCase}admin"
+//             password = "${appNameLowerCase}admin"
 //             dbCreate = "update"
-//             url = "jdbc:mysql://host:3306/gnumims_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
+//             url = "jdbc:mysql://host:3306/${appNameLowerCase}_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
         }
     }
