August 29, 2008 at 4:27 PM
make sure your oracle service is started or not?
September 1, 2008 at 7:08 PM
Even I encountered the same problem with java 2 v1.4 with oracle 10g.
But it worked well with the same code with java 5.0 with 10g.
I am not sure whether it is technically correct answer. But pl. try and see.