[Web-SIG] Modjy and external packages.

Paul Boddie paul.boddie at ementor.no
Wed Oct 6 16:46:32 CEST 2004


Alan Kennedy wrote:
> 
> When referencing external jars in modjy applications, it is not 
> sufficient to place the jar on the classpath, or to place it in the 
> WEB-INF/lib directory.

Really? I know that Java Servlet deployment issues are infuriating
enough as
it is, but all I've ever needed to do with JythonServlet (which forms
the
basis of WebStack's Java/Jython support) is to make sure that relevant
libraries reside in the WEB-INF/lib directory. At least, the basic
servlet
libraries have to reside there, despite them also residing in lots of
other
places within Apache Tomcat (which is what I'm testing on).

Perhaps recent Tomcat developments (I'm using 4.1.27) have messed around
with the security model, but I've never seen any need for what you
suggest...

> import sys
> sys.add_package('org.apache.lucene')

modjy looks interesting, though.

Paul


More information about the Web-SIG mailing list