0 votes
69 views
I've noticed when using DBs in openLCA that are connected to collaboration server repos, that if I do not interact with the desktop client for a while (e.g. open a new flow, save a process), the desktop client will crash when I then try to open a flow/process etc.

This happens when I don't interact with the DB in the desktop client for say maybe >15 minutes, although I'm not certain of the exact timing.

I'm no dev but I assume what's happening is my credential/token or whatever goes stale when I don't interact with the DB for too long, and this is what causes openLCA to crash when I then go to open a new element with the expired credential?

Is there some workaround to avoid openLCA crashing so frequently? Or is there perhaps something wrong with my setup that is causing the crashes and this isn't typical/expected behaviour?

Any help here would be greatly appreciated - in the meantime I will continue to save religiously! :)

(using v2.5.0 fwiw)
ago in LCA Collaboration Server by (440 points)

1 Answer

0 votes
ago by (9.2k points)
selected ago by
 
Best answer
We have heard about error messages when the session runs out (something we are working on), the crash is quite unusual. Is there anything you can find in the log for the time the crash happens?

It might help to disable comments in the File/Preferences -> Collaboration menu. If this is enabled, the CS is called everytime an editor is opened.

You can adapt the session timeout on the server side as a workaround. If you are running you're own collaboration server, this needs to be set in 2 places, e.g. for a 12h session timeout set

server.servlet.session.timeout=720m

in the application.properties file located in {tomcat_dir}/webapps/ROOT/WEB-INF/classes/application.properties and set

    <session-config>

        <session-timeout>720</session-timeout>

    </session-config>

in the tomcat web.xml located in {tomcat_dir}/conf/web.xml
ago by (440 points)
thanks disabling comments seems to have done the trick, no crashes today!
i'm on my home PC today but next week will try to remember to check the logs at work in case there is anything of use to you there!
...