logo       

Sharing jython.jar in tomcat: msg#00027

lang.jython.devel

Subject: Sharing jython.jar in tomcat


I'd like to share a single copy of jython.jar across many web applications running inside tomcat4.

So I delete $ROOT/webapp/WEB-INF/lib/jython.jar and copy it to /var/lib/tomcat4/shared/lib/jython.jar and importing simple classes such as java.lang.System from jython scripts breaks.

I suspect that this has something to do with classloaders i.e jython is loaded by different classloaders in the two cases. But I'm not sure why it's able to find rt.jar in one case, but not the other.

Any tips on how to get this to work on jpackage-1.5/tomcat-4.1 ?

-Arun



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise