|
Sharing jython.jar in tomcat: msg#00027lang.jython.devel
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> |
|---|---|---|
| Previous by Date: | scripting in java, Bowles, Mickey (RIC) |
|---|---|
| Next by Date: | Why aren't there any new releases from jython, Anjan Bacchu\(D\) |
| Previous by Thread: | scripting in java, Bowles, Mickey (RIC) |
| Next by Thread: | Why aren't there any new releases from jython, Anjan Bacchu\(D\) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |