OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Multi-mode database: client stops server after closing

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Vodoley3
General User
General User


Joined: 11 Mar 2012
Posts: 5

PostPosted: Thu Apr 12, 2012 11:59 pm    Post subject: Multi-mode database: client stops server after closing Reply with quote

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
View user's profile Send private message
dacm
Super User
Super User


Joined: 07 Jan 2010
Posts: 769

PostPosted: Fri Apr 13, 2012 1:25 am    Post subject: Reply with quote

Hi Vodoley3,

Code:

;shutdown=true


Take a look at step (9) in this link from the tutorial:

Related links (must reads) (in particular the linked post)

_________________
Soli Deo gloria
Tutorial: avoiding data loss with Base + Splitting 'Embedded databases'
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group