[squeak-dev] Re: Squeak/Pharo as service on Windows

Simon Kirk simon at pinesoft.co.uk
Fri Oct 10 09:49:41 UTC 2008


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:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

HTH.
Simon

On 10 Oct 2008, at 04:52, Bill Schwab wrote:

> Andreas,
>
> Thanks, that gives me some things to check.
>
> Bill
>
>
>
> =====================================
> Andreas Raab <andreas.raab at ...>andreas.raab at ...
>
> 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: bschwab at anest.ufl.edu
> Tel: (352) 273-6785
> FAX: (352) 392-7029
>
>



******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081010/00131448/attachment.htm


More information about the Squeak-dev mailing list