Forums de discussion

ROOT.war is not deploying after EHCache configuration in cluster

ramathulasi kudumula, modifié il y a 9 années.

ROOT.war is not deploying after EHCache configuration in cluster

Junior Member Publications: 51 Date d'inscription: 06/10/11 Publications récentes
Hi,

I want to implement the Cache to share the data across the portlets in multiple nodes. I did the configuration by referring the URL(http://rutvijshah.wordpress.com/tag/liferay/) in liferay portal 6.2.
I have started the server and try to deploy the ROOT.war.dodeploy file, I got the below exception and due to this ROOT.war deployment has failed.

11:34:21,767 INFO [stdout] (MSC service thread 1-4) 11:34:21,766 INFO [MSC service thread 1-4][ClusterBase:142] Autodetecting JGroups outgoing IP address and interface for www.google.com:80

11:34:43,880 INFO [stdout] (MSC service thread 1-4) 11:34:43,878 WARN [MSC service thread 1-4][ClusterBase:56] Failed to initialize outgoing IP address

11:34:43,881 INFO [stdout] (MSC service thread 1-4) java.net.ConnectException: Connection timed out: connect

11:34:43,882 INFO [stdout] (MSC service thread 1-4) at java.net.PlainSocketImpl.socketConnect(Native Method)

11:34:43,883 INFO [stdout] (MSC service thread 1-4) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

11:34:43,884 INFO [stdout] (MSC service thread 1-4) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

11:34:43,885 INFO [stdout] (MSC service thread 1-4) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

11:34:43,886 INFO [stdout] (MSC service thread 1-4) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

11:34:43,887 INFO [stdout] (MSC service thread 1-4) at java.net.Socket.connect(Socket.java:529)

11:34:43,888 INFO [stdout] (MSC service thread 1-4) at java.net.Socket.connect(Socket.java:478)

11:34:43,889 INFO [stdout] (MSC service thread 1-4) at java.net.Socket.<init>(Socket.java:375)

11:34:43,889 INFO [stdout] (MSC service thread 1-4) at java.net.Socket.<init>(Socket.java:189)

11:34:43,890 INFO [stdout] (MSC service thread 1-4) at com.liferay.portal.kernel.util.SocketUtil.getBindInfo(SocketUtil.java:67)

11:34:43,891 INFO [stdout] (MSC service thread 1-4) at com.liferay.portal.cluster.ClusterBase.initBindAddress(ClusterBase.java:147)

11:34:43,893 INFO [stdout] (MSC service thread 1-4) at com.liferay.portal.cluster.ClusterBase.afterPropertiesSet(ClusterBase.java:52)

11:34:43,897 INFO [stdout] (MSC service thread 1-4) at com.liferay.portal.cluster.ClusterExecutorImpl.afterPropertiesSet(ClusterExecutorImpl.java:95)

11:34:43,898 INFO [stdout] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

11:34:43,899 INFO [stdout] (MSC service thread 1-4) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

11:34:43,900 INFO [stdout] (MSC service thread 1-4) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

11:34:43,901 INFO [stdout] (MSC service thread 1-4) at java.lang.reflect.Method.invoke(Method.java:597)

11:34:43,902 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1546)

11:34:43,904 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)

11:34:43,908 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)

11:34:43,910 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)

11:34:43,917 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)

11:34:43,919 INFO [stdout] (MSC service thread 1-4) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)


Liferay Portal : 6.2 + Jboss 7.1

Can anybody help me to resolve this issue?

Thank you in advanced.

Regards,
Thulasi
thumbnail
David H Nebinger, modifié il y a 9 années.

RE: ROOT.war is not deploying after EHCache configuration in cluster

Liferay Legend Publications: 14914 Date d'inscription: 02/09/06 Publications récentes
Okay, this error has nothing at all to do w/ liferay or root.war deployment.

The error is totally on your jgroups (cache) configuration.
ramathulasi kudumula, modifié il y a 9 années.

RE: ROOT.war is not deploying after EHCache configuration in cluster

Junior Member Publications: 51 Date d'inscription: 06/10/11 Publications récentes
Thanks David for reply..

This issue is resolved from our end now.

Regards
Thulasi
thumbnail
Ankur Srivastava, modifié il y a 9 années.

RE: ROOT.war is not deploying after EHCache configuration in cluster

Junior Member Publications: 58 Date d'inscription: 09/11/08 Publications récentes
ramathulasi kudumula:
Thanks David for reply..

This issue is resolved from our end now.

Regards
Thulasi


Hi Thulasi,

We are also facing similar issue. Can you please share how you got this resolved, which settings helped ?

Thanks,
Ankur
Manjula Masilamani, modifié il y a 9 années.

RE: ROOT.war is not deploying after EHCache configuration in cluster

New Member Envoyer: 1 Date d'inscription: 24/07/13 Publications récentes
Hi,

We are also facing similar issue. Can you please share how you got this resolved, which settings helped ?

11:44:51,370 INFO [LiferayCacheManagerPeerProviderFactory:76] portalPropertyKey net.sf.ehcache.configurationResourceName.peerProviderProperties has value peerDiscovery=automatic,multicastGroupAddress=239.255.0.44,multicastGroupPort=23304,timeToLive=1
11:44:51,389 ERROR [MulticastRMICacheManagerPeerProvider:98] Error starting heartbeat. Error was: No such device
java.net.SocketException: No such device
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)
at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88)

Thanks,
Manjula
thumbnail
Andew Jardine, modifié il y a 9 années.

RE: ROOT.war is not deploying after EHCache configuration in cluster

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
Manjula,

Are you using A vritualized environment? or are you using physical iron? The reason I ask is that there are two common errors.

1. The network is not configured to allow multicast traffic

2. Multicast does not always work properly in a virtual configration

... also, if you are following the same blog post, it is worth noting that the last edit date on that article was 2009 which would have been Liferay 5.2 I think. If you are in a VM environment it might be a better idea to try a Unicast configuration using TCP.