Foros de discusión

preference.validate.on.startup problem

thumbnail
Przemek Ch, modificado hace 16 años.

preference.validate.on.startup problem

Junior Member Mensajes: 44 Fecha de incorporación: 26/03/07 Mensajes recientes
Hi,

I've turn preference.validate.on.startup to true and I've got the following problem
It tries to check the news, stocks, currency_converter and amazon_rankings portlets but those portlets are disabled in liferay-portlet-ext.xml.

07:52:19,282 ERROR [portal.util.WebCachePool] 90210
07:52:24,282 ERROR [portal.util.WebCachePool] Chicago
07:52:29,281 ERROR [portal.util.WebCachePool] Frankfurt/Main
07:52:34,280 ERROR [portal.util.WebCachePool] Rome, Italy
07:52:34,280 WARN [service.impl.PortletLocalServiceImpl] Portlet with the name 4 does not have valid default preferences
07:52:39,358 ERROR [portal.util.WebCachePool] MOT org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:52:44,357 ERROR [portal.util.WebCachePool] NOK org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:52:49,357 ERROR [portal.util.WebCachePool] SBUX org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:52:54,356 ERROR [portal.util.WebCachePool] YHOO org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:52:54,356 WARN [service.impl.PortletLocalServiceImpl] Portlet with the name 12 does not have valid default preferences
07:52:59,387 ERROR [portal.util.WebCachePool] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:53:04,386 ERROR [portal.util.WebCachePool] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:53:09,401 ERROR [portal.util.WebCachePool] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:53:14,401 ERROR [portal.util.WebCachePool] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:53:19,400 ERROR [portal.util.WebCachePool] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms
07:53:19,400 WARN [service.impl.PortletLocalServiceImpl] Portlet with the name 16 does not have valid default preferences
07:53:40,788 ERROR [portal.util.WebCachePool] 0066620996 org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
07:54:01,801 ERROR [portal.util.WebCachePool] 0131412752 org.dom4j.DocumentException: No route to host: connect Nested exception: No route to host: connect
07:54:22,830 ERROR [portal.util.WebCachePool] 0201633612 org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
07:54:43,843 ERROR [portal.util.WebCachePool] 0310205719 org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
07:55:04,762 ERROR [portal.util.WebCachePool] 0310241448 org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
07:55:04,762 WARN [service.impl.PortletLocalServiceImpl] Portlet with the name 67 does not have valid default preferences



Another thing is the liferay-portlet-ext.xml
Which portlets are required? I thing that those that can't be disabled should be marked at last with a comment.
thumbnail
Renato Losio, modificado hace 16 años.

RE: preference.validate.on.startup problem

Regular Member Mensajes: 124 Fecha de incorporación: 25/10/06 Mensajes recientes

Another thing is the liferay-portlet-ext.xml
Which portlets are required? I thing that those that can't be disabled should be marked at last with a comment.


Hello.

I still have a 4.2 but I actually stripped all the portlets that I do not need. AFIK, the one I had to keep were:


admin
communities
enterprise_admin
layout_configuration
login
my_account
my_places
portlet_configuration
workflow

I removed all the other ones, but of course the ones I added in the ext environment.

cheers