Re: [Pws] Running the swiki in Windows as a service to start automatically

2006-08-02 Thread Hans Kruse
I had a similar problem.  Check the Properties tab of the service.  There should be a checkbox saying something like "Allow Service to Interact with the Desktop".  In my case that was unchecked by default; checking the text box allowed the service to start.On Aug 2, 2006, at 12:10, Natalia Esteban wrote:Hi! I install comanche 7.0.2 on Win Server 2003 Standard Edition. I was trying to configure the webserver as a service to start automatically when I restart the system. So I saved the image started and then I close all and entered a command line like c:\Program Files\ComSwiki\squeak  -service: "Swiki" "c:\Program Files\ComSwiki\squeak.image"   And  in the squeak.ini file, I add the line ImageFile="squeak.image"   All ok, but the service is stop and when I try to start it I get the following error:   Could not start the Swiki service on Local Computer  Error 193: 0xc1   What can I do? Regards!!   Naty  ___Pws mailing listPws@cc.gatech.eduhttps://mailman.cc.gatech.edu/mailman/listinfo/pws  Hans Kruse, ProfessorJ. Warren McClure School of Information and Telecommunication SystemsAdjunct Associate Professor of Electrical Engineering and Computer Science292 Lindley Hall, Ohio University, Athens, OH, 45701740-593-4891 voice, 740-593-4889 fax ___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws


Re: [Pws] Running the swiki in Windows as a service to start automatically

2006-08-02 Thread Derrel Fincher
Check out http://derrel.net/coweb/service.htm.

Derrel

At 01:10 PM 8/2/2006 -0300, Natalia Esteban wrote:
Hi!
I install comanche 7.0.2 on Win Server 2003 Standard Edition.
I was trying to configure the webserver as a service to start 
automatically when I restart the system.
So I saved the image started and then I close all and entered a command 
line like

c:\Program Files\ComSwiki\squeak  -service: Swiki c:\Program 
Files\ComSwiki\squeak.image

And  in the squeak.ini file, I add the line
  ImageFile=squeak.image

All ok, but the service is stop and when I try to start it I get the 
following error:

Could not start the Swiki service on Local Computer
Error 193: 0xc1

What can I do?
Regards!!

Naty


___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws

___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws


Re: [Pws] Running the swiki in Windows as a service to start automatically

2005-09-23 Thread Derrel Fincher


As I understand it, the full procedure to run Swiki as a service is:

1. Run Swiki first to choose the port and then start the service. Click
Save and Exit while the service is running.
2. In a command window, enter a command similar to the
following:
D:\Winterlong\ComSwiki\squeak -log:
D:\Winterlong\ComSwiki\log\log.txt -service:
Swiki
D:\Winterlong\ComSwiki\squeak.image
where the -log: D:\Winterlong\ComSwiki\log\log.txt is
optional.
3. In the squeak.ini file, add the line

ImageFile=squeak.image

How about posting this in the Swiki swiki so that others can see how to
do it? I know others would find this very useful. 
Derrel
At 05:50 PM 9/20/2005 -0700, David Klosowski wrote:
Hi,
I'm running Comanche 6.2 / Swiki 1.4 and I've been trying to set up
the
Swiki to start as a service on a Windows 2003 Server box. I can
get
Squeak to run as a service using the following command line:
D:\Winterlong\ComSwiki\squeak -log:
D:\Winterlong\ComSwiki\log\log.txt
-service: Swiki
D:\Winterlong\ComSwiki\squeak.image
I've looked at a couple ways of getting the Swiki to actually start
running as soon as the service starts:
1) Have the ComSwiki launcher in the state where the server is
started,
and then pressing save  exit
2) Creating a startUp message for the ComSwikiLauncher class:
startUp
ports _
.
self
startServer
I'm not sure if this approach was completely correct. I realize
the
class needs to be added to the SystemDictionary, but
ComSwikiLauncher
seems to already be added. It shows up when I do a 
Smalltalk
classNames. 
Does anyone else have any suggestions? Thanks for any
help!
Cheers,
Dave
___
Pws mailing list
Pws@cc.gatech.edu

https://mailman.cc.gatech.edu/mailman/listinfo/pws


___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws


RE: [Pws] Running the swiki in Windows as a service to start automatically

2005-09-23 Thread David Klosowski








I agree with Derrel. This could save time
and rectify problems that others have with a similar setup. 



Cheers,

Dave











From: Derrel Fincher
[mailto:[EMAIL PROTECTED] 
Sent: Friday, September 23, 2005
1:57 AM
To: David Klosowski;
pws@cc.gatech.edu
Subject: Re: [Pws] Running the
swiki in Windows as a service to start automatically





As I understand it, the full procedure to run Swiki as a service is: 

1. Run Swiki first to choose the port and then start the service. Click Save and
Exit while the service is running.

2. In a command window, enter a command similar to the following:

D:\Winterlong\ComSwiki\squeak -log:
D:\Winterlong\ComSwiki\log\log.txt -service: Swiki
D:\Winterlong\ComSwiki\squeak.image

where the -log: D:\Winterlong\ComSwiki\log\log.txt is optional.

3. In the squeak.ini file, add the line

ImageFile=squeak.image


How about posting this in the Swiki swiki so that others can see how to do it?
I know others would find this very useful. 

Derrel

At 05:50 PM 9/20/2005 -0700, David Klosowski wrote:



Hi,

I'm running Comanche 6.2 / Swiki 1.4 and I've been trying to set up the
Swiki to start as a service on a Windows 2003 Server box. I can get
Squeak to run as a service using the following command line:

D:\Winterlong\ComSwiki\squeak -log:
D:\Winterlong\ComSwiki\log\log.txt
-service: Swiki D:\Winterlong\ComSwiki\squeak.image

I've looked at a couple ways of getting the Swiki to actually start
running as soon as the service starts:

1) Have the ComSwiki launcher in the state where the server is started,
and then pressing save  exit

2) Creating a startUp message for the ComSwikiLauncher class:
startUp
ports _ .
self startServer

I'm not sure if this approach was completely correct. I realize the
class needs to be added to the SystemDictionary, but ComSwikiLauncher
seems to already be added. It shows up when I do a 
Smalltalk
classNames. 

Does anyone else have any suggestions? Thanks for any help!

Cheers,
Dave
___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws






___
Pws mailing list
Pws@cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/pws