When sending email using the grails mail plugin, the email subject always ends up empty with (no subject)
this is a known problem. see the link
http://www.nabble.com/Grails-mail-plugin-0.5-:-subject-and-body-always-empty-td20008519.html
The problem happens if you have groovyws-all-0.4.jar in your lib directory. groovyws-all.jar also has javax.mail.* classes packed in there. The fix is as simple unjaring, remove the javax.mail package and rejar it.
hope someone finds this helpful... spent a good half day researching this
Tuesday, June 2, 2009
Thursday, May 21, 2009
skype on 64bit linux
skype doesn't provide a 64bit version for linux, but the 32bit version works fine on a 64bit linux machine. On ubuntu, force the install:
sudo dpkg --force-architecture -i skype-debian_2.0.0.72-1_i386.deb
sudo dpkg --force-architecture -i skype-debian_2.0.0.72-1_i386.deb
tmobile hotspot wifi at borders/star bucks ubuntu linux on dell studio xps
Got a dell studio xps 13 (SX13-163B) and have ubuntu 9.04 running on it. Everything works great bluetooth keyboard/mouse, webcam (tested using skype). Wifi at home works without a problem. However when connecting to a tmobile hotspot at borders/star bucks, the wifi would randomly drop connection every few minutes or so which is very annoying and disruptive to my work. I did some experimentation. I disable the network manager then manually started the dhcp client by running:
% sudo dhclient wlan0
After that I was able to connect without interruption for 3hours now. Hope this info is useful for somebody
% sudo dhclient wlan0
After that I was able to connect without interruption for 3hours now. Hope this info is useful for somebody
Tuesday, April 21, 2009
difficulty installing android plugin for eclipse ganymede
following directions at http://developer.android.com/sdk/1.1_r1/installing.html on installing the android plugin did not work.
apparently, the URL to the update site are wrong. The correct URL is
http://dl-ssl.google.com/android/eclipse/site.xml
https://dl-ssl.google.com/android/eclipse/site.xml does NOT work so use the http URL
apparently, the URL to the update site are wrong. The correct URL is
http://dl-ssl.google.com/android/eclipse/site.xml
https://dl-ssl.google.com/android/eclipse/site.xml does NOT work so use the http URL
Thursday, March 5, 2009
Calling Webservices with Groovy
import groovyx.net.ws.WSClient
def proxy = new WSClient("http://host/aService",this.class.classLoader)
def service = proxy.create("package.aService")
service.aMethod()
def proxy = new WSClient("http://host/aService",this.class.classLoader)
def service = proxy.create("package.aService")
service.aMethod()
Wednesday, March 4, 2009
add/removing rows from dojox.grid.DataGrid
There is a bug with dojox.grid.DataGrid when deleting a row and adding it back. When adding back the row, it must have a different id otherwise it would not work.
Sunday, March 1, 2009
mounting sd card on ubuntu linux
first do ls /dev/mmcblk*
you should see something like:
/dev/mmcblk0 /dev/mmcblk0p1
now mount the device /dev/mmcblk0p1:
sudo mount -t vfat /dev/mmcblk0 /mnt
your sd should now be available at the mount point /mnt
you should see something like:
/dev/mmcblk0 /dev/mmcblk0p1
now mount the device /dev/mmcblk0p1:
sudo mount -t vfat /dev/mmcblk0 /mnt
your sd should now be available at the mount point /mnt
Subscribe to:
Posts (Atom)