The WebKit/webkit rc script doesn't have this problem, though you'll
have to put the paths in yourself. It's the best way to start the
AppServer when you're not doing development.
On Wed, 2003-07-16 at 20:42, Roger Haase wrote:
> Hi,
>
> I am practicing the installation and running of my Webware app on a
> dedicated remote hosted linux server with ssh and WebMin access.
>
> A starting assumption is the way to start the AppServer is to ssh in
> and start it in the normal manner and then disconnect, leaving it
> running. Per the docs, I should be able to start another ssh session
> and issue a:
> ./AppServer stop
>
> This fails in the "stop" function of AppServer.py trying to:
>
> pidfile = os.path.join(os.path.dirname(__file__),"appserverpid.txt")
>
> ...which points to the WebKit directory.
>
> The problem seems to be the "recordPID" method of AppServer.py stored
> the PID in the mycontext directory:
>
> pidfile = open(os.path.join(self._serverSidePath,
> "appserverpid.txt"),"w")
>
>
> I was testing with the 8.0 release; the CVS version of AppServer.py
> seems to have some code changes but the directory mismatch appears to
> persist. I think the mycontext directory is the right place for the PID
> file to be stored, but the "stop" function (as I understand it) doesn't
> have a way to find the mycontext directory ("stop" is called from the
> "main" function in ThreadedAppServer.py).
>
>
> Using the "admin" function to stop the AppServer is probably an easy
> way around this, but I understand the recommendation is to disable the
> admin functions for production sites. I tried the kill method as well,
> but that doesn't seem to shut down cleanly and I was unable to restart
> the AppServer without rebooting.
>
> Any suggestions?
>
> Roger Haase
>
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss