grouper-users - Re: [grouper-users] Stopping HSQLDB
Subject: Grouper Users - Open Discussion List
List archive
- From: "GW Brown, Information Systems and Computing" <>
- To: Curt Blank <>, Grouper Users <>
- Subject: Re: [grouper-users] Stopping HSQLDB
- Date: Mon, 22 Jan 2007 09:25:03 +0000
Hi Curt,
I haven't seen the error you get before when using the QuickStart with default memory settings on Windows - but each OS is different. You can try modifying the build.xml file in the directory where you run 'ant db'. Specifically, add a maxmemory attribute to:
<java dir="." classname="org.hsqldb.Server" classpathref="db.class.path" fork="true">
i.e.
<java dir="." classname="org.hsqldb.Server" classpathref="db.class.path" fork="true" maxmemory="256M">
That should increase the heap size sufficiently for the QuickStart to run.
Regards,
Gary
--On 20 January 2007 12:48 -0600 Curt Blank
<>
wrote:
I am attempting to get the Quickstart version of Grouper going. I start
HSQLDB and it appears to start properly, but when I try to stop it I get
an error and it doesn't stop I have to Ctrl-C to stop it. To attempt to
stop it I telnet in to port 9001 and issue the SHUTDOWN SQL command, in
response to that I see:
[java] Exception in thread "HSQLDB Connection @1b543c88"
java.lang.OutOfMemoryError: Java heap space
So I Ctrl-C to stop it.
What do I need to do to get this to work properly? Below is everything I
see when running HSQLDB. The server is a Sun 4100 with 2 dual core AMD
processors and 8G of memory running Redhat AS Release 4.
-Curt Blank
[root@grouper02
grouper-qs]# ant db
Buildfile: build.xml
db:
[java]
[Server@2da679b7]:
[Thread[main,5,main]]: checkRunning(false)
entered
[java]
[Server@2da679b7]:
[Thread[main,5,main]]: checkRunning(false)
exited
[java]
[Server@2da679b7]:
Startup sequence initiated from main()
method
[java]
[Server@2da679b7]:
Loaded properties from
[/usr/local/src/grouper/grouper-qs/server.properties]
[java]
[Server@2da679b7]:
Initiating startup sequence...
[java]
[Server@2da679b7]:
Server socket opened successfully in 5 ms.
[java]
[Server@2da679b7]:
Database [index=0, id=0,
db=file:grouper/dist/run/grouper, alias=] opened sucessfully in 536 ms.
[java]
[Server@2da679b7]:
Startup sequence completed in 559 ms.
[java]
[Server@2da679b7]:
2007-01-19 21:57:23.173 HSQLDB server
1.7.2 is online
[java]
[Server@2da679b7]:
To close normally, connect and execute
SHUTDOWN SQL
[java]
[Server@2da679b7]:
From command line, use [Ctrl]+[C] to abort
abruptly
[java] Exception in thread "HSQLDB Connection @1b543c88"
java.lang.OutOfMemoryError: Java heap space
[root@grouper02
grouper-qs]#
----------------------
GW Brown, Information Systems and Computing
- Stopping HSQLDB, Curt Blank, 01/20/2007
- Re: [grouper-users] Stopping HSQLDB, GW Brown, Information Systems and Computing, 01/22/2007
Archive powered by MHonArc 2.6.16.