-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.X EE, 6.2.X EE
-
Fix Version/s: 6.1.X EE, 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
-
Branch Version/s:6.2.x, 6.1.x
-
Backported to Branch:Committed
-
Story Points:9
-
Fix Priority:5
-
Git Pull Request:
Short description of the client’s issue:
During a Lucene Reindex with Liferay ClusterLink enabled, the reindex will fail with a method not invoked.
This issue occurs within an environment in which HTTP traffic is disabled (SSL only)
InetAddress inetAddress = clusterNode.getInetAddress(); URL url = new URL( "http", inetAddress.getHostAddress(), clusterNode.getPort(), "/lucene/dump");
Steps to reproduce / testing done:
1) Setup two Tomcat application servers (with Liferay installed) for SSL using:
https://www.liferay.com/group/customer/kbase/-/knowledge_base/article/14406628
2) Ensure that within the server.xml files that the HTTP connector is commented out. Only the HTTPS connector should be available. (If using both nodes on the same machine, make sure the connector ports are unique)
3) Add the following properties to both nodes (make sure they are using the same database) to enable cluster link and lucene replication:
# # Clusterlink Properties # cluster.link.enabled=true ehcache.cluster.link.replication.enabled=true lucene.replicate.write=true
4) Add the following plugins for the nodes:
- Ehcache Cluster Web
- Make Users (support-tools)
- Make Pages (support-tools)
5) Startup both nodes.
6) On Node 1:
- Add the 'Add Users' and 'Pages' portlets to the page
- Create a few test users and pages (default settings are fine)
7) Navigate to Control Panel -> Server Administration -> Reindex all search indexes.
8) On the first node, once indexing is complete, you should see this message.
21:20:12,946 INFO [com.liferay.portlet.admin.action.EditServerAction-1][EditServerAction:951] Monitor thread name com.liferay.portlet.admin.action.EditServerAction-1 with thread ID 136 unlocked latch. Notified peers to start index loading.
9) On the second node, you should see a message in which the method failed to invoke.
- causes
-
LPS-51714 lucene/dump does not work in a reversed proxied environment when there are http/https protocol changes
- Closed
- is related to
-
LPS-58740 Liferay Index Replication requests IP Address as SAN when using HTTPS only
- Closed
- relates
-
LPE-10247 Lucene ClusterLink replication fails in SSL only environment
-
- Closed
-