I can find the error on your logs now:
2018-05-21 08:55:17.433 WARN [ajp-nio-8009-exec-9][SecurityPortletContainerWrapper:363] User 20155 is not allowed to access URL http://184.108.40.206/group/guest/~/control_panel/manage and portlet com_liferay_journal_web_portlet_JournalPortlet
I just found this StackOverFlow issue:
It looks like there are other issues are experiencing exactly the same issue. That issue pointed me to:
Find answers. Share knowledge. Discuss everything related to Liferay Portal, AlloyUI, Liferay IDE, and all other Liferay projects.
See Michau Deng response:
Initially we fixed it by giving guest users the option to manually extend their session, but our developers in Europe found that this was very confusing (see LPS-47190), because no other site does this. As a result, the final fix was to always auto-extend the session for guest users.
So if we're auto-extending the session for guest users, why does it not work?
It's because session.timeout.auto.extend.offset is equivalent to, "In the cases where you need to auto-extend the session, do so X seconds before you believe the session is set to expire." Because it's 0, it waits until the last possible second, and then attempts to extend the session. 99 times out of 100, this is probably way too late, and so session auto-extend fails.
For session auto-extend, it used to be the case that people would simply set session.timeout to something lower than the actual session length, but now we have that other property so that the session.timeout property can reflect the actual value in web.xml and we have another property to control just how much you want to live on the edge.
Could you try modifying the
session.timeout property? You can do it by editing the configuration file /opt/bitnami/apache-tomcat/webapps/ROOT/WEB-INF/classes/portal-ext.properties. Then, you'd need to restart Tomcat by running:
sudo /opt/bitnami/ctlscript.sh restart tomcat
Was my answer helpful? Click on