I'm trying to install and run Java EE 6 Tutorial examples. In this particular case, Duke's Forest Case Study Example. No problem with first install step "To Create the JDBC Realm and Populate the Database", apparently the JavaDB is created and populated. But in second step I'm getting the following error trying to connect to JavaDB: "An error occurred while creating the database: java.sql.SqlNonTransientConnectionException: A communications error has been detected: Software caused connection abort: recv failed.."
The strange thing is that although connecting JavaDB seems not to work, the db creation using "ant" with the tutorial scripts seems to work. And furthermore, starting the JavaDB Server seems to work as well, showing a message stating it is ready and listening on port 1527.
Similar problem asked in Getting a java.sql.SqlNonTransientConnectionException.
I'm running Windows XP, NetBeans 8.1, JDK 1.7.0_60.