Hi,
I have solved the problem by including the usejdbc2 in my classpath in /etc/profile file on both server and client.