blog.swwomm.com
SWWOMM: Importing the New RDS CA Certificate Into the Java Keytool
http://blog.swwomm.com/2015/02/importing-new-rds-ca-certificate-into.html
Software Which Works on My Machine. Sunday, February 22, 2015. Importing the New RDS CA Certificate Into the Java Keytool. A few days ago (Feb 2015), Amazon released a new CA certificate bundle. Rds-combined-ca-bundle.pem) for use with AWS RDS. And the password is. The defaults for the OpenJDK on Ubuntu); that you're running the script as a sudoer; and that you have OpenSSL installed. You'll have to tweak those things if that's not the case:. OpenSSL, in particular, is used by the script only to extract ...
blog.swwomm.com
SWWOMM: July 2013
http://blog.swwomm.com/2013_07_01_archive.html
Software Which Works on My Machine. Sunday, July 28, 2013. Moving the MySQL Tmpdir on Ubuntu. One thing I frequently forget when changing the default directories for various services in Ubuntu is that the AppArmor. Create the new tmpdir. Mkdir /mnt/foo/tmp & sudo chown mysql:mysql /mnt/foo/tmp. Change /etc/mysql/my.cnf to use the new tmpdir. Add new tmpdir entries to /etc/apparmor.d/local/usr.sbin.mysqld. Mnt/foo/tmp/ r, /mnt/foo/tmp/* rw,. Sudo service apparmor reload. Sudo service mysql restart. Use a ...
blog.swwomm.com
SWWOMM: September 2013
http://blog.swwomm.com/2013_09_01_archive.html
Software Which Works on My Machine. Thursday, September 26, 2013. Overriding toString() in Groovy Using Grails' ExtendedProxy. In Groovy, most of the time you can override the behavior of an object instance's method using the object's. Property, like to make the following code print ". Def x = true x.metaClass.toString { - delegate? Yes' : 'No' } println x.toString(). There are some cases (documented in GROOVY 2599. Where this doesn't work; for example, the following code will still print ". Class Pretty...
blog.swwomm.com
SWWOMM: PhantomJS and SSL
http://blog.swwomm.com/2014/10/phantomjs-and-ssl.html
Software Which Works on My Machine. Sunday, October 19, 2014. After re-configuring everything this week to avoid the POODLE SSLv3 apocalypse. All of our Geb. Tests ended up broken when run via GhostDriver. The headless WebKit browser). Turns out that by default, PhantomJS (up to and including version 1.9.7. Tries to connect to any. Resource via SSLv3 only — so it'll fail with any server updated to no longer support SSLv3. Alternatively, instead of. All these values are case insensitive). I love web techn...
blog.swwomm.com
SWWOMM: Archiva Repository Manager for Grails
http://blog.swwomm.com/2013/08/archiva-repository-manager-for-grails.html
Software Which Works on My Machine. Saturday, August 17, 2013. Archiva Repository Manager for Grails. Recently deployed Apache Archiva. Repository manager, for use by our Grails. Projects (primarily as a local cache for remote artifacts). The default configuration for Archiva does this almost completely out-of-the-box — just needed a little extra configuration for Grails plugins. Here are the steps I took to install Archiva on Ubuntu 12.04 and configure our Grails projects to use it:. Sudo rm /opt/archiv...
blog.swwomm.com
SWWOMM: Restart Apache Automatically
http://blog.swwomm.com/2015/04/restart-apache-automatically.html
Software Which Works on My Machine. Thursday, April 16, 2015. Recently the apache httpd. Server on one of the projects we run has taken to segfaulting randomly a couple times a week. While we try to gather some more information about what's going on, we've been using a quick one-liner cron. Job to check every minute that the apache process is still running, and start it back up if it's dead. On ubuntu, it's just a matter of dropping a one-line file with the following into. Posted by Justin Ludwig.
blog.swwomm.com
SWWOMM: October 2013
http://blog.swwomm.com/2013_10_01_archive.html
Software Which Works on My Machine. Saturday, October 12, 2013. Java Thread Dumps for Daemons With jstack. Is a really helpful utility that comes standard with most linux JDK versions. It allows you to generate java thread dumps in situations where. Will dump a java process's threads to stderr — but this, of course, works only when you still have access to stderr. If you're running a java process as a daemon (like a jetty or tomcat or jboss etc server), stderr usually is inaccessible. Directory of the JD...
blog.swwomm.com
SWWOMM: Overriding toString() in Groovy Using Grails' ExtendedProxy
http://blog.swwomm.com/2013/09/overriding-tostring-in-groovy-using.html
Software Which Works on My Machine. Thursday, September 26, 2013. Overriding toString() in Groovy Using Grails' ExtendedProxy. In Groovy, most of the time you can override the behavior of an object instance's method using the object's. Property, like to make the following code print ". Def x = true x.metaClass.toString { - delegate? Yes' : 'No' } println x.toString(). There are some cases (documented in GROOVY 2599. Where this doesn't work; for example, the following code will still print ". Class Pretty...
SOCIAL ENGAGEMENT