Unable to Connect to HyperSQL Database in Studio

I’ve just installed CUBA Studio 6.6.1. When I open any project, I receive the following error:

org.hsqldb.HsqlException: connection exception: connection failure: java.net.SocketException: Connection reset

This issue occurs both with the Sample projects, as well as with new projects that I created by following the directions in the Quick Start section of the Developer’s Manual. The error pops up almost immediately upon entering Studio. Complete stack trace is attached.

CUBA_Studio_HSQLDB_stacktrace.txt (2.9K)

I’ve figured it out.

HSQL uses port 9001, but the HP Digital Persona app was already using it. All I had to do was kill that task in order to get it to work.

If the 9001 port is busy on your system, you can also change the port for the project: edit Project Properties and set localhost:9222 in the Database URL field.

1 Like