From: Robert W. B. <rb...@di...> - 2000-12-24 00:47:58
|
[Finn] > I think that you have jython.jar included on your CLASSPATH before > starting tomcat, correct? Yes. > With tomcat 4.0m5 (the only one I have tested with) I had success with > copying jython.jar to %TOMCAT_HOME%\webapps\jython\WEB-INF\lib. This way > the deployment .war can be completely self contained. Excellent! Do you then use TOMCAT_OPTS to set python.home? It seems Jython reads the registry from wherever it finds the jython.jar if I don't set python.home- I'm worried about what happens when a client has 2+ Jython webapps that are self-contained this way. I'll have to try and find out. Also, is it known why the posted example crashes if I use "self.username" as an instance variable instead of the current "self.usrname"? I'll have time next week to find out, just curious if ppl already knew so I could save some time. -Robert |