Nir, It looks like gtk_init_check() is failing because you are unable to open a X window. Are you sure that the X server is being started up successfully and that the user running the tests is the same user that starts the X server? You mention that it's a "faceless" Linux instance, were you intending to even run UI related tests?
A quick search for "Xlib: connection to ":0.0" refused by server" yields several responses that may be of more assistance. On Mon, Nov 30, 2009 at 1:28 PM, Feldman, Nir <nir.feld...@hp.com> wrote: > I am trying to run a build of gwt maven project using Hudson deployed on > tomcat on a Linux 64 bit Red Hat 4. > > I am experiencing the following issue: > > > > [INFO] ------------------------------------------------------- > > [INFO] T E S T S > > [INFO] ------------------------------------------------------- > > [INFO] Running junit.framework.testsu...@1194a4e > > [ERROR] Xlib: connection to ":0.0" refused by server > > [ERROR] Xlib: No protocol specified > > [ERROR] > > [INFO] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0.191 sec <<< FAILURE! > > [INFO] testSomething(com.hp.f8upper.client.GwtTestSample) Time elapsed: > 0.179 sec <<< ERROR! > > [INFO] org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] > > [INFO] at org.eclipse.swt.SWT.error(SWT.java:3400) > > [INFO] at org.eclipse.swt.widgets.Display.createDisplay(Display.java:793) > > [INFO] at org.eclipse.swt.widgets.Display.create(Display.java:781) > > [INFO] at org.eclipse.swt.graphics.Device.<init>(Device.java:145) > > [INFO] at org.eclipse.swt.widgets.Display.<init>(Display.java:452) > > [INFO] at org.eclipse.swt.widgets.Display.<init>(Display.java:443) > > [INFO] at org.eclipse.swt.widgets.Display.getDefault(Display.java:1522) > > [INFO] at > com.google.gwt.dev.SwtHostedModeBase.<init>(SwtHostedModeBase.java:122) > > [INFO] at com.google.gwt.dev.GWTShell.<init>(GWTShell.java:40) > > [INFO] at com.google.gwt.junit.JUnitShell.<init>(JUnitShell.java:482) > > [INFO] at > com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:399) > > [INFO] at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:346) > > [INFO] at > com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:219) > > [INFO] at junit.framework.TestCase.runBare(TestCase.java:134) > > [INFO] at junit.framework.TestResult$1.protect(TestResult.java:110) > > [INFO] at junit.framework.TestResult.runProtected(TestResult.java:128) > > [INFO] at junit.framework.TestResult.run(TestResult.java:113) > > [INFO] at junit.framework.TestCase.run(TestCase.java:124) > > [INFO] at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:132) > > [INFO] at junit.framework.TestSuite.runTest(TestSuite.java:232) > > [INFO] at junit.framework.TestSuite.run(TestSuite.java:227) > > [INFO] at junit.framework.TestSuite.runTest(TestSuite.java:232) > > [INFO] at junit.framework.TestSuite.run(TestSuite.java:227) > > [INFO] at > org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105) > > [INFO] at junit.textui.TestRunner.start(TestRunner.java:180) > > [INFO] at > org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63) > > [INFO] > > [INFO] > > [INFO] Results : > > [INFO] > > [INFO] Tests in error: > > [INFO] testSomething(com.hp.f8upper.client.GwtTestSample) > > [INFO] > > > > Any advice on how to solve it? On windows it is all running fine. > > > > Thanks, > > Nir > > > > > > [image: cid:image002.gif@01C8A6B4.5BE7C860] > > *Nir Feldman* > Release Control R&D Team Leader > Hewlett-Packard Company > > +972-3-5399896 Phone > +972-54-7213833 Cell > +972-3-5331617 Fax > nir.feld...@hp.com > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
<<image001.gif>>