From: <ra...@cs...> - 2008-02-20 16:05:08
|
dear all, how to set python.home in jython to run jython servlet ? rachmat |
From: <cl...@br...> - 2008-02-20 18:03:01
Attachments:
smime.p7s
|
Dear Rachmat, There is no need to define the "python.home" to run a Jython code inside a servlet container. To make the libraries visible to the web server, copy the file jython.jar into the servers /lib/ext folder. Pick this file from the Jython distributions root directory. Under the Jetty 6 web server, a good place is to copy the jyton,jar into the following path C:\jetty\jetty-6.x.x\lib\ext. (x.x is the currently installed version of the Jetty). Restart the web server and you well see on the Jetty console that the server recognizes the new jar and installs it automatically. The \lib\ext is also the right place to copy all other external Java packages, like Rome, or Sun mail and others. Under Geronimo, use the configuration file named geronimo-web.xml to specify the dependency and artifact tags for loading the jython.jar library. Check my previous e-mail which shows the details about the setup of the web.xml and geronimo-web.xml configurations. Regards, Claude Claude Falbriard Developer AMS Hortolândia / SP - Brazil phone: +55 13 8126 7787 cell: +55 13 8117 3316 e-mail: cl...@br... ra...@cs... Sent by: jyt...@li... 02/20/2008 01:02 PM To jyt...@li... cc Subject [Jython-users] how to set python.home in jython to run jython servlet dear all, how to set python.home in jython to run jython servlet ? rachmat ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |