I try to run web.py with Jython (Jython 2.5rc2 + socket.py patch
http://fisheye3.atlassian.com/browse/~raw,r=6354/jython/trunk/jython/Lib/socket.py).

The first problem seems to be the included CherryPy wsgiserver  for
which I ask for a change already http://www.cherrypy.org/ticket/921
Problem is the usage of socket.TCP_NODELAY which is not supported by
Jython. It that would be configurable in CherryPy and/or web.py at
least this problem would be gone I think.
I hacked the server and using the following to start a web.py app at
least does that the server:

{
import wsgiserver
        httpd = wsgiserver.CherryPyWSGIServer(
                ('0.0.0.0', PORT), application,
                server_name='www.cherrypy.example')
        httpd.start()
}



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to