<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello everybody,<br>
    <br>
    The solution was to put <br>
    org.ops4j.pax.web.session.timeout=120<br>
    <br>
    in Karaf's etc/system.properties file (gives 120 minutes to time
    out).<br>
    <br>
    Indeed Karaf logs had the key to the solution:<br>
    cjucovschi@costea:~/karaf/data/log$ cat karaf.log | grep 15udo<br>
    2014-09-03 12:51:32,537 | INFO  | qtp86337976-1522 |
    AccessControlPlugin              | 167 - de.deepamehta.accesscontrol
    - 4.4.0.SNAPSHOT | ##### Creating new session
    15udo3qrlb8ro12xlkjd3ok61l (username=admin)<br>
    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<br>
    <br>
    Best regards,<br>
    Constantin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03.09.2014 13:02, Jörg Richter
      wrote:<br>
    </div>
    <blockquote
      cite="mid:5BE66505-3060-478E-9965-A615F84D6061@deepamehta.de"
      type="cite">
      <pre wrap="">
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?

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">

Please excuse any inconvenience.

Cheers,
Jörg


On Sep 3, 2014, at 11:30, Constantin Jucovschi wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.deepamehta.de">users@lists.deepamehta.de</a>
<a class="moz-txt-link-freetext" href="http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de">http://lists.deepamehta.de/mailman/listinfo/users-lists.deepamehta.de</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>