On Fri, Aug 27, 2010 at 9:59 PM, Sven Van Caekenberghe <sven@beta9.be> wrote:
It works now: I tried closing all open windows in the image and now it runs headless. I thought that wasn't necessary with other VMs but maybe I always did so without thinking about it.
I confirm I had to close an open window in the image before being able to run with -vm-display-null. I tried with -sendtrace and got no result. If the window is not closed, nothing seems to happen. To reproduce on linux: 1) download http://hudson.lukas-renggli.ch/job/Pier%202/248/artifact/Pier-2.0-OneClick.z... 2) unzip the file 3) cd into the directory 4) execute: ./Contents/Linux/squeakvm -plugins ./Contents/Linux -encoding latin1 -vm-display-null -vm-sound-null -sendtrace ./Contents/Resources/Pier.image the prompt is not returned to the user (which is ok), but 'http://localhost:8080/pier' does not answer. 5) press Ctrl-c to kill the vm 6) execute the same line and change -vm-display-null to -vm-display-X11 7) Pharo opens, close the Seaside adapters window 8) save your image 9) execute same line as in 4) now http://localhost:8080/pier displays the correct page. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry