Foros de discusión

RSS Portlet, links cannot be found

Walter Hardy, modificado hace 16 años.

RSS Portlet, links cannot be found

New Member Mensajes: 4 Fecha de incorporación: 19/02/08 Mensajes recientes
I'm adding the RSS Portlet to my desktop, and for all links it displays "URL cannot be found" like this:

http://csmonitor.com/rss/scitech.rss cannot be found.

This is a new installation of 4.4.0 on Solaris with Glassfish.

I'm getting a Warning log entry in Glassfish as well:

24:42,466 ERROR [WebCachePoolImpl:67] com.liferay.portal.kernel.webcache.WebCacheException: http://partners.userland.com/nytRss/technology.xml java.net.UnknownHostException:

Any help would be appreciated. Thanks.
Walter Hardy
thumbnail
Jorge Ferrer, modificado hace 16 años.

RE: RSS Portlet, links cannot be found

Liferay Legend Mensajes: 2871 Fecha de incorporación: 31/08/06 Mensajes recientes
Hi Walter,

Do you need a proxy to connect to Internet. If so you need to configure Liferay to use that proxy tool using the following properties of system(-ext).properties:

    #
    # Set the location of the HTTP proxy that the portal will use to fetch
    # external content.
    #
    # Set http.nonProxyHosts for hosts that will not be proxied. This is useful
    # for proxied environments where you need direct access to internal servers.
    # This should follow the same semantics as the java.net package.
    #
    #http.proxyHost=192.168.0.200
    #http.proxyPort=4480
    #http.nonProxyHosts=192.168.0.250

    #
    # Set the maximum number of connections.
    #
    #com.liferay.util.Http.max.connections.per.host=2
    #com.liferay.util.Http.max.total.connections=20

    #
    # These are read for backwards compatibility and only used if the
    # "http.proxyHost" and "http.proxyPort" settings are not specified.
    #
    #com.liferay.util.Http.proxy.host=192.168.0.200
    #com.liferay.util.Http.proxy.port=4480

    #
    # Set the proxy authentication type.
    #
    #com.liferay.util.Http.proxy.auth.type=username-password
    #com.liferay.util.Http.proxy.auth.type=ntlm

    #
    # Set user name and password used for HTTP proxy authentication.
    #
    #com.liferay.util.Http.proxy.username=
    #com.liferay.util.Http.proxy.password=

    #
    # Set additional properties for NTLM authentication.
    #
    #com.liferay.util.Http.proxy.ntlm.domain=
    #com.liferay.util.Http.proxy.ntlm.host=

thumbnail
Srikanth Reddy Sanivarapu, modificado hace 15 años.

RE: RSS Portlet, links cannot be found

Regular Member Mensajes: 203 Fecha de incorporación: 15/11/08 Mensajes recientes
Jorge Ferrer:
Hi Walter,

Do you need a proxy to connect to Internet. If so you need to configure Liferay to use that proxy tool using the following properties of system(-ext).properties:

    #
    # Set the location of the HTTP proxy that the portal will use to fetch
    # external content.
    #
    # Set http.nonProxyHosts for hosts that will not be proxied. This is useful
    # for proxied environments where you need direct access to internal servers.
    # This should follow the same semantics as the java.net package.
    #
    #http.proxyHost=192.168.0.200
    #http.proxyPort=4480
    #http.nonProxyHosts=192.168.0.250

    #
    # Set the maximum number of connections.
    #
    #com.liferay.util.Http.max.connections.per.host=2
    #com.liferay.util.Http.max.total.connections=20

    #
    # These are read for backwards compatibility and only used if the
    # "http.proxyHost" and "http.proxyPort" settings are not specified.
    #
    #com.liferay.util.Http.proxy.host=192.168.0.200
    #com.liferay.util.Http.proxy.port=4480

    #
    # Set the proxy authentication type.
    #
    #com.liferay.util.Http.proxy.auth.type=username-password
    #com.liferay.util.Http.proxy.auth.type=ntlm

    #
    # Set user name and password used for HTTP proxy authentication.
    #
    #com.liferay.util.Http.proxy.username=
    #com.liferay.util.Http.proxy.password=

    #
    # Set additional properties for NTLM authentication.
    #
    #com.liferay.util.Http.proxy.ntlm.domain=
    #com.liferay.util.Http.proxy.ntlm.host=




Hi Jorge..

For 5.2.1 server what is the configuration?

Can u explain this?

Thanks & Regards,
Srikanth Reddy.S
thumbnail
Jorge Ferrer, modificado hace 15 años.

RE: RSS Portlet, links cannot be found

Liferay Legend Mensajes: 2871 Fecha de incorporación: 31/08/06 Mensajes recientes
AFAIK, this hasn't changed in 5.2 so the same configuration should work.
Abu Muhammad, modificado hace 12 años.

RE: RSS Portlet, links cannot be found

New Member Mensajes: 9 Fecha de incorporación: 30/09/11 Mensajes recientes
Jorge Ferrer:
Hi Walter,

Do you need a proxy to connect to Internet. If so you need to configure Liferay to use that proxy tool using the following properties of system(-ext).properties:

    #
    # Set the location of the HTTP proxy that the portal will use to fetch
    # external content.
    #
    # Set http.nonProxyHosts for hosts that will not be proxied. This is useful
    # for proxied environments where you need direct access to internal servers.
    # This should follow the same semantics as the java.net package.
    #
    #http.proxyHost=192.168.0.200
    #http.proxyPort=4480
    #http.nonProxyHosts=192.168.0.250

    #
    # Set the maximum number of connections.
    #
    #com.liferay.util.Http.max.connections.per.host=2
    #com.liferay.util.Http.max.total.connections=20

    #
    # These are read for backwards compatibility and only used if the
    # "http.proxyHost" and "http.proxyPort" settings are not specified.
    #
    #com.liferay.util.Http.proxy.host=192.168.0.200
    #com.liferay.util.Http.proxy.port=4480

    #
    # Set the proxy authentication type.
    #
    #com.liferay.util.Http.proxy.auth.type=username-password
    #com.liferay.util.Http.proxy.auth.type=ntlm

    #
    # Set user name and password used for HTTP proxy authentication.
    #
    #com.liferay.util.Http.proxy.username=
    #com.liferay.util.Http.proxy.password=

    #
    # Set additional properties for NTLM authentication.
    #
    #com.liferay.util.Http.proxy.ntlm.domain=
    #com.liferay.util.Http.proxy.ntlm.host=




dear Jorge, is it all code should be insert in portal-ext.properties or just partial code?
for example : only
#http.proxyHost=192.168.0.200
#http.proxyPort=4480
#http.nonProxyHosts=192.168.0.250

not whole code you provide

thanks