| View previous topic :: View next topic |
| Author |
Message |
Vodoley3 General User

Joined: 11 Mar 2012 Posts: 5
|
Posted: Thu Apr 12, 2012 11:59 pm Post subject: Multi-mode database: client stops server after closing |
|
|
Hi,
After few changes in the database file of a multi-mode database I experience strange closing of the server.start.bat (and thus - of the complete database).
If a client computer accesses the database and closes the form it has been working on (the form is stored on the client computer), this causes the server.start.bat on the server to shut down (it just closes).
What could be the cause and the solution of this problem?
Configuration:
HSQLDB 1.8
Windows 7
Libre Office 3.3.2
server.start.bat :
| Code: |
@echo off
REM The database name is reflected twice after the 'CONTINUE' label below
set java=Java\jre6\bin
set jar=LibreOffice 3\Basis\program\classes
IF EXIST "%PROGRAMFILES(X86)%" GOTO Win64
:Win32
set javapath=%PROGRAMFILES%\%java%\Java.exe
set jarpath=%PROGRAMFILES%\%jar%\hsqldb.jar
GOTO CONTINUE
:Win64
set javapath=%PROGRAMFILES(X86)%\%java%\Java.exe
set jarpath=%PROGRAMFILES(X86)%\%jar%\hsqldb.jar
:CONTINUE
start mydb.server.odb
"%javapath%" -cp "%jarpath%" org.hsqldb.Server -database.0 file:mydb;hsqldb.default_table_type=cached;shutdown=true
REM pause
exit
|
|
|
| Back to top |
|
 |
dacm Super User


Joined: 07 Jan 2010 Posts: 734
|
|
| Back to top |
|
 |
|