Foren

[RESOLVED] Communications link failure due to

thumbnail
Rishi Dev Gupta, geändert vor 14 Jahren.

[RESOLVED] Communications link failure due to

Expert Beiträge: 255 Beitrittsdatum: 23.11.08 Neueste Beiträge
I have read almost all the posts but could not find the permanent fix for the issue


I am still getting

I am using LFR 5.2.3 with mysql mysql 5.0 on tomcat 6.0.18

If any one of you any solution, please respond.


21:17:52,211 ERROR [JDBCExceptionReporter:101] Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 

java.net.SocketException
MESSAGE: Broken pipe

STACKTRACE:

java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2744)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1612)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1808)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.doList(Loader.java:2228)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
	at org.hibernate.loader.Loader.list(Loader.java:2120)
	at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:935)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:79)
	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:74)
	at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.fetchByO_O_P_P(PortletPreferencesPersistenceImpl.java:1279)
	at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImpl.fetchByO_O_P_P(PortletPreferencesPersistenceImpl.java:1214)
	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:218)
	at com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl.getPreferences(PortletPreferencesLocalServiceImpl.java:197)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy52.getPreferences(Unknown Source)
	at com.liferay.portal.service.PortletPreferencesLocalServiceUtil.getPreferences(PortletPreferencesLocalServiceUtil.java:180)
	at com.liferay.portal.util.PrefsPropsUtil.getPreferences(PrefsPropsUtil.java:259)
	at com.liferay.portal.util.PrefsPropsUtil.getBoolean(PrefsPropsUtil.java:54)
	at com.liferay.portal.security.ldap.PortalLDAPUtil.isImportEnabled(PortalLDAPUtil.java:965)
	at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:546)
	at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:541)
	at com.liferay.portlet.admin.job.LDAPImportJob.execute(LDAPImportJob.java:62)
	at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:69)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)


** END NESTED EXCEPTION **
Mazhar Anwar, geändert vor 14 Jahren.

RE: Communications link failure due to

Regular Member Beiträge: 125 Beitrittsdatum: 05.02.10 Neueste Beiträge
Can you verify database(portletPreferences table) for all preferences values for your portlet?

It seems you have missed <preferences> in your portlet.xml.

Regards,
Mazhar
thumbnail
Rishi Dev Gupta, geändert vor 14 Jahren.

RE: Communications link failure due to

Expert Beiträge: 255 Beitrittsdatum: 23.11.08 Neueste Beiträge
This is not regarding any particular portlet. The tomcat just stops rendering the pages and the site goes down although the tomcat is running is background and there is no major load on mysql.
thumbnail
Rishi Dev Gupta, geändert vor 14 Jahren.

RE: Communications link failure due to

Expert Beiträge: 255 Beitrittsdatum: 23.11.08 Neueste Beiträge
check this out for solution

http://issues.liferay.com/browse/LPS-4578