Jonas Yuan Hace 12 años Nice summary! Thank you, Edward. Por favor identifíquese para votar. Contestar como... Cancelar
Pius Onobhayedo Hace 12 años Thanks for the update. One question though. Is Cluster Link deployed or bundled with the portal by default? Por favor identifíquese para votar. Contestar como... Cancelar Edward Han Pius Onobhayedo Hace 12 años Cluster Link is part of the core portal and must be enabled when deploying a cluster for non-cache related communication between the nodes. It is configured using the cluster.link.* properties in portal.properties.Cluster Link-based replication is off by default as it is only available in EE. For more info on it see Shuyang's blog post: http://www.liferay.com/about-us/news/-/blogs/5229206/maximized Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Edward Han Hace 12 años Thanks Edward for the prompt reply. If I understood you correctly, while only EE ships with Cluster Link-based replication, CE can only use RMI-based replication. Am I right? Por favor identifíquese para votar. Contestar como... Cancelar Edward Han Pius Onobhayedo Hace 12 años That is correct Por favor identifíquese para votar. Contestar como... Cancelar
Edward Han Pius Onobhayedo Hace 12 años Cluster Link is part of the core portal and must be enabled when deploying a cluster for non-cache related communication between the nodes. It is configured using the cluster.link.* properties in portal.properties.Cluster Link-based replication is off by default as it is only available in EE. For more info on it see Shuyang's blog post: http://www.liferay.com/about-us/news/-/blogs/5229206/maximized Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Edward Han Hace 12 años Thanks Edward for the prompt reply. If I understood you correctly, while only EE ships with Cluster Link-based replication, CE can only use RMI-based replication. Am I right? Por favor identifíquese para votar. Contestar como... Cancelar Edward Han Pius Onobhayedo Hace 12 años That is correct Por favor identifíquese para votar. Contestar como... Cancelar
Pius Onobhayedo Edward Han Hace 12 años Thanks Edward for the prompt reply. If I understood you correctly, while only EE ships with Cluster Link-based replication, CE can only use RMI-based replication. Am I right? Por favor identifíquese para votar. Contestar como... Cancelar Edward Han Pius Onobhayedo Hace 12 años That is correct Por favor identifíquese para votar. Contestar como... Cancelar
Edward Han Pius Onobhayedo Hace 12 años That is correct Por favor identifíquese para votar. Contestar como... Cancelar
Shagul Khajamohideen Hace 12 años Thanks for the update Ed! Por favor identifíquese para votar. Contestar como... Cancelar Xinsheng Robert Chen Shagul Khajamohideen Hace 12 años Hi, Edward,I want to tell you what I like about Liferay portal:"If you decide to configure your own instead of using the default Liferay one, simply direct the ehcache.multi.vm.config.location property to go to your configuration file." Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Xinsheng Robert Chen Hace 12 años Hi Edward,I am trying to test ehcache clustering in Liferay 6.1 CE built from trunk. I have a quick question. If I have two Liferay CEs running in the same LAN, will the ehcache be clustered by default? Is there autodiscovery among such instances? Or do I have to set any particular property or properties to enable ehcache clustering.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Pius Onobhayedo Hace 12 años Hi Edward,Please ignore my last question. I found the wiki article http://www.liferay.com/community/wiki/-/wiki/1071674/JBoss-Tomcat-Liferay+portal+Clustering+-+what+and+how/maximized useful.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Xinsheng Robert Chen Pius Onobhayedo Hace 12 años Hi, Edward,I have configured a cluster of two Liferay portal 6.0 SP1 JBoss 5.1.0 nodes to use TCP unicast for cache replication and session replication. It works with Liferay portal in its out-of-the-box state. However, when I deploy a custom portlet with service builder code, it throws the following exceptions:2011-10-30 22:21:07,579 INFO [STDOUT] (main) Loading vfsfile:/appshr/liferay/testliferay/liferay-portal-6.0-ee-sp1/jboss-5.1.0/server/testlrayServer1/deploy/search-portlet.war/WEB-INF/classes/service.properties2011-10-30 22:21:08,176 ERROR [net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider](main) Failed to create JGroups Channel, replication will not function. JGroups properties:nullorg.jgroups.ChannelException: unable to setup the protocol stackat org.jgroups.JChannel.init(JChannel.java:1728)at org.jgroups.JChannel.<init>(JChannel.java:249)at org.jgroups.JChannel.<init>(JChannel.java:232)at org.jgroups.JChannel.<init>(JChannel.java:173)at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.init(JGroupsCacheManagerPeerProvider.java:131)at net.sf.ehcache.CacheManager.init(CacheManager.java:363)at net.sf.ehcache.CacheManager.<init>(CacheManager.java:228)at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:99)at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:62)at com.liferay.portal.dao.orm.hibernate.EhCacheProvider.start(EhCacheProvider.java:67)at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:236)at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)... ...at org.jboss.Main$1.run(Main.java:556)at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP cannot be cast to org.jgroups.stack.Protocolat org.jgroups.stack.Configurator.createLayer(Configurator.java:433)at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)at org.jgroups.JChannel.init(JChannel.java:1725)... 105 more2011-10-30 22:21:08,181 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]:Invocation of init method failed; nested exception is java.lang.NullPointerExceptionat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)I have updated the ehcache.jar, ehcache-sessionreplication.jar and jgroup.jar files to their latest release versions. Of course, I have used custom configuration files for Hibernate cache replicationa nd multi-vm cache replication.Can you give me some advice for this issue? Por favor identifíquese para votar. Contestar como... Cancelar Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Xinsheng Robert Chen Shagul Khajamohideen Hace 12 años Hi, Edward,I want to tell you what I like about Liferay portal:"If you decide to configure your own instead of using the default Liferay one, simply direct the ehcache.multi.vm.config.location property to go to your configuration file." Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Xinsheng Robert Chen Hace 12 años Hi Edward,I am trying to test ehcache clustering in Liferay 6.1 CE built from trunk. I have a quick question. If I have two Liferay CEs running in the same LAN, will the ehcache be clustered by default? Is there autodiscovery among such instances? Or do I have to set any particular property or properties to enable ehcache clustering.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Pius Onobhayedo Hace 12 años Hi Edward,Please ignore my last question. I found the wiki article http://www.liferay.com/community/wiki/-/wiki/1071674/JBoss-Tomcat-Liferay+portal+Clustering+-+what+and+how/maximized useful.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Xinsheng Robert Chen Pius Onobhayedo Hace 12 años Hi, Edward,I have configured a cluster of two Liferay portal 6.0 SP1 JBoss 5.1.0 nodes to use TCP unicast for cache replication and session replication. It works with Liferay portal in its out-of-the-box state. However, when I deploy a custom portlet with service builder code, it throws the following exceptions:2011-10-30 22:21:07,579 INFO [STDOUT] (main) Loading vfsfile:/appshr/liferay/testliferay/liferay-portal-6.0-ee-sp1/jboss-5.1.0/server/testlrayServer1/deploy/search-portlet.war/WEB-INF/classes/service.properties2011-10-30 22:21:08,176 ERROR [net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider](main) Failed to create JGroups Channel, replication will not function. JGroups properties:nullorg.jgroups.ChannelException: unable to setup the protocol stackat org.jgroups.JChannel.init(JChannel.java:1728)at org.jgroups.JChannel.<init>(JChannel.java:249)at org.jgroups.JChannel.<init>(JChannel.java:232)at org.jgroups.JChannel.<init>(JChannel.java:173)at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.init(JGroupsCacheManagerPeerProvider.java:131)at net.sf.ehcache.CacheManager.init(CacheManager.java:363)at net.sf.ehcache.CacheManager.<init>(CacheManager.java:228)at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:99)at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:62)at com.liferay.portal.dao.orm.hibernate.EhCacheProvider.start(EhCacheProvider.java:67)at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:236)at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)... ...at org.jboss.Main$1.run(Main.java:556)at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP cannot be cast to org.jgroups.stack.Protocolat org.jgroups.stack.Configurator.createLayer(Configurator.java:433)at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)at org.jgroups.JChannel.init(JChannel.java:1725)... 105 more2011-10-30 22:21:08,181 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]:Invocation of init method failed; nested exception is java.lang.NullPointerExceptionat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)I have updated the ehcache.jar, ehcache-sessionreplication.jar and jgroup.jar files to their latest release versions. Of course, I have used custom configuration files for Hibernate cache replicationa nd multi-vm cache replication.Can you give me some advice for this issue? Por favor identifíquese para votar. Contestar como... Cancelar Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Pius Onobhayedo Xinsheng Robert Chen Hace 12 años Hi Edward,I am trying to test ehcache clustering in Liferay 6.1 CE built from trunk. I have a quick question. If I have two Liferay CEs running in the same LAN, will the ehcache be clustered by default? Is there autodiscovery among such instances? Or do I have to set any particular property or properties to enable ehcache clustering.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Pius Onobhayedo Pius Onobhayedo Hace 12 años Hi Edward,Please ignore my last question. I found the wiki article http://www.liferay.com/community/wiki/-/wiki/1071674/JBoss-Tomcat-Liferay+portal+Clustering+-+what+and+how/maximized useful.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Xinsheng Robert Chen Pius Onobhayedo Hace 12 años Hi, Edward,I have configured a cluster of two Liferay portal 6.0 SP1 JBoss 5.1.0 nodes to use TCP unicast for cache replication and session replication. It works with Liferay portal in its out-of-the-box state. However, when I deploy a custom portlet with service builder code, it throws the following exceptions:2011-10-30 22:21:07,579 INFO [STDOUT] (main) Loading vfsfile:/appshr/liferay/testliferay/liferay-portal-6.0-ee-sp1/jboss-5.1.0/server/testlrayServer1/deploy/search-portlet.war/WEB-INF/classes/service.properties2011-10-30 22:21:08,176 ERROR [net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider](main) Failed to create JGroups Channel, replication will not function. JGroups properties:nullorg.jgroups.ChannelException: unable to setup the protocol stackat org.jgroups.JChannel.init(JChannel.java:1728)at org.jgroups.JChannel.<init>(JChannel.java:249)at org.jgroups.JChannel.<init>(JChannel.java:232)at org.jgroups.JChannel.<init>(JChannel.java:173)at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.init(JGroupsCacheManagerPeerProvider.java:131)at net.sf.ehcache.CacheManager.init(CacheManager.java:363)at net.sf.ehcache.CacheManager.<init>(CacheManager.java:228)at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:99)at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:62)at com.liferay.portal.dao.orm.hibernate.EhCacheProvider.start(EhCacheProvider.java:67)at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:236)at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)... ...at org.jboss.Main$1.run(Main.java:556)at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP cannot be cast to org.jgroups.stack.Protocolat org.jgroups.stack.Configurator.createLayer(Configurator.java:433)at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)at org.jgroups.JChannel.init(JChannel.java:1725)... 105 more2011-10-30 22:21:08,181 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]:Invocation of init method failed; nested exception is java.lang.NullPointerExceptionat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)I have updated the ehcache.jar, ehcache-sessionreplication.jar and jgroup.jar files to their latest release versions. Of course, I have used custom configuration files for Hibernate cache replicationa nd multi-vm cache replication.Can you give me some advice for this issue? Por favor identifíquese para votar. Contestar como... Cancelar Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Pius Onobhayedo Pius Onobhayedo Hace 12 años Hi Edward,Please ignore my last question. I found the wiki article http://www.liferay.com/community/wiki/-/wiki/1071674/JBoss-Tomcat-Liferay+portal+Clustering+-+what+and+how/maximized useful.Thanks Por favor identifíquese para votar. Contestar como... Cancelar Xinsheng Robert Chen Pius Onobhayedo Hace 12 años Hi, Edward,I have configured a cluster of two Liferay portal 6.0 SP1 JBoss 5.1.0 nodes to use TCP unicast for cache replication and session replication. It works with Liferay portal in its out-of-the-box state. However, when I deploy a custom portlet with service builder code, it throws the following exceptions:2011-10-30 22:21:07,579 INFO [STDOUT] (main) Loading vfsfile:/appshr/liferay/testliferay/liferay-portal-6.0-ee-sp1/jboss-5.1.0/server/testlrayServer1/deploy/search-portlet.war/WEB-INF/classes/service.properties2011-10-30 22:21:08,176 ERROR [net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider](main) Failed to create JGroups Channel, replication will not function. JGroups properties:nullorg.jgroups.ChannelException: unable to setup the protocol stackat org.jgroups.JChannel.init(JChannel.java:1728)at org.jgroups.JChannel.<init>(JChannel.java:249)at org.jgroups.JChannel.<init>(JChannel.java:232)at org.jgroups.JChannel.<init>(JChannel.java:173)at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.init(JGroupsCacheManagerPeerProvider.java:131)at net.sf.ehcache.CacheManager.init(CacheManager.java:363)at net.sf.ehcache.CacheManager.<init>(CacheManager.java:228)at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:99)at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:62)at com.liferay.portal.dao.orm.hibernate.EhCacheProvider.start(EhCacheProvider.java:67)at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:236)at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)... ...at org.jboss.Main$1.run(Main.java:556)at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP cannot be cast to org.jgroups.stack.Protocolat org.jgroups.stack.Configurator.createLayer(Configurator.java:433)at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)at org.jgroups.JChannel.init(JChannel.java:1725)... 105 more2011-10-30 22:21:08,181 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]:Invocation of init method failed; nested exception is java.lang.NullPointerExceptionat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)I have updated the ehcache.jar, ehcache-sessionreplication.jar and jgroup.jar files to their latest release versions. Of course, I have used custom configuration files for Hibernate cache replicationa nd multi-vm cache replication.Can you give me some advice for this issue? Por favor identifíquese para votar. Contestar como... Cancelar Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Xinsheng Robert Chen Pius Onobhayedo Hace 12 años Hi, Edward,I have configured a cluster of two Liferay portal 6.0 SP1 JBoss 5.1.0 nodes to use TCP unicast for cache replication and session replication. It works with Liferay portal in its out-of-the-box state. However, when I deploy a custom portlet with service builder code, it throws the following exceptions:2011-10-30 22:21:07,579 INFO [STDOUT] (main) Loading vfsfile:/appshr/liferay/testliferay/liferay-portal-6.0-ee-sp1/jboss-5.1.0/server/testlrayServer1/deploy/search-portlet.war/WEB-INF/classes/service.properties2011-10-30 22:21:08,176 ERROR [net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider](main) Failed to create JGroups Channel, replication will not function. JGroups properties:nullorg.jgroups.ChannelException: unable to setup the protocol stackat org.jgroups.JChannel.init(JChannel.java:1728)at org.jgroups.JChannel.<init>(JChannel.java:249)at org.jgroups.JChannel.<init>(JChannel.java:232)at org.jgroups.JChannel.<init>(JChannel.java:173)at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.init(JGroupsCacheManagerPeerProvider.java:131)at net.sf.ehcache.CacheManager.init(CacheManager.java:363)at net.sf.ehcache.CacheManager.<init>(CacheManager.java:228)at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:99)at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:62)at com.liferay.portal.dao.orm.hibernate.EhCacheProvider.start(EhCacheProvider.java:67)at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:236)at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)... ...at org.jboss.Main$1.run(Main.java:556)at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP cannot be cast to org.jgroups.stack.Protocolat org.jgroups.stack.Configurator.createLayer(Configurator.java:433)at org.jgroups.stack.Configurator.createProtocols(Configurator.java:393)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:88)at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)at org.jgroups.JChannel.init(JChannel.java:1725)... 105 more2011-10-30 22:21:08,181 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/hibernate-spring.xml]:Invocation of init method failed; nested exception is java.lang.NullPointerExceptionat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)I have updated the ehcache.jar, ehcache-sessionreplication.jar and jgroup.jar files to their latest release versions. Of course, I have used custom configuration files for Hibernate cache replicationa nd multi-vm cache replication.Can you give me some advice for this issue? Por favor identifíquese para votar. Contestar como... Cancelar Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Christopher Lui Xinsheng Robert Chen Hace 12 años Hi Robert,I don't remember off the top of my head, but it seems you are sending UDP packets, which TCP unicast does not accept. Por favor identifíquese para votar. Contestar como... Cancelar Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
Krzysztof Makowski Christopher Lui Hace 11 años @Edward Han How to enable RMI ehcache replication in liferay 6.1.0? In source code I see that cache listeners are cleared when cluster link is disabled. Por favor identifíquese para votar. Contestar como... Cancelar
sushil patidar Hace 10 años Hi EDWARD, I have configured Liferay Portal 6.1.20 nodes. We are getting following error .WARN [net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy] (http--0.0.0.0-8080-104) Cache com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl Key com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl#4182245 Lockable : nullA soft-locked cache entry was expired by the underlying Ehcache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limitsI have following queries1. Is this affects portal performance.2. How to overcome such errors?Need you help.Thanks Por favor identifíquese para votar. Contestar como... Cancelar