Author Archive

Monday, February 15th, 2010

For those using MYSQL and have either updated to grails version 2 or starting with grails 2 and have run into this exception then this solution works perfectly well for me. The problem is releated to Grails running out of connections to MySQL over time, & not freeing stale connections.  I believe it happens when [...]

Friday, October 23rd, 2009

Below are regex patterns to match against valid latitude and longitude. Both formats are based on Decimal coordinates. Latitude range is from -90 to +90 Longitude from -180 to +180 For Latitude the regex pattern is (-?[0-8]?[0-9](\.\d*)?)|-?90(\.[0]*)? For Longitude use (-?([1]?[0-7][1-9]|[1-9]?[0-9])?(\.\d*)?)|-?180(\.[0]*)? This will also restrict the decimal values being > 0 for both +- 90′ [...]

Thursday, October 30th, 2008

The Scenario: You have an application that uses Simple MAPI (from Outlook) to send Faxes.  The I.T. department then introduce SBS / Exchange Server into the company to manage users email accounts. Now Faxing no longer works.You get a NDR everytime you try and send.   Strange though as you can still send directly through outlook [...]


About Me

Welcome to my blog. Here you'll find mainly work related content, a suppository for all my notes which otherwise would end up on a post it note.