• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • hsingh
  • Reporter: teck
  • August 13, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • August 24, 2009

Description

tim-get supports the use of an http proxy via its properties, but if that proxy requires authentication there isn’t any way to specify the username/password.

Not sure if tim-get should prompt for the info or if it should come from the properties file (or both).

Comments

Hung Huynh 2009-08-17

fixed in trunk 13428, 13429. Waiting to merge into 3.1 after Rivera

Hung Huynh 2009-08-17

Users can set tim-get.properties for username/password of the proxy or set the environment variable TIMGET_PROXY_AUTH

Uncomment and set to use a proxy when connecting outside a protected network.

org.terracotta.modules.tool.proxyUrl = http://rh4qa1:8080

If your proxy requires authentication, you can specify it here or set environment variable TIMGET_PROXY_AUTH

org.terracotta.modules.tool.proxyAuth = hung:hung

Himadri Singh 2009-09-15

bench@perf28:/shares/perf/perfTests-hsingh/perfStage/archive/3.1.1-ee_t4473-13586/terracotta-3.1.1-ee> ./bin/tim-get.sh list Terracotta Enterprise 3.1.1, as of 20090911-110907 (Revision 4473-13586 by cruise@su10mo5 from 3.1)

There were some error trying to resolve the index file. Error Message: Error reading remote index file: Server returned HTTP response code: 407 for URL: http://forge-dev.terracotta.lan/api/2/index.xml.gz 1) Cannot load remote index file from ‘http://forge-dev.terracotta.lan/api/2/index.xml.gz’. 2) Cannot resolve local cached copy at ‘/tmp/tim-get/index.xml.gz’ either. Please make sure you are connected to the internet.

After setting correct credentials it worked fine.

Terracotta Enterprise 3.1.1, as of 20090911-110907 (Revision 4473-13586 by cruise@su10mo5 from 3.1)

*** Terracotta Integration Modules for TC 3.1.1 ***

(+) terracotta-hibernate-cache-ee 1.0.1 [org.terracotta.hibernate] (-) pojoizer 1.0.4 (-) tim-annotations 1.4.1 (-) tim-apache-collections-3.1 1.1.1 (-) tim-apache-struts-1.1 1.4.1 (-) tim-async-processing 1.2.1 (-) tim-cglib-2.1.3 1.4.1 (-) tim-concurrent-collections 1.2.1 (-) tim-distributed-cache 1.2.1 (-) tim-ehcache-1.3 1.4.1 (-) tim-ehcache-1.4.1 1.4.1 (-) tim-glassfish-v1 2.0.1 (-) tim-glassfish-v2 2.0.1 (-) tim-guice-1.0 1.2.1 (-) tim-hashtable 2.5.1 (-) tim-hibernate-cache-3.2 1.0.1 (-) tim-hibernate-cache-3.3 1.0.1 (-) tim-hibernate-cache-deprecated-3.2 1.4.1 (-) tim-hibernate-cache-deprecated-3.3 1.4.1 (-) tim-hibernate-entity-3.2 1.4.1 (-) tim-hibernate-entity-3.3 1.4.1 (-) tim-ibatis-2.2.0 1.4.1 (-) tim-jboss-4.0 2.0.1 (-) tim-jboss-4.2 2.0.1 (+) tim-jetty-6.1 2.0.1 (-) tim-maps 1.2.1 (-) tim-masterworker 2.1.1 (-) tim-pipes 2.1.1 (-) tim-quartz-1.5.1 1.2.1 (-) tim-quartz-1.6.1 1.2.1 (-) tim-richfaces 1.2.1 (-) tim-rife-1.6.0 1.3.1 (-) tim-searchable 1.0.1 (-) tim-spring-security-2.0 1.2.1 (-) tim-spring-webflow-2.0 1.2.1 (-) tim-svt 1.2.1 (-) tim-synchronizedcollection 2.5.1 (-) tim-synchronizedmap 2.5.1 (-) tim-synchronizedset 2.5.1 (-) tim-synchronizedsortedmap 2.5.1 (-) tim-synchronizedsortedset 2.5.1 (-) tim-tccache 1.2.1 (-) tim-tomcat-5.0 2.0.1 (-) tim-tomcat-5.5 2.0.1 (-) tim-tomcat-6.0 2.0.1 (-) tim-tree-map-cache 1.4.1 (-) tim-vector 2.5.1 (-) tim-wan-collections 1.0.1 (-) tim-weblogic-10 2.0.1 (-) tim-weblogic-9 2.0.1 (-) tim-wicket-1.3 1.3.1 (-) simulated-api 1.1.1 [org.terracotta]

(+) Installed (-) Not installed (!) Installed but newer version exists