Sorting out CAS and Drupal installation problems

How to install self signed certificates for use with the CAS single sign on system: http://blogs.sun.com/andreas/entry/no_more_unable_to_find (Note that you will need to use the hostname as installed) Drupal:Menu items not showing up when clean urls are switched on.It’s probably a problem with apache mod_rewrite. How to switch off clean urls using the databaseIn the variables […]

Geocoding with PHP and Google Maps

After changing hosting companies I was having problems with the message:URL file-access is disabled in the server configuration In the end the simple solution is to replace: $xml = simplexml_load_file($request_url) or die(“url not loading”); with $ch = curl_init($request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $xml = simplexml_load_string($response);

JAXB

I’ve been having problems with a JAXB based program which I’m making changes to – when marshalling the bean into the XML doc some of the elements were empty even though they were populated in the bean. I thought I found the solution in this article http://java.sun.com/developer/technicalArticles/WebServices/jaxb/ which pointed me to use the javax.xml.bind.Validator class […]

GWT and I18n, authorization on the server/in a service

I’ve read various posts on how to internationalize text in a gwt service – these usually recommend adding the locale as a string in a constants file and passing this as an extra parameter to each service call. The approach I’ve adopted is to override the service method from HttpServlet and use this to make […]