[mod_python] Loading servlet problem

Manera, Villiam vmanera at manord.com
Tue Jun 21 12:36:47 EDT 2005


I noted a funny behavior on loading servlet, sometime work sometime :

File "/usr/local/lib/python2.4/site-packages/mod_python/servlet.py",
line 1345, in get_servlet
    klass, servlets = self.__load_servlet(filename)

  File "/usr/local/lib/python2.4/site-packages/mod_python/servlet.py",
line 1276, in __load_servlet
    raise ValueError, ('%s is not a subclass of Servlet (in %s)'

ValueError: menu is not a subclass of Servlet (in
/discoe/script/cgi/bulgaria/bulgaria_menu.py/menu.mps)

Obviously menu.mps is subclass od Servlet.


This happened sometime, on different servlet ????


If I restart apache all work fine for some time...


Villiam



More information about the Mod_python mailing list