Hi,

Updated my site with version 0.8.1 (www.modwest.com, running Redhat Linux
2.4 series kernel)

OneShot.cgi works with occasional session key errors.

Host ModWest will not install mod_webkit and does not allow compilation,
so I cannot use wkcgi either (no access to linux, is it possible to get a
compatible pre-compile binary?).

Seems that WebKit.cgi is the only alternative, but it will not start:

[EMAIL PROTECTED]:/$ ./AppServer
WebKit AppServer 0.8.1
part of Webware for Python
Copyright 1999-2001 by Chuck Esterbrook. All Rights Reserved.
WebKit and Webware are open source.
Please visit:  http://webware.sourceforge.net

Process id is 14488
Date/time is Wed Mar 24 11:16:15 2004

AutoReload             = 0
AutoReloadPollInterval = 1
CheckInterval          = 100
Host                   = 127.0.0.1
MaxServerThreads       = 10
MinServerThreads       = 5
PlugInDirs             = ['/htdocs/www/Webware']
PlugIns                = []
Port                   = 8086
PrintConfigAtStartUp   = 1
StartServerThreads     = 5
Verbose                = 1

ActivityLogColumns              = ['request.remoteAddress',
'request.method', 'request.uri', 'response.size', 'servlet.name',
'request.timeStamp', 'transaction.duration', 'transaction.errorOccurred']
ActivityLogFilename             =
/htdocs/www/Webware/WebKit/Logs/Activity.csv
AdminPassword                   = ...
CacheServletClasses             = 1
CacheServletInstances           = 1
ClearPSPCacheOnStart            = 1
Contexts                        = {'Admin':
'/htdocs/www/Blennylips/Admin', 'default': '/htdocs/www/Blennylips',
'Blennylips': '/htdocs/www/Blennylips'}
Debug                           = {'Sessions': 0}
DirectoryFile                   = ['index', 'Index', 'main', 'Main']
DynamicSessionTimeout           = 15
EmailErrorReportAsAttachment    = 0
EmailErrors                     = 1
ErrorEmailHeaders               = {'To': ['[EMAIL PROTECTED]'],
'Reply-to': '[EMAIL PROTECTED]', 'From': '[EMAIL PROTECTED]',
'Content-type': 'text/html', 'Subject': '[Blennylips Error]'}
ErrorEmailServer                = mail.modwest.com
ErrorLogFilename                = /htdocs/www/Webware/WebKit/Logs/Errors.csv
ErrorMessagesDir                = /htdocs/www/Webware/WebKit/ErrorMsgs
ExtensionCascadeOrder           = ['.py', '.psp', '.html']
ExtensionsToIgnore              = ['.pyc', '.pyo', '.py~', '.psp~',
'.html~', '.bak', '.tmpl']
ExtensionsToServe               = []
ExtraPathInfo                   = 0
FancyTracebackContext           = 5
FilesToHide                     = ['.*', '*~', '*.bak', '*.tmpl',
'*.config', '__init__.*', '*.pyc', '*.pyo']
FilesToServe                    = []
IgnoreInvalidSession            = 1
IncludeFancyTraceback           = 0
LogActivity                     = 0
MaxDynamicMemorySessions        = 10000
MaxValueLengthInExceptionReport = 500
OldStyleActions                 = 0
PrintConfigAtStartUp            = 1
RPCExceptionReturn              = traceback
ReportRPCExceptionsInWebKit     = 1
SaveErrorMessages               = 1
SessionPrefix                   = None
SessionStore                    = Dynamic
SessionTimeout                  = 60
ShowDebugInfoOnErrors           = 1
UnknownFileTypes                = {'CheckDate': 1, 'Technique':
'serveContent', 'CacheContent': 1, 'ReuseServlets': 1}
UseAutomaticPathSessions        = 0
UseCascadingExtensions          = 1
UserErrorMessage                = The site is having technical
difficulties with this page. An error has been logged, and the problem
will be fixed as soon as possible. Sorry!

Traceback (most recent call last):
  File "WebKit/ThreadedAppServer.py", line 592, in run
    server = ThreadedAppServer(workDir)
  File "WebKit/ThreadedAppServer.py", line 66, in __init__
    AppServer.__init__(self, path)
  File "WebKit/AutoReloadingAppServer.py", line 43, in __init__
    AppServer.__init__(self,path)
  File "/htdocs/www/Webware/WebKit/AppServer.py", line 67, in __init__
    self._app = self.createApplication()
  File "/htdocs/www/Webware/WebKit/AppServer.py", line 171, in
createApplication
    return Application(server=self)
  File "/htdocs/www/Webware/WebKit/Application.py", line 127, in __init__
    self._taskManager.start()
  File "/var/tmp/python2-2.2.3-root/usr/lib/python2.2/threading.py", line
396, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread


Exiting AppServer

[EMAIL PROTECTED]:/$ cat AppServer
#!/bin/sh

# as long as the appserver returns a 3, it wants to be restarted

cd /htdocs/www/Webware/WebKit
retcode=3
while test $retcode -eq 3; do
    /usr/bin/python2.2 Launch.py ThreadedAppServer $*
    retcode=$?
done


Anyone have any suggestions?

Thanks!

-- 
Roger Burnham
www.blennylips.com




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to