I am teaching myself Java specifically connecting to ORACLE with JDBC.

I am running ORACLE XE on XP.

When I try to connect to ORACLE, I get an error message stating that a "... -1 is returned on read ...".

I saw this reported on other forums but the answers did not lead me to any solution.

The SID that I use is XE (default on installation)

My url is something like "jdbc : oracle:thin:user/passw@localhost:8081:XE"

Any suggestions under which circumstances does ORACLE/JDBC generate this error or what can cause this error?

Have a great day.