Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
patch
WikiEngine.java.patch 1.9 kB 1 25-Nov-2006 21:03 206.152.117.245

This page (revision-8) was last changed on 09-Mar-2011 20:55 by Harry Metske  

This page was created on 01-Nov-2006 08:15 by 206.152.117.245

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 38 added 9 lines
----
It seems that in Tomcat 4.1.31 you are not guaranteed during ServletContext startup that you will always get the exact same ServletContext object. This was causing both the WikiServlet.java and WikiServletFilter.java init() methods to trigger creation of a new WikiEngine when they called WikiEngine.getInstance().
The uploaded patch gets rid of the static Hashtable for storing the WikiEngine intances and instead stores each respective WikiEngine instance as an attribute in the Container ServletContext.
--Glenn NIelsen, 25-Nov-2006
Version Date Modified Size Author Changes ... Change note
8 09-Mar-2011 20:55 1.944 kB Harry Metske to previous
7 09-Mar-2011 11:10 2.146 kB Genoclokecing to previous | to last
6 29-Jan-2011 19:31 1.944 kB Harry Metske to previous | to last restored previous version
5 29-Jan-2011 17:14 2.004 kB pauloi to previous | to last
4 30-Nov-2006 21:44 1.944 kB JanneJalkanen to previous | to last
3 25-Nov-2006 21:02 1.897 kB Glenn NIelsen to previous | to last Comment by Glenn NIelsen
2 01-Nov-2006 08:16 1.342 kB Glenn Nielsen to previous | to last Comment by Glenn Nielsen
1 01-Nov-2006 08:15 1.281 kB 206.152.117.245 to last
« This page (revision-8) was last changed on 09-Mar-2011 20:55 by Harry Metske