[deepamehta-users] Automatic Logout

Constantin Jucovschi jucovschi at gmail.com
Wed Sep 3 14:03:25 CEST 2014

Hello everybody,

The solution was to put

in Karaf's etc/system.properties file (gives 120 minutes to time out).

Indeed Karaf logs had the key to the solution:
cjucovschi at costea:~/karaf/data/log$ cat karaf.log | grep 15udo
2014-09-03 12:51:32,537 | INFO  | qtp86337976-1522 | 
AccessControlPlugin              | 167 - de.deepamehta.accesscontrol - 
4.4.0.SNAPSHOT | ##### Creating new session 15udo3qrlb8ro12xlkjd3ok61l 
2014-09-03 13:16:05,212 | WARN  | ssionScavenger-8 | 
teInvalidatingHashSessionManager | 79 - org.ops4j.pax.web.pax-web-jetty 
- 3.1.0 | Timing out for 1 session(s) with id 15udo3qrlb8ro12xlkjd3ok61l

Best regards,

On 03.09.2014 13:02, Jörg Richter wrote:
> Hi Constantin,
> normally DM does *not* log you out automatically. There is no session timeout.
> Once logged in DM creates a session in its webserver. The session ID is hold in a cookie. The cookie is a "session cookie", that is it has no expiration date. So your session is only lost when a) restarting the DM server (in particular its web server), or b) when you restart the browser (or delete the cookie manually).
> So, at the moment I have no explanation for what you're experiencing as "automatic logout". What actually makes you think DM logs you out? What are particular (error) messages in the server log resp. the browser's console?
> Do you use the DM Standard (resp. Karaf) distro, or do you provide your own (OSGi) environment and web server? Can you confirm that the JSESSIONID cookie stored in your browser has no expiration date (but is a "Session" cookie), as seen in the attached screenshot?
> Please excuse any inconvenience.
> Cheers,
> Jörg
> On Sep 3, 2014, at 11:30, Constantin Jucovschi wrote:
>> Dear DeepaMehta developers,
>> I use DeepaMehta to organize my thoughts on my thesis. I write parts of the text in Deepamehta and it is annoying that after 10 minutes of writing a text and trying to press Save - nothing happens. The reason for it is that the backend logs me out automatically because no backend related activity takes place. Hence when I press save, the editing session is no longer valid.
>> is there any way of extending the automatic logout time to 1h?
>> Best regards,
>> Constantin
>> -- 
>> users mailing list
>> users at lists.deepamehta.de
>> http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deepamehta.de/pipermail/users-lists.deepamehta.de/attachments/20140903/4f7fe393/attachment.html>

More information about the users mailing list