Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] exception during db creation phase (after initial build)

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] exception during db creation phase (after initial build)


Chronological Thread 
  • From: Tom Barton <>
  • To:
  • Subject: Re: [grouper-users] exception during db creation phase (after initial build)
  • Date: Tue, 04 Jan 2005 13:06:47 -0600

Do you have X11 tunneling configured in your ssh client? The few ssh server implementations I've worked with automatically set the DISPLAY, although the few windows X11 servers I've worked with required some config tweaking to allow the inbound requests from ssh connections. I guess the question boils down to: can you run any X windows app on that sunbox under your mac's X window server?

Tom

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.
[java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[java] at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java: 125)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:140)
[java] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62)
[java] at java.awt.Window.init(Window.java:224)
[java] at java.awt.Window.<init>(Window.java:268)
[java] at java.awt.Frame.<init>(Frame.java:398)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)


[java] Java Result: 1
[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.
[java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[java] at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java: 125)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:140)
[java] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62)
[java] at java.awt.Window.init(Window.java:224)
[java] at java.awt.Window.<init>(Window.java:268)
[java] at java.awt.Frame.<init>(Frame.java:398)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)


[java] Java Result: 1

db-init-test:
[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.
[java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[java] at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java: 125)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:140)
[java] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62)
[java] at java.awt.Window.init(Window.java:224)
[java] at java.awt.Window.<init>(Window.java:268)
[java] at java.awt.Frame.<init>(Frame.java:398)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)
[java] at org.hsqldb.util.DatabaseManager.main(Unknown Source)


[java] Java Result: 1

BUILD FAILED
/auto/sol-00/shelley/sandbox/grouper-0.5/build.xml:223: Warning: Could not find file /auto/sol-00/shelley/sandbox/grouper-0.5/dist/run/grouper.script to copy.

Total time: 7 seconds
quarens.usc.edu(53):



Archive powered by MHonArc 2.6.16.

Top of Page