Dieter Maurer wrote:
Allen Schmidt Sr. wrote at 2009-8-4 13:45 -0400:
In the ZMI, there are:

/session_folder/      ( a regular folder )
   session_data      ( Transient Object Container )

/session_data_manager ( Session Data Manager )

All the parts seem right but its not working....session writes wind up 
as anonymous transactions in the main ZODB.

Any ideas?

Verify that "session_folder" is a mount point and not a regular

This is not trivial as a mount point, once mounted, tries hard to
become the mounted object (this happens in its "__of__" method).
You must avoid acquisition to check that it is indeed a mount point.
One way is to use "app._p_activate(); app.__dict__['session_folder']".
This must return a mount point, not a folder.
I verified using your process that it is indeed just a folder. So I deleted the session_folder in the root and then tried to add a ZODB mount point in the root and it showed the session_folder was ready to be created. I made sure that option was checked and clicked Ok. It reloaded the root folder and the new session_folder was there, but it still seems like it is just a regular folder and does not identify itself as a mount point. I also added the session_data object into that folder as a Transient Object Container as it was before.

Does the session_data_manager that points to that session_data folder also have to be removed in this process? Could be holding it up somehow?
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to