[john]
> I'm about to start a new Lucene project and I might use Jython.  Has
> anyone had any luck deploying a Jython app eg Jython Django using
> mod_wsgi on Apache?

Jython and mod_wsgi won't work; mod_wsgi embeds a cpython interpreter
inside Apache, not a jython interpreter. (Although there might be some
weird and wonderful way, using products like jepp[1], or jpype[2])

If you want to run jython WSGI applications, best to run them inside a
servlet container, such as Tomcat or Glassfish, using modjy, the
servlets->WSGI bridge that is now distributed with jython.

More info about modjy here: http://modjy.xhaus.com

You could just expose the Tomcat server directly, or you could "embed"
it into Apache.

There are lots of options for connecting a front-end apache server to
a backend tomcat server.

http://wiki.apache.org/tomcat/FAQ/Connectors#Q3
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

Please feel free to ask further questions.

Alan.

[1] http://jepp.sourceforge.net/
[2] http://jpype.sourceforge.net/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Python Ireland" 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.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to