Hi Liz,

That's the classical "works for me, doesn't work on the Cruise box"
Java problem when doing anything to do with Swing: you need to start
the JVM in headless mode. More info here:

http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/

Hope that helps!

- Carlos

On 3/12/07, Elizabeth Keogh <[EMAIL PROTECTED]> wrote:

Hi Rolf,

From the logs, it looks as though JBehave is having trouble running Swing.
The build works just fine on my machine! This is interesting though:

[run behaviours] 1) WindowGrabber should add new windows to and remove new
windows from mini map:
[run behaviours] java.lang.InternalError: Can't connect to window server -
not enough permissions.
[run behaviours] at
java.lang.ClassLoader$NativeLibrary.load(Native Method)
[run behaviours] at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
[run behaviours] at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
[run behaviours] at java.lang.Runtime.loadLibrary0(Runtime.java:822)

Has something changed on the server on your side? These behaviours were
running without failing the build before...

It should be possible to run these in headless mode (will throw a
PendingException but won't fail the build).  It's not working at the moment,
though, so it's on my list. Thank you for letting us know!

Cheers,
Liz.

--
 Elizabeth Keogh
 [EMAIL PROTECTED]
 http://www.livejournal.com/users/sirenian


Rolf Russell/UK/ThoughtWorks wrote on 10/03/2007 21:49:35:

 >
http://cruisecontrolrb.thoughtworks.com/builds/JBehave/701

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to