Am Dienstag, den 11.05.2010, 17:36 +0200 schrieb Silvio Tschapke: > Hi all, > > how do I configure tomcat that it finds the biopython libaries? > Biopython is not included in jython.jar (which I have moved into the > tomcat/lib folder. > Biopython installs itself into the python26/lib/side-packages folder. If my google-research is correct, you will have to use a branch of bioperl which supports jython: http://github.com/kellrott/biopython
If you use this and jython 2.5.1, you will have to set the environment variable JYTHONPATH=$PATH_WHERE_YOU_CHECKEDOUT_BIOPYTHON After that you should be able to run jython in command line and do an >>> import Bio.Entrez without problems. When you have run that command successfully you could go further to try and embed jython with that environment variable into a servlet. Bye Felix Thanks to Chris for providing the link to the jython tutorial :) > > But how can I tell tomcat about this? There is no python.jar neither a > biopython.jar file which I could drop into tomcat/lib. > > While running my Java Servlet which accesses a Jython module, that should > access a Biopython class, this class cannot be found. > > Thanks for your reply! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org