While you are developing a grails app, by default you are using an embedded Tomcat instance. Sometimes you’ll need to do some configuration, in my case I had to proxy my tomcat instance with an Apache web server through mod_proxy_ajp . When you have a standalone server running, you can easily change your server.xml file to [...]
While developing a utility script to monitor my mobile data consumed, I found a problem with the response I was getting from the server. It content-type was set to ‘text/json’ instead of ‘application/json’, ‘application/javascript’ or ‘text/javascript’ wich are the content types used by HTTPBuilder to parse a response as JSON. To solve this problem, one [...]

Subscribe by RSS
Follow me on Twitter















