Message10435
Sorry, "import re" turned out to be a red herring (the fact that in 2.5.2 and even in 2.7.0 calling re without importing it works when it shouldn't remains, but it seems to be a separate issue).
This problem just occurred again. After tomcat restart, first call of the script worked, later calls didn't.
To make the script work again, it was actually enough to save the .py file again unchanged (that's why adding "import re" seemingly helped the first time - I saved the file).
I'm using standard stuff in web.xml:
<servlet>
<servlet-name>PyServlet</servlet-name>
<servlet-class>org.python.util.PyServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>PyServlet</servlet-name>
<url-pattern>*.py</url-pattern>
</servlet-mapping> |
|
Date |
User |
Action |
Args |
2015-11-06 09:16:35 | helix84 | set | messageid: <1446801395.44.0.344114174426.issue2392@psf.upfronthosting.co.za> |
2015-11-06 09:16:35 | helix84 | set | recipients:
+ helix84, zyasoft, public.marvin |
2015-11-06 09:16:35 | helix84 | link | issue2392 messages |
2015-11-06 09:16:33 | helix84 | create | |
|