We're running the latest released Webware, Linux (RH 7.3), Python 2.3.2, Apache 1.3.x, mod_webkit adapter, and we're using the File session store. We're seeing an increased number of KeyError tracebacks, where the "key" is the session key. Interestingly, we just got two tracebacks within a couple seconds; the first complained about the missing key, but the second (two seconds later) had the key. These were from a user who had been logged in for a while.
I'd be grateful for any ideas about what's going on, suggestions on where to look, etc. One more bit of important information: We have load-balanced Apache servers, and the session files are stored on an NFS-mounted directory. We're doing this precisely because of the load-balancing, but if it's causing the problem, we'll have to find another way. In the case below, the first traceback was from one server, and the second was from the second. First traceback (14:17:38Z): /home/adc/adc/wwwroot/ADCContext/GraphicalWX.py Traceback (most recent call last): File "WebKit/Application.py", line 395, in dispatchRequest File "WebKit/Application.py", line 494, in isSessionIdProblematic File "WebKit/HTTPRequest.py", line 222, in session File "WebKit/Transaction.py", line 67, in session def getSessionID(self): File "WebKit/Application.py", line 963, in createSessionForTransaction File "WebKit/Application.py", line 789, in session File "WebKit/SessionFileStore.py", line 55, in __getitem__ KeyError: '20040529141722-e0962267bdec1bed52cab612f612aba1' But the second (probably generated by reloading the Error page) has the session key just fine (I've deleted most of the traceback). It was generated at 14:17:40Z: /home/adc/adc/wwwroot/ADCContext/ErrorPage.py Traceback (most recent call last): File "/usr/local/Webware/WebKit/Application.py", line 415, in dispatchRequest self.handleGoodURL(transaction) File "/usr/local/Webware/WebKit/Application.py", line 567, in handleGoodURL self.respond(transaction) File "/usr/local/Webware/WebKit/Application.py", line 776, in respond transaction.respond() File "/usr/local/Webware/WebKit/Transaction.py", line 105, in respond self._servlet.respond(self) File "/usr/local/lib/python2.3/site-packages/Webware/Cheetah/Templates/SkeletonPa ge.py", line 225, in respond self.writeBody(trans=trans) # generated from ('writeBody', '#block writeBody') at line 45, col 1. File "/home/adc/adc/wwwroot/ADCContext/ADCBase.py", line 1021, in writeBody self.writeOuterPage(trans=trans) # generated from ('writeOuterPage', '#block writeOuterPage') at line 137, col 1. File "/home/adc/adc/wwwroot/ADCContext/ADCBase.py", line 947, in writeOuterPage self.writePage(trans=trans) # generated from ('writePage', '#block writePage') at line 138, col 1. File "/home/adc/adc/wwwroot/ADCContext/ADCBase.py", line 911, in writePage self.writePageWithLogo(trans=trans) # generated from ('writePageWithLogo', '#block writePageWithLogo') at line 163, col 1. File "/home/adc/adc/wwwroot/ADCContext/ErrorPage.py", line 224, in writePageWithLogo write(filter(VFN(ADCExceptionHandler(),"getHTML",True))) # generated from '$ADCExceptionHandler().getHTML' at line 34, col 2. File "/home/adc/adc/wwwroot/ADCContext/ADCExceptionHandler.py", line 83, in getHTML return self.displayHTML AttributeError: ADCExceptionHandler instance has no attribute 'displayHTML' ... attr value args uri '/ADC/ErrorPage' servletPath '/ADC' serverSidePath '/home/adc/adc/wwwroot/ADCContext/ErrorPage.py' pathInfo None pathTranslated '/home/adc/adc/wwwroot/ErrorPage' queryString '' method 'GET' sessionId '20040529141722-e0962267bdec1bed52cab612f612aba1' parents [] fields cookies Apache 144.243.224.232.130171085840242501 _SID_ 20040529141722-e0962267bdec1bed52cab612f612aba1 environ DOCUMENT_ROOT /home/adc/adc/wwwroot GATEWAY_INTERFACE CGI/1.1 HTTPS on Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss