掲示板

Liferay 5.2.3 HTTP Proxy Settings

13年前 に Julian Bonilla によって更新されました。

Liferay 5.2.3 HTTP Proxy Settings

New Member 投稿: 6 参加年月日: 09/08/24 最新の投稿
Is there a definitive method of setting HTTP proxy settings (with username and password) on Liferay 5.2.3?
13年前 に Julian Bonilla によって更新されました。

RE: Liferay 5.2.3 HTTP Proxy Settings (回答)

New Member 投稿: 6 参加年月日: 09/08/24 最新の投稿
Update - Based on the portal.properties and system.properties, the following works for Liferay 5.2.3:

Create a file named: $LIFERAY_HOME\tomcat-6.0.18\webapps\ROOT\WEB-INF\classes\system-ext.properties

http.proxyHost=$YOUR_PROXY_HOST
https.proxyHost=$YOUR_PROXY_HOST
https.proxyPort=$YOUR_PROXY_PORT
http.proxyPort=$YOUR_PROXY_PORT
http.nonProxyHosts="localhost"

Create a file named: $LIFERAY_HOME\portal-ext.properties

com.liferay.portal.util.HttpImpl.proxy.auth.type=username-password
com.liferay.portal.util.HttpImpl.proxy.username=$YOUR_USERNAME
com.liferay.portal.util.HttpImpl.proxy.password=$YOUR_PASSWORD

Liferay restart was required for me.
12年前 に Tony Iwobi によって更新されました。

RE: Liferay 5.2.3 HTTP Proxy Settings

New Member 投稿: 9 参加年月日: 11/04/20 最新の投稿
I am quite new to liferay and I managed after several month bring up a company portal already in production with ldap connection.

I am having the same problem setting up proxy with my liferay 5.2.3 - Tomcat 6.0.18.
I followed the indications suggested by Julian Bonilla both on system-properties and external properties files but unfortunately after restarting my liferay I am still having the following error message:
HTTP Status 404 -
type Status report
message
description the requested resource () is not available

Surely I am missing something else where.
Please if any one give me a helping hand to get it resolved.

DCLabs