Wednesday, May 09, 2012


Lucky learning for today before I spent few hours nail biting on this !!

A struts2 form with input textfields with disabled=true, do not get posted on submit; whereas readonly=true, do get posted; so use them wisely.

Monday, June 13, 2011

The Tuxnetworks Linux Bible: DEPRECIATED: Setting the hostname in gnome termina...

The Tuxnetworks Linux Bible: DEPRECIATED: Setting the hostname in gnome termina...: "If you SSH to another host you might want to display the hostname of the remote host in the gnome terminal title bar Put this code in your ..."

Do this for all hosts you ssh to, as well.

Monday, February 14, 2011

Eclipse deleting svn all-wcprops and entries files

I even switched from desktop to laptop to get away from this issue .. but obviously it "followed" me.

This post regarding MyEclipse lead me to the fix which is to remove following from your .project.

Wednesday, August 04, 2010

Get the "Synchronize with Google" option to show up in Mac OS X Address Book.

Thanks to this post in macosxhints forum, I could keep my Nexus One is sync with Google and MBP. Quoted below from the forum post.

a) If you don't have this file, copy the following into a text file and save it with the name Put the file in your Preferences directory inside your home directory.

{ Devices = { red-herring = { 'Family ID' = 10001; }; }; }

b) If you have the file and don't have an iPhone or iPod touch, you need to add some information to this file. I used Apple's plist editor to add the information, and that worked for me. This terminal command should work as well.

defaults write Devices -dict-add red-herring '{ "Family ID" = 10001; }'

Monday, August 02, 2010

An application based on Spring / JPA / Hibernate stack started causing following error when the Oracle JDBC library was upgraded from ojdbc14.jar to ojdbc6.jar.

java.lang.IllegalAccessException: Class org.hibernate.dialect.Oracle8iDialect can not access a member of class oracle.jdbc.driver.OracleTypes with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at org.hibernate.dialect.Oracle8iDialect.registerResultSetOutParameter(

Caused by oracle.jdbc.driver.OracleTypes class being deprecated and replaced by oracle.jdbc.OracleTypes and Oracle8iDialect (line 397) class referring to a private member of OracleTypes class.

  1. Fix is to use a hibernate distro with the fix that is also compatible to Spring 3 stack.
  2. Thanks to Google and grepcode; found the fix been applied for Hibernate 3.3.2 (line 432)
  3. Also realized in this research that there exists NO at Spring download site :-;( which makes it all the more difficult to find a spring bundle with the fix.

Thursday, December 10, 2009

Shashi Tharoor on India's 'soft power'

Shashi Tharoor on India's 'soft power' - wow what a take from Shashi Tharoor about India's soft power. 3 cheers to Shashi Tharoor.

Tuesday, December 08, 2009


It had been a pain in the wrong place for a while at work where my desktop is behind a ISA proxy with authentication and I could not figure a way to get the proxy settings to work on a Ubuntu (Hardy Heron).

Then I googled and came across CNTLM which is a beauty; follow the instructions to install and configure it, set proxy to localhost:3128 and thats it.

I am doing a Synaptic update as I type this .. from now on I will be on top of the latest ubuntu and like software updates.

3 cheers to CNTLM.

I am well fed with these !!