Andreas,
Thanks, that gives me some things to check. Bill ===================================== Andreas Raab <andreas.raab@...>andreas.raab@... Bill Schwab wrote: > I am trying to run a Pharo+Seaside image as a service on XP and > ultimately win2k3, and just got it going on xp at least using the > appraoch documented on the Wiki: > > http://wiki.squeak.org/squeak/105 > > I will try it on 2k3 either tonight or tomorrow. Be advised that much of this hasn't been exercised in years (I needed it at one point but few people have used it later). > Recommendations point toward using svrany, but I cannot get that to > work. Windows gives me a message along the lines of "the service > started and then stopped" and further says that some services stop if > they have nothing to do. Any ideas what might be going on, how I might > debug it, etc.? If you strongly disagree with the recommendation to use > svrany, please say so. However, I am still curious about what might be > going wrong and how to find it. I don't know svrany so you'll have to ask someone more knowledgeable. However, I can give you some general advice: Most importantly, try the *EXACT* command line you are using from an obscure location and see if that works as you expect it. You might be relying on some implicit assumption that do not hold true when running as a service. For example, if you are making assumptions about the startup directory either by wanting Squeak to find an image implicitly or by using a relative path you could be badly off. Also, access to the directory might be an issue (I don't know if srvany allows you to specify which user to run as). Lastly, you should try to generate a log file (using -log:) and check that or the event viewer to see if srvany has anything to say about startup. Hope this helps, - Andreas Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: [hidden email] Tel: (352) 273-6785 FAX: (352) 392-7029 |
Following the steps in this post worked for me: http://onsmalltalk.com/programming/smalltalk/running-squeak-as-a-service/
Using the RFB package means the image is still usable. The resource kit (which is the thing that contains srvany) talked about in the post is quite tricky to track down. In the end this one was the right download for win2k3 (Ramin's post talks about the Windows NT resource kit, which is significantly out of date), I found: HTH. Simon On 10 Oct 2008, at 04:52, Bill Schwab wrote:
*******************************************************************************************************************************************
Pinesoft Limited are registered in |
Free forum by Nabble | Edit this page |