Ahmed Hasan 10 Years Ago Very Good Coverage. Thanks for sharing.Ahamed HasanAuthor of Liferay Cookbookhttp://mpowerglobal.com/download-cookbook Please sign in to reply. Reply as... Cancel
Mauro Mariuzzo 10 Years Ago Thanks for sharing.About indexing I'll give a chance to Lucene. Even in single node you have to tune "commit" and "optimize interval". But from 6.1 liferay introduces a "cluster bootstrap" functionality allowing a node to grap up-to-date indexes from another node.I have different 6.1 installation, with high usage, and Lucene with good performance and a little overhead about "lucene replication messages".I think Lucene vs Solr depends on portal contents and search requirements.ClusterLInk: if you use default multicast mechanism you don't need -Djgroups*. The channels are controlled by "cluster.link.channel.properties.*" properties and the ports are declared with propertiesEhCache Multicast. About "net.sf.ehcache.configurationResourceName" and "ehcache.multi.vm.config.location", why redeclare it with default values if you don't need to change cache configuration?From 6.1 GA2 you can change ehcache configuration with a hook, so no restart is needed.EhCache Unicast. I'm agaist placing file inside ROOT/WEB-INF/classes. If you use tomcat you can use "cluster.link.channel.properties.control=${catalina.base}/conf/unicast.xml" Please sign in to reply. Reply as... Cancel Jan Eerdekens Mauro Mariuzzo 10 Years Ago We used SOLR as the customer made a master/slave SOLR cluster available, so why not use that. During testing we did indeed also try the cluster link lucene replication and that also did seem to do the trick. Regarding performance we didn't do any tests to see which solution is faster than the other.Regarding your cluster link comments: I'll definitely try those out and see whether I can remove some unnecessary/unused ones. It's perfectly possible that some of these aren't needed anymore. I declared the EhCache ones as that was what was indicated in the section about clustering in the Liferay manual. Will need to check.We tried different locations and property values to get Liferay to pick up the EhCache Unicast file, but it wouldn't pick it up from other locations than WEB-INF/classes. As we already need a portal WAR overlay for several reasons this isn't a problem for us in this case, but I like your tip about using the catalina properties when on Tomcat. Please sign in to reply. Reply as... Cancel mARK aNDREWS Mauro Mariuzzo 9 Years Ago Do you have an example of how you change this with a hook? Please sign in to reply. Reply as... Cancel Jan Eerdekens mARK aNDREWS 9 Years Ago Do you want to do everything regarding clustering in 1 hook or do you want to know how to do a certain part in a hook? Without knowing one or the other there are a couple of problems: I fear that not all properties can be overridden using portal.properties in a hook, the Tomcat setenv.sh can't be changed with a hook and the unicast.xml file can't be loaded from the classpath of a hook.What we do to bundle all these things (and other stuff) is to create one big deploy package using Maven. This package contains everything to build a certain version of the portal: this includes a certain version of Liferay, the patching tool, a set of patches, Tomcat file overlays, properties files, additional JARs, all WAR modules, scripts, ... . We can then trigger one script that will then build an environment will all these things. It makes a great subject for a blog post. All the files that are needed or need to be changed are in this deploy package for us, but not in 1 hook. It might be possible somehow, but we haven't had the requirements yet to have it work like that. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Mauro Mariuzzo 10 Years Ago We used SOLR as the customer made a master/slave SOLR cluster available, so why not use that. During testing we did indeed also try the cluster link lucene replication and that also did seem to do the trick. Regarding performance we didn't do any tests to see which solution is faster than the other.Regarding your cluster link comments: I'll definitely try those out and see whether I can remove some unnecessary/unused ones. It's perfectly possible that some of these aren't needed anymore. I declared the EhCache ones as that was what was indicated in the section about clustering in the Liferay manual. Will need to check.We tried different locations and property values to get Liferay to pick up the EhCache Unicast file, but it wouldn't pick it up from other locations than WEB-INF/classes. As we already need a portal WAR overlay for several reasons this isn't a problem for us in this case, but I like your tip about using the catalina properties when on Tomcat. Please sign in to reply. Reply as... Cancel
mARK aNDREWS Mauro Mariuzzo 9 Years Ago Do you have an example of how you change this with a hook? Please sign in to reply. Reply as... Cancel Jan Eerdekens mARK aNDREWS 9 Years Ago Do you want to do everything regarding clustering in 1 hook or do you want to know how to do a certain part in a hook? Without knowing one or the other there are a couple of problems: I fear that not all properties can be overridden using portal.properties in a hook, the Tomcat setenv.sh can't be changed with a hook and the unicast.xml file can't be loaded from the classpath of a hook.What we do to bundle all these things (and other stuff) is to create one big deploy package using Maven. This package contains everything to build a certain version of the portal: this includes a certain version of Liferay, the patching tool, a set of patches, Tomcat file overlays, properties files, additional JARs, all WAR modules, scripts, ... . We can then trigger one script that will then build an environment will all these things. It makes a great subject for a blog post. All the files that are needed or need to be changed are in this deploy package for us, but not in 1 hook. It might be possible somehow, but we haven't had the requirements yet to have it work like that. Please sign in to reply. Reply as... Cancel
Jan Eerdekens mARK aNDREWS 9 Years Ago Do you want to do everything regarding clustering in 1 hook or do you want to know how to do a certain part in a hook? Without knowing one or the other there are a couple of problems: I fear that not all properties can be overridden using portal.properties in a hook, the Tomcat setenv.sh can't be changed with a hook and the unicast.xml file can't be loaded from the classpath of a hook.What we do to bundle all these things (and other stuff) is to create one big deploy package using Maven. This package contains everything to build a certain version of the portal: this includes a certain version of Liferay, the patching tool, a set of patches, Tomcat file overlays, properties files, additional JARs, all WAR modules, scripts, ... . We can then trigger one script that will then build an environment will all these things. It makes a great subject for a blog post. All the files that are needed or need to be changed are in this deploy package for us, but not in 1 hook. It might be possible somehow, but we haven't had the requirements yet to have it work like that. Please sign in to reply. Reply as... Cancel
Riccardo Martini 10 Years Ago Thanks for this article. It's very helpful for the unicast section. I configured a cluster enviroment on Amazon and it seems work fine.I only have a doubt about property org.quartz.jobStore.isClustered=true.It's seems unnecessary since Liferay 6.1 and higher, because It's forced when cluster.link.enable=true in the QuartzSchedulerEngine class. Can you confirm ?My Liferay portal instance was started the first time as non clustered (cluster.link.enable=false).I have enabled cluster afterwards. In this case, do I need to stop Liferay, drop QUARTZ_* tables and restart?Thanks.Riccardo Please sign in to reply. Reply as... Cancel Mauro Mariuzzo Riccardo Martini 10 Years Ago Yes, IFAIK org.quartz.jobStore.isClustered is mandatory only before 6.1.In my experience it is not necessary to drop QUARTZ_ table switching from single node to cluster. Please sign in to reply. Reply as... Cancel Jan Eerdekens Riccardo Martini 10 Years Ago See Mauro's answer. The property is still in the configuration in my case because it is an evolution of a property file for clustering that comes from older, pre 6.1, versions. Usually Liferay gives a signal in the logs when a property isn't needed anymore and I usually act on those and remove them accordingly.But on your and Mauro's info I'll try to remove and verify it. Please sign in to reply. Reply as... Cancel
Mauro Mariuzzo Riccardo Martini 10 Years Ago Yes, IFAIK org.quartz.jobStore.isClustered is mandatory only before 6.1.In my experience it is not necessary to drop QUARTZ_ table switching from single node to cluster. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Riccardo Martini 10 Years Ago See Mauro's answer. The property is still in the configuration in my case because it is an evolution of a property file for clustering that comes from older, pre 6.1, versions. Usually Liferay gives a signal in the logs when a property isn't needed anymore and I usually act on those and remove them accordingly.But on your and Mauro's info I'll try to remove and verify it. Please sign in to reply. Reply as... Cancel
narf dark 10 Years Ago On EE 6.2 I get this error14:48:36,460 INFO [localhost-startStop-1][LiferayCacheManagerPeerProviderFactory:76] portalPropertyKey ehcache.multi.vm.config.location.peerProviderProperties has value file=/unicast.xml14:48:37,968 ERROR [localhost-startStop-1][JGroupsCacheManagerPeerProvider:120] Failed to create JGroups Channel, replication will not function. JGroups properties:_null [Sanitized]java.lang.IllegalArgumentException: [JGRP00001] configuration error: the following properties in TCP are not recognized: {timer.num_threads=4} Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 10 Years Ago When upgrading to a Liferay version that is newer than the one in my post you'll need to do a little extra work to get it running again:- find the jgroups.jar file in ROOT/WEB-INF/lib- unzip it and find the tcp.xml file- rename it to unicast.xml and add 'singleton_name="liferay"' as the first attribute of the TCP tag inside the fileI had to do this recently for Liferay 6.2 too, encountered the same error and this is the adapted file that worked for me: https://dl.dropboxusercontent.com/u/7012383/liferay/unicast.xml Please sign in to reply. Reply as... Cancel narf dark Jan Eerdekens 10 Years Ago Thanks I'll give it a shotWhat about this in unicast.xml? how does it work? will it be replaced w/ the initial hosts specified via the java startup command? i.e. -D parameter initial_hosts="${jgroups.tcpping.initial_hosts:localhost[7800],localhost[7801]}" Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 10 Years Ago That's indeed the declaration that will be replaced by the value specified by the -D when available or use the default value as specified after the colon. Please sign in to reply. Reply as... Cancel
Jan Eerdekens narf dark 10 Years Ago When upgrading to a Liferay version that is newer than the one in my post you'll need to do a little extra work to get it running again:- find the jgroups.jar file in ROOT/WEB-INF/lib- unzip it and find the tcp.xml file- rename it to unicast.xml and add 'singleton_name="liferay"' as the first attribute of the TCP tag inside the fileI had to do this recently for Liferay 6.2 too, encountered the same error and this is the adapted file that worked for me: https://dl.dropboxusercontent.com/u/7012383/liferay/unicast.xml Please sign in to reply. Reply as... Cancel narf dark Jan Eerdekens 10 Years Ago Thanks I'll give it a shotWhat about this in unicast.xml? how does it work? will it be replaced w/ the initial hosts specified via the java startup command? i.e. -D parameter initial_hosts="${jgroups.tcpping.initial_hosts:localhost[7800],localhost[7801]}" Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 10 Years Ago That's indeed the declaration that will be replaced by the value specified by the -D when available or use the default value as specified after the colon. Please sign in to reply. Reply as... Cancel
narf dark Jan Eerdekens 10 Years Ago Thanks I'll give it a shotWhat about this in unicast.xml? how does it work? will it be replaced w/ the initial hosts specified via the java startup command? i.e. -D parameter initial_hosts="${jgroups.tcpping.initial_hosts:localhost[7800],localhost[7801]}" Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 10 Years Ago That's indeed the declaration that will be replaced by the value specified by the -D when available or use the default value as specified after the colon. Please sign in to reply. Reply as... Cancel
Jan Eerdekens narf dark 10 Years Ago That's indeed the declaration that will be replaced by the value specified by the -D when available or use the default value as specified after the colon. Please sign in to reply. Reply as... Cancel
Mark Hyde 9 Years Ago I am trying this with a two node cluster running EE 6.1.3 GA3. During startup it gives the error below, a context initialization failure the seems to boil down to NoClassDefFoundError: org/jgroups/ChannelExceptionThe jgroups.jar in this version of the portal has the ChannelException class in it. Any ideas?Thanks,mark14:27:46,080 INFO [main][LiferayCacheManagerPeerProviderFactory:76] portalPropertyKey net.sf.ehcache.configurationResourceName.peerProviderProperties has value file=/unicast.xml14:27:46,119 ERROR [main][ContextLoader:227] Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionAdvice' while setting bean property 'methodInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionAdvice' defined in class path resource [META-INF/base-spring.xml]: Cannot resolve reference to bean 'counterTransactionManager' while setting bean property 'platformTransactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterHibernateSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/jgroups/ChannelException Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago Hi Mark,I haven tried it yet on the GA3 version, but the exception you're getting 'NoClassDefFoundError' doesn't mean it can't find the class (you'd get a ClassNotFoundException in that case), but that there was a problem loading the class. Usually the reason for this is a static initializer or constructor that threw an exception. If you're lucky the logging should have more information about this, if not it's debugging time. One possibility could be that the format of the jgroups file we need for unicast has been changed and doesn't provide a necessary parameter for the initialization of the class. Did you extract the tcp.xml from the jgroups.jar file as the base for your unicast.xml file? Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago I double checked against the tcp.xml and it's identical to the one above. The log file is just a chain of those same errors trying to create different beans. The final entry in the stack trace is:Caused by: java.lang.ClassNotFoundException: org.jgroups.ChannelException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) ... 84 morePardon my ignorance, but I've not encountered the <property>=file=/unicast.xml syntax, is that correct?mark Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago The only difference between the files should be that the one we'll use has 'singleton_name="liferay"' added to the TCP tag and that the file will be named unicast.xml and placed in the WEB-INF/classes directory of the Liferay WAR file. This file in the new location is then references 4 times in this section (which contains the file=/unicast.xml syntax) that should be part of your portal-ext.properties file:cluster.link.channel.properties.control=unicast.xmlcluster.link.channel.properties.transport.0=unicast.xmlehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactoryehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactoryehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactorynet.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xmlehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Yes, I have all that in place as specified. I'll keep looking.Thanks. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Mark Hyde 9 Years Ago Hi Mark,I haven tried it yet on the GA3 version, but the exception you're getting 'NoClassDefFoundError' doesn't mean it can't find the class (you'd get a ClassNotFoundException in that case), but that there was a problem loading the class. Usually the reason for this is a static initializer or constructor that threw an exception. If you're lucky the logging should have more information about this, if not it's debugging time. One possibility could be that the format of the jgroups file we need for unicast has been changed and doesn't provide a necessary parameter for the initialization of the class. Did you extract the tcp.xml from the jgroups.jar file as the base for your unicast.xml file? Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago I double checked against the tcp.xml and it's identical to the one above. The log file is just a chain of those same errors trying to create different beans. The final entry in the stack trace is:Caused by: java.lang.ClassNotFoundException: org.jgroups.ChannelException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) ... 84 morePardon my ignorance, but I've not encountered the <property>=file=/unicast.xml syntax, is that correct?mark Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago The only difference between the files should be that the one we'll use has 'singleton_name="liferay"' added to the TCP tag and that the file will be named unicast.xml and placed in the WEB-INF/classes directory of the Liferay WAR file. This file in the new location is then references 4 times in this section (which contains the file=/unicast.xml syntax) that should be part of your portal-ext.properties file:cluster.link.channel.properties.control=unicast.xmlcluster.link.channel.properties.transport.0=unicast.xmlehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactoryehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactoryehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactorynet.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xmlehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Yes, I have all that in place as specified. I'll keep looking.Thanks. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Mark Hyde Jan Eerdekens 9 Years Ago I double checked against the tcp.xml and it's identical to the one above. The log file is just a chain of those same errors trying to create different beans. The final entry in the stack trace is:Caused by: java.lang.ClassNotFoundException: org.jgroups.ChannelException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) ... 84 morePardon my ignorance, but I've not encountered the <property>=file=/unicast.xml syntax, is that correct?mark Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago The only difference between the files should be that the one we'll use has 'singleton_name="liferay"' added to the TCP tag and that the file will be named unicast.xml and placed in the WEB-INF/classes directory of the Liferay WAR file. This file in the new location is then references 4 times in this section (which contains the file=/unicast.xml syntax) that should be part of your portal-ext.properties file:cluster.link.channel.properties.control=unicast.xmlcluster.link.channel.properties.transport.0=unicast.xmlehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactoryehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactoryehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactorynet.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xmlehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Yes, I have all that in place as specified. I'll keep looking.Thanks. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Mark Hyde 9 Years Ago The only difference between the files should be that the one we'll use has 'singleton_name="liferay"' added to the TCP tag and that the file will be named unicast.xml and placed in the WEB-INF/classes directory of the Liferay WAR file. This file in the new location is then references 4 times in this section (which contains the file=/unicast.xml syntax) that should be part of your portal-ext.properties file:cluster.link.channel.properties.control=unicast.xmlcluster.link.channel.properties.transport.0=unicast.xmlehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactoryehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactoryehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactorynet.sf.ehcache.configurationResourceName.peerProviderProperties=file=/unicast.xmlehcache.multi.vm.config.location.peerProviderProperties=file=/unicast.xml Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Yes, I have all that in place as specified. I'll keep looking.Thanks. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Mark Hyde Jan Eerdekens 9 Years Ago Yes, I have all that in place as specified. I'll keep looking.Thanks. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Mark Hyde 9 Years Ago If I find some time during the weekend I'll also try it out on the version you're using. Please sign in to reply. Reply as... Cancel Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Mark Hyde Jan Eerdekens 9 Years Ago Reporting back for anyone who treads this path in the future. All is well now. I had to get my jgroups information all synced up. EE 6.1.3 GA3 comes with jgroups 1.8. The fix pack liferay-fix-pack-platform-14-6130, however, updates it to jgroups 3.2! The exploded war file on my PC that I was using to look at the jgroups war file was the unpatched version. So I was trying to use an old configuration on the new version of jgroups. Once I realized, that, extracted the proper tcp.xml file and made the changes, then everything started up fine.Thanks much for being responsive to my queries. Please sign in to reply. Reply as... Cancel Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
Jan Eerdekens Mark Hyde 9 Years Ago That will indeed produce the error message as it the XML file it finds comes from a totally different version. Thank you for sharing this; will be good to know for future problems. Please sign in to reply. Reply as... Cancel
narf dark 9 Years Ago Anyone on here have experience running Liferay in a GSLB setup?In particular, does anyone have any experience configuring JGroups RELAY or RELAY2 for bridging remote Liferay clusters together? Does liferay have any documentation on this or does Liferay every configure this for its customers? Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 9 Years Ago @narf dark: I personal haven't done that (what is GSLB even?), but in theory it should work similarly. If you've got an XML file, possibly also one from the jgroups.jar file, that has a base configuration for RELAY/RELAY2 you can point Liferay to that one using similar portal-ext.properties settings. Please sign in to reply. Reply as... Cancel narf dark Jan Eerdekens 9 Years Ago global server load balancing. I.E the same logically liferay installation, across multiple globally separate data-centers, however all aware of another Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 9 Years Ago @narf dark: thanks for the explanation, but sadly I haven't done something similar yet. If you're a Liferay EE customer I would however try to open a ticket and see if they can possibly help you, but otherwise you're on your own I fear. Please sign in to reply. Reply as... Cancel
Jan Eerdekens narf dark 9 Years Ago @narf dark: I personal haven't done that (what is GSLB even?), but in theory it should work similarly. If you've got an XML file, possibly also one from the jgroups.jar file, that has a base configuration for RELAY/RELAY2 you can point Liferay to that one using similar portal-ext.properties settings. Please sign in to reply. Reply as... Cancel narf dark Jan Eerdekens 9 Years Ago global server load balancing. I.E the same logically liferay installation, across multiple globally separate data-centers, however all aware of another Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 9 Years Ago @narf dark: thanks for the explanation, but sadly I haven't done something similar yet. If you're a Liferay EE customer I would however try to open a ticket and see if they can possibly help you, but otherwise you're on your own I fear. Please sign in to reply. Reply as... Cancel
narf dark Jan Eerdekens 9 Years Ago global server load balancing. I.E the same logically liferay installation, across multiple globally separate data-centers, however all aware of another Please sign in to reply. Reply as... Cancel Jan Eerdekens narf dark 9 Years Ago @narf dark: thanks for the explanation, but sadly I haven't done something similar yet. If you're a Liferay EE customer I would however try to open a ticket and see if they can possibly help you, but otherwise you're on your own I fear. Please sign in to reply. Reply as... Cancel
Jan Eerdekens narf dark 9 Years Ago @narf dark: thanks for the explanation, but sadly I haven't done something similar yet. If you're a Liferay EE customer I would however try to open a ticket and see if they can possibly help you, but otherwise you're on your own I fear. Please sign in to reply. Reply as... Cancel
(You) 9 Years Ago [...] Liferay defines two primary JGroups channels for what Liferay calls “cluster link”. You enable this in your portal-ext.properties by setting cluster.link.enabled=true. By default all channels in... [...] Read More Please sign in to reply. Reply as... Cancel
bitsof info 9 Years Ago To anyone else trying to globally load balance a liferay cluster across multiple data-centers, I've done a fair amount of research on this, see this articlehttp://bitsofinfo.wordpress.com/2014/05/21/clustering-liferay-globally-across-data-centers-gslb-with-jgroups-and-relay2/ Please sign in to reply. Reply as... Cancel bitsof info bitsof info 9 Years Ago sorry busted linkhttp://bitsofinfo.wordpress.com/2014/05/21/clustering-liferay-globally-across-data-centers-gslb-with-jgroups-and-relay2/ Please sign in to reply. Reply as... Cancel
bitsof info bitsof info 9 Years Ago sorry busted linkhttp://bitsofinfo.wordpress.com/2014/05/21/clustering-liferay-globally-across-data-centers-gslb-with-jgroups-and-relay2/ Please sign in to reply. Reply as... Cancel
(You) 9 Years Ago [...] This article is a work in progress… and a long one. Jan Eerdekens states it correctly in his article, “Configuring a Liferay cluster is part experience and part black magic” …. however doing it... [...] Read More Please sign in to reply. Reply as... Cancel