Forums de discussion

Proxy configuration in Liferay 5.0.1/Glassfish not working

thumbnail
Freddy2809 Freddy2809, modifié il y a 15 années.

Proxy configuration in Liferay 5.0.1/Glassfish not working

Junior Member Publications: 46 Date d'inscription: 08/01/06 Publications récentes
Hi,

I need to configure an HTTP proxy for Liferay 5.0.1/Glassfish: Therefore I've set the following values in portal-ext.properties:
#
# Set the proxy authentication type.
#
com.liferay.portal.util.HttpImpl.proxy.auth.type=username-password

#
# Set user name and password used for HTTP proxy authentication.
#
com.liferay.portal.util.HttpImpl.proxy.username=<proxy-username>
com.liferay.portal.util.HttpImpl.proxy.password=<plain proxy-password>

In system-ext.properties I've additionally added the following parameters:
http.proxyHost=<host>
http.proxyPort=8080

Unfortunately, this configuration does not seem to work. I've checked it via the Plugin Installer Portlet.

Any suggestions?

Thanks.
Troy E Bull, modifié il y a 14 années.

RE: Proxy configuration in Liferay 5.0.1/Glassfish not working

New Member Publications: 5 Date d'inscription: 12/02/09 Publications récentes
Did anyone find a solution to this. I am having the same trouble now with liferay 5.2, it is very frustrating.
David Tildesley, modifié il y a 14 années.

RE: Proxy configuration in Liferay 5.0.1/Glassfish not working

Junior Member Publications: 34 Date d'inscription: 04/08/08 Publications récentes
Yes it is confusing. After many frustrating hours and eventually looking at the source code, I discovered that the settings go in system-ext.properties file (put it in the same directory as portal-ext.properties)



http.proxyHost=<your proxy server fqdn>
https.proxyHost=<your proxy server fqdn>
https.proxyPort=<your proxy server port>
http.proxyPort=<your proxy server port>
http.nonProxyHosts="localhost|*.<your internal domain>"

</your></your></your></your></your>




Frederik Weishäupl:
Hi,

I need to configure an HTTP proxy for Liferay 5.0.1/Glassfish: Therefore I've set the following values in portal-ext.properties:
#
# Set the proxy authentication type.
#
com.liferay.portal.util.HttpImpl.proxy.auth.type=username-password

#
# Set user name and password used for HTTP proxy authentication.
#
com.liferay.portal.util.HttpImpl.proxy.username=<proxy-username>
com.liferay.portal.util.HttpImpl.proxy.password=<plain proxy-password>

In system-ext.properties I've additionally added the following parameters:
http.proxyHost=<host>
http.proxyPort=8080

Unfortunately, this configuration does not seem to work. I've checked it via the Plugin Installer Portlet.

Any suggestions?

Thanks.
Markus Khouri, modifié il y a 14 années.

RE: Proxy configuration in Liferay 5.0.1/Glassfish not working

New Member Publications: 9 Date d'inscription: 03/05/09 Publications récentes
The issue seems to be that you must add all five entries that David Tildesley indicates; see http://issues.liferay.com/browse/LPS-2520 and http://www.liferay.com/web/guest/community/forums/-/message_boards/message/1281576