Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.3.4-GA5 Friendly URL issue
I've started up Liferay 7.3.4-GA5 with a MySQL 5.7.28 DB via Tomcat-9.0.33 on my local Mac.
After it shows startup in [x] seconds I see the following
06-Apr-2021 17:39:07.837 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [1,750,050] milliseconds
2021-04-06 17:40:08.143 WARN [http-nio-8080-exec-1][DependencyManagerSyncImpl:85] Dependency manager sync timeout after waiting 60s
2021-04-06 17:40:08.322 WARN [http-nio-8080-exec-1][PortalPreferencesPersistenceImpl:207] PortalPreferencesPersistenceImpl.fetchByO_O(long, int, boolean) with parameters (0,1) yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder.
2021-04-06 17:40:08.804 WARN [http-nio-8080-exec-3][PortalImpl:6623] javax.servlet.ServletException: A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable
javax.servlet.ServletException: A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable
Is there an issue with my DB? I heard that sometimes permissions errors causes this error but it wouldn't be able to write the Portal tables if that was the case. Any solutions here??
This was due to an old version of lportal. I started from scratch, created a new lportal, remove the portal-steup-wizard.properties, connected to HSQL and then swtiched back over to MySQL. And the MySQL instance had to be local to my Mac.
I have updated to the latest verstion but still issue is the same.
Powered by Liferay™