I don't seem to know what I am doing wrong, I have been stuck for such a long time.
I have this web application which runs on tomcat server. What does is it uses a TNSnames and JDBC to reach an oracle database. I am using odjbc6.jar for this.
What am I missing here?
The problem was that tomcat in eclipse didn't compile everything correctly, but when I exported it to a WAR file and hosted it on a tomcat server then it worked.
It still does not work correctly when I run tomcat on eclipse, which I find strange