RTC4 installation with SQUID reverse proxy installed - going into forwarding loop and can not finalize /admin installation.
RTC4 topology - using 2 WAS servers:
Client <> SQUID Reverse Proxy Cache <> JTS WAS server / CCM WAS server <> DB2 server
SQUID proxy configuration file:
acl jts urlpath_regex ^/jts
acl admin urlpath_regex ^/admin
acl clmhelp urlpath_regex ^/clmhelp
acl ccm urlpath_regex ^/ccm
https_port 443 cert=/etc/squid/cert/server.pem key=/etc/squid/cert/privkey.pem accel vhost
cache_peer WAS1.server.com parent 9443 0 no-query no-digest originserver name=jts_srv ssl login=PASS sslflags=DONT_VERIFY_PEER
cache_peer_access jts_srv allow jts
cache_peer_access jts_srv allow admin
cache_peer_access jts_srv allow clmhelp
cache_peer_access jts_srv deny ccm
http_access allow all
cache_peer WAS2.server.com parent 9443 0 no-query no-digest originserver name=ccm_srv ssl login=PASS sslflags=DONT_VERIFY_PEER
cache_peer_access ccm_srv deny jts
cache_peer_access ccm_srv deny admin
cache_peer_access ccm_srv deny clmhelp
cache_peer_access ccm_srv allow ccm
http_access allow all
visible_hostname CLM.server.com
http_access deny all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF
cache_store_log none
cache_dir aufs /opt/squid/cache 12288 256 256
cache_mem 6144 MB
coredump_dir /opt/squid/var/cache
refresh_pattern . 0 20% 4320
cachemgr_passwd disable all
maximum_object_size 2048 MB
maximum_object_size_in_memory 32 MB
buffered_logs on
First forwarding loops in SQUID log during finalizing /ccm app:
2012/07/02 18:00:49| WARNING: Forwarding loop detected for:
GET /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/serviceConfiguration?implementationClassName=com.ibm.team.repository.service.internal.ServletConfigurationService HTTP/1.1
X-com-ibm-team-configuration-versions: LATEST
Accept: text/json
X-jazz-downstream-auth-client-level: 4.0
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Requested-With: XMLHttpRequest
Referer: https://clm.server.com/ccm/customSetup
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Via: 1.1 clm.server.com (squid/3.1.10)
Surrogate-Capability: unset-id="Surrogate/1.0 ESI/1.0"
Follow with:
2012/07/02 18:05:28| WARNING: Forwarding loop detected for:
GET /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/serviceConfiguration?implementationClassName=com.ibm.team.datawarehouse.service.internal.RemoteDatabaseService HTTP/1.1
2012/07/02 18:05:28| WARNING: Forwarding loop detected for:
GET /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/serviceConfiguration?implementationClassName=com.ibm.team.datawarehouse.service.internal.InternalDataWarehouseService HTTP/1.1
No error in client, so continue. But going to /admin
and receive error in web browser:
CRJCA0146E The Lifecycle Project Administration (LPA) application could not communicate with the application at the following URL: https://clm.server.com/ccm/friends. To communicate across servers with other applications, the LPA application must be able to communicate with the application at the specified URL. For more details, open the help system and search for CRJCA0146E.
hide detailsERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: https://clm.server.com/ccm/friends
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
The corresponding log record in SQUID:
2012/07/02 18:05:57| WARNING: Forwarding loop detected for:
GET /ccm/friends HTTP/1.1
Via: 1.1 clm.server.com (squid/3.1.10)
Surrogate-Capability: unset-id="Surrogate/1.0 ESI/1.0"
X-Forwarded-For: 10.150.80.133
Cache-Control: max-age=259200
Host: clm.server.com
Authorization: OAuth oauth_nonce="xxxxxxxxxxxxxxxx", oauth_token="", oauth_consumer_key="xxxxxxxxxxx", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1341245157", oauth_version="1.0", oauth_signature="xxxxxxxxxxxx"
Any suggestions, please?
Vlastimil Cudek