In-process HSQLDB database are not expected to be opened by others, even for file-based storage.
The documentation hints that this is possible: Server Modes, Advance
I've experience with starting HQLDB in server mode outside of application and connecting from several applications to the database.
As described in the doc the process is straight-forward.