2328: Starting thread to listen on port 80.
[Wed Oct 31 01:12:23 2007] [notice] Parent: Received restart signal --
Restarting the server.
[Wed Oct 31 01:12:23 2007] [notice] Child 2328: Exit event signaled.
Child process is ending.
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:23 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:23 2007] [notice] Apache/2.2.6 (Win32) mod_wsgi/
2.0c1 Python/2.5.1 configured -- resuming normal operations
[Wed Oct 31 01:12:23 2007] [notice] Server built: Sep 5 2007 08:58:56
[Wed Oct 31 01:12:23 2007] [notice] Parent: Created child process 3944
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:23 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:23 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:23 2007] [notice] Child 3944: Child process is
running
[Wed Oct 31 01:12:23 2007] [info] Parent: Duplicating socket 188 and
sending it to child process 3944
[Wed Oct 31 01:12:23 2007] [info] mod_wsgi (pid=3944): Attach
interpreter ''.
[Wed Oct 31 01:12:23 2007] [info] mod_wsgi (pid=3944): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:24 2007] [info] Child 2328: Accept thread exiting.
[Wed Oct 31 01:12:24 2007] [notice] Child 2328: Released the start
mutex
[Wed Oct 31 01:12:24 2007] [info] Child 2328: 250 threads blocked on
the completion port
[Wed Oct 31 01:12:24 2007] [notice] Child 3944: Acquired the start
mutex.
[Wed Oct 31 01:12:24 2007] [notice] Child 3944: Starting 250 worker
threads.
[Wed Oct 31 01:12:25 2007] [notice] Child 2328: Waiting for 250 worker
threads to exit.
[Wed Oct 31 01:12:25 2007] [notice] Child 2328: All worker threads
have exited.
[Wed Oct 31 01:12:25 2007] [info] mod_wsgi (pid=2328): Cleanup
interpreter ''.
[Wed Oct 31 01:12:25 2007] [info] mod_wsgi (pid=2328): Terminating
Python.
[Wed Oct 31 01:12:25 2007] [notice] Child 3944: Starting thread to
listen on port 80.
[Wed Oct 31 01:12:47 2007] [info] mod_wsgi (pid=3944): Create
interpreter 'localhost|/query/servlet'.
[Wed Oct 31 01:12:47 2007] [info] mod_wsgi (pid=3944): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:47 2007] [info] [client 127.0.0.1] mod_wsgi
(pid=3944, process='', application='localhost|/query/servlet'):
Loading WSGI script 'C:/Program Files/Apache/trunk/wsgi/query.py'.,
referer:
http://localhost/query/query.htm [Wed Oct 31 01:12:47 2007] [error] module #1
[Wed Oct 31 01:12:48 2007] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:48 2007] [notice] Apache/2.2.6 (Win32) mod_wsgi/
2.0c1 Python/2.5.1 configured -- resuming normal operations
[Wed Oct 31 01:12:48 2007] [notice] Server built: Sep 5 2007 08:58:56
[Wed Oct 31 01:12:48 2007] [notice] Parent: Created child process 2512
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:48 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:48 2007] [notice] Child 2512: Child process is
running
[Wed Oct 31 01:12:48 2007] [info] Parent: Duplicating socket 188 and
sending it to child process 2512
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi (pid=2512): Attach
interpreter ''.
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi (pid=2512): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:48 2007] [notice] Child 2512: Acquired the start
mutex.
[Wed Oct 31 01:12:48 2007] [notice] Child 2512: Starting 250 worker
threads.
[Wed Oct 31 01:12:48 2007] [notice] Child 2512: Starting thread to
listen on port 80.
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi (pid=2512): Create
interpreter 'localhost|/query/servlet'.
[Wed Oct 31 01:12:48 2007] [info] mod_wsgi (pid=2512): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:48 2007] [info] [client 127.0.0.1] mod_wsgi
(pid=2512, process='', application='localhost|/query/servlet'):
Loading WSGI script 'C:/Program Files/Apache/trunk/wsgi/query.py'.,
referer:
http://localhost/query/query.htm [Wed Oct 31 01:12:48 2007] [error] module #1
[Wed Oct 31 01:12:49 2007] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:49 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:49 2007] [notice] Apache/2.2.6 (Win32) mod_wsgi/
2.0c1 Python/2.5.1 configured -- resuming normal operations
[Wed Oct 31 01:12:49 2007] [notice] Server built: Sep 5 2007 08:58:56
[Wed Oct 31 01:12:49 2007] [notice] Parent: Created child process 3748
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:49 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:49 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:49 2007] [notice] Child 3748: Child process is
running
[Wed Oct 31 01:12:49 2007] [info] Parent: Duplicating socket 188 and
sending it to child process 3748
[Wed Oct 31 01:12:49 2007] [info] mod_wsgi (pid=3748): Attach
interpreter ''.
[Wed Oct 31 01:12:49 2007] [info] mod_wsgi (pid=3748): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:49 2007] [notice] Child 3748: Acquired the start
mutex.
[Wed Oct 31 01:12:49 2007] [notice] Child 3748: Starting 250 worker
threads.
[Wed Oct 31 01:12:49 2007] [notice] Child 3748: Starting thread to
listen on port 80.
[Wed Oct 31 01:12:54 2007] [info] mod_wsgi (pid=3748): Create
interpreter 'localhost|/query/servlet'.
[Wed Oct 31 01:12:54 2007] [info] mod_wsgi (pid=3748): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:54 2007] [info] [client 127.0.0.1] mod_wsgi
(pid=3748, process='', application='localhost|/query/servlet'):
Loading WSGI script 'C:/Program Files/Apache/trunk/wsgi/query.py'.,
referer:
http://localhost/query/query.htm [Wed Oct 31 01:12:54 2007] [error] module #1
[Wed Oct 31 01:12:55 2007] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:55 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:55 2007] [notice] Apache/2.2.6 (Win32) mod_wsgi/
2.0c1 Python/2.5.1 configured -- resuming normal operations
[Wed Oct 31 01:12:55 2007] [notice] Server built: Sep 5 2007 08:58:56
[Wed Oct 31 01:12:55 2007] [notice] Parent: Created child process 2476
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Compiled for Python/2.5.
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Runtime using Python/
2.5.1.
[Wed Oct 31 01:12:55 2007] [warn] mod_wsgi: Python module path 'C:\
\WINDOWS\\system32\\python25.zip;C:\\Program Files\\Python\\Lib;C:\
\Program Files\\Python\\DLLs;C:\\Program Files\\Python\\Lib\\lib-tk;;C:
\\Program Files\\Apache\\bin'.
[Wed Oct 31 01:12:55 2007] [info] mod_wsgi: Initializing Python.
[Wed Oct 31 01:12:55 2007] [notice] Child 2476: Child process is
running
[Wed Oct 31 01:12:55 2007] [info] Parent: Duplicating socket 188 and
sending it to child process 2476
[Wed Oct 31 01:12:55 2007] [info] mod_wsgi (pid=2476): Attach
interpreter ''.
[Wed Oct 31 01:12:55 2007] [info] mod_wsgi (pid=2476): Adding 'C:/
Program Files/Apache/trunk/wsgi' to path.
[Wed Oct 31 01:12:55 2007] [notice] Child 2476: Acquired the start
mutex.
[Wed Oct 31 01:12:55 2007] [notice] Child 2476: Starting 250 worker
threads.
[Wed Oct 31 01:12:55 2007] [notice] Child 2476: Starting thread to
listen on port 80.
I dont get any response at all in my ajax firebug window just
Loading...
#import os, sys
#here = os.path.dirname(__file__)
#if here not in sys.path:
# sys.path.append(here)
import sys
print >> sys.stderr, 'module #1'
from db import MySql
from xml.dom import minidom
from xml.sax.saxutils import escape
def application(environ, response):
...the usual python stuff...
Python
...
read more »