<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Following the steps in this post worked for me:&nbsp;<a href="http://onsmalltalk.com/programming/smalltalk/running-squeak-as-a-service/">http://onsmalltalk.com/programming/smalltalk/running-squeak-as-a-service/</a><div><br></div><div>Using the RFB package means the image is still usable.</div><div><br></div><div>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:&nbsp;</div><div><br></div><div><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en</a></div><div><br></div><div>HTH.</div><div>Simon</div><div><br><div><div>On 10 Oct 2008, at 04:52, Bill Schwab wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Andreas,<br><br>Thanks, that gives me some things to check.<br><br>Bill<br><br><br><br>=====================================<br>Andreas Raab &lt;andreas.raab@...>andreas.raab@... <br><br>Bill Schwab wrote:<br><blockquote type="cite">I am trying to run a Pharo+Seaside image as a service on XP and<br></blockquote><blockquote type="cite">ultimately win2k3, and just got it going on xp at least using the<br></blockquote><blockquote type="cite">appraoch documented on the Wiki:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://wiki.squeak.org/squeak/105">http://wiki.squeak.org/squeak/105</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I will try it on 2k3 either tonight or tomorrow.<br></blockquote><br>Be advised that much of this hasn't been exercised in years (I needed it<br>at one point but few people have used it later).<br><br><blockquote type="cite">Recommendations point toward using svrany, but I cannot get that to<br></blockquote><blockquote type="cite">work. Windows gives me a message along the lines of "the service<br></blockquote><blockquote type="cite">started and then stopped" and further says that some services stop if<br></blockquote><blockquote type="cite">they have nothing to do. Any ideas what might be going on, how I might<br></blockquote><blockquote type="cite">debug it, etc.? If you strongly disagree with the recommendation to<br></blockquote>use<br><blockquote type="cite">svrany, please say so. However, I am still curious about what might be<br></blockquote><blockquote type="cite">going wrong and how to find it.<br></blockquote><br>I don't know svrany so you'll have to ask someone more knowledgeable.<br>However, I can give you some general advice: Most importantly, try the<br>*EXACT* command line you are using from an obscure location and see if<br>that works as you expect it. You might be relying on some implicit<br>assumption that do not hold true when running as a service. For example,<br>if you are making assumptions about the startup directory either by<br>wanting Squeak to find an image implicitly or by using a relative path<br>you could be badly off. Also, access to the directory might be an issue<br>(I don't know if srvany allows you to specify which user to run as).<br>Lastly, you should try to generate a log file (using -log:) and check<br>that or the event viewer to see if srvany has anything to say about<br>startup.<br><br>Hope this helps,<br>- Andreas<br><br><br>Wilhelm K. Schwab, Ph.D.<br>University of Florida<br>Department of Anesthesiology<br>PO Box 100254<br>Gainesville, FL 32610-0254<br><br>Email: <a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a><br>Tel: (352) 273-6785<br>FAX: (352) 392-7029<br><br><br></div></blockquote></div><br></div><br><br>
<A href="http://www.pinesoft.co.uk/"></A>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma">*******************************************************************************************************************************************</SPAN></o:p></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma"></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">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. <o:p></o:p></SPAN></P>
<ADDRESS>
<P style="BACKGROUND: white; MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 8pt; mso-bidi-font-style: italic"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma">*******************************************************************************************************************************************<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Pinesoft&nbsp;Limited are registered in <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><st1:country-region w:st="on">England</st1:country-region></st1:place>, Registered number: 2914825. Registered office: <st1:address w:st="on"><st1:Street w:st="on">266-268 High Street</st1:Street>, <st1:City w:st="on">Waltham</st1:City></st1:address> Cross, <st1:place w:st="on"><st1:City w:st="on">Herts</st1:City>, <st1:PostalCode w:st="on">EN8 7EA</st1:PostalCode></st1:place></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><st1:place w:st="on"><st1:PostalCode w:st="on"></st1:PostalCode></st1:place></SPAN>&nbsp;</o:p></SPAN></NOBR></SPAN></P></ADDRESS>
</body></html>