Hi Hans and Lukas,- wie startet man dann automatisch im Image, z.B. mit headless Squeak ?You should create one storage process by hand: Smalltalk at: #Server put: (SWKom startOn: 8080). Server storage: SWImageStorage new. Server storage delay: 60 * 5. Then save the image and use a startup script config.st with something like (you can put your config in here but be careful in using the storage: message which will create many trouble causing storage processes over time): Server stop. Server port: 9002. Server start. Start the server on Unix via: squeak -headless squeak.image file:///path/to/config.st &
************* Message from 3/17/04 and earlier pasted below ************
Chris Burkert wrote:Hi Maurice,
Maurice Rabb wrote:
I am having some trouble with my SmallWiki.
server _ SWKom startOn: 8888.
storage _ SWImageStorage new.
storage delay: 3 * 60.
server storage: storage. When the delay expires, it stores a snapshot as expected but the VM freezes up. There is some problem with the image it saves. It is not runnable.
However eveything seems to work properly if I execute:
server storage snapshot.
before the delay expires. I can do this repeatedly, but if it is done via the delay it hoses the image.
Has anyone else experienced this? I would appreciate any suggestions.
Yes I can reproduce this. Thanks for the report. Unfortunatly I can't have a look at this in the next days ... exams. I will sync the Squeak Port with VW in about 3-4 weeks and fix some bugs including this one. I hope you can wait till then or send me your own fix
Regards
Chris Burkert