grouper-users - Re: [grouper-users] exception during db creation phase (after initial build)
Subject: Grouper Users - Open Discussion List
List archive
- From: Mark McLaren <>
- To:
- Subject: Re: [grouper-users] exception during db creation phase (after initial build)
- Date: Tue, 04 Jan 2005 19:05:04 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=SZDR6jW493wu3oMFjo4KHFC3BHPUU0/qjRwc28iyecJDK07ewZhRJf1hU/7UslWsdWl3RnD+EpRQbWOu7VwisRRHX4swhnmo49XZs0cqv36iyNRyAa0qfPcrT5sS16473v1lmRkKtC5LcMoljodkCpNY8tYRZwZrPkiwB7cKjs4=
Hi Shelley,
The default build uses org.hsqldb.util.DatabaseManager which is a GUI and therefore needs to access a display.
I have no Mac experience but I presume if you are using OS-X (which is essentially FreeBSD Unix with bells on) that if you set the DISPLAY correctly on the Solaris box it should work. As I'm sure you're aware the exact command you need to set the display varies depending on the shell you are using on the Solaris box but it should be something like (assuming csh / tcsh):
setenv DISPLAY <YOUR_HOME_MAC_IP>:0
Alternatively if you're feeling technical you could try and configure the grouper build to use the non-GUI org.hsqldb.util.SqlTool method to run the SQL scripts instead.
See: <http://hsqldb.sourceforge.net/doc/guide/ch07.html>
HTH
Mark
Shelley Henderson wrote:
I'm about three weeks later than I'd like to be on this, but at least I'm finally doing it...
...grouper built just fine: highly anti-climactic, thank you.
But when I tried the second step, creating the database and populating it with default data, it complained (see transcript below).
I'm doing the build on my solaris workstation, but I ssh'd in from my mac at home, which probably explains the error. Does the build process assume the build is being done on the machine's console? Or should I have been more sophisticated, and know to set the DISPLAY variable?
Shelley
USC
-----
TRANSCRIPT:
quarens.usc.edu(52): ant db-init db-init-test
Buildfile: build.xml
db-init:
[mkdir] Created dir: /auto/sol-00/shelley/sandbox/grouper-0.5/dist/run
[java] Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
- exception during db creation phase (after initial build), Shelley Henderson, 01/04/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Mark McLaren, 01/04/2005
- Re: [grouper-users] exception during db creation phase (after initial build), blair christensen, 01/06/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Shelley Henderson, 01/06/2005
- Re: [grouper-users] exception during db creation phase (after initial build), blair christensen, 01/06/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Tom Barton, 01/04/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Shelley Henderson, 01/04/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Mark McLaren, 01/04/2005
- Bingo!, Shelley Henderson, 01/04/2005
- Re: [grouper-users] exception during db creation phase (after initial build), Mark McLaren, 01/04/2005
Archive powered by MHonArc 2.6.16.