How to add a https proxy serverfor the Jazz build engine?
We can use the RTC fat client fairly well when we specify the company proxy but I can't figure out how to specify it for the jbe.
I tried creating a new Eclipse workspace (C:\workspaces\jbe) via the RTC client and set the correct proxy servers. I then invoked the jbe using the following command:
but after a few minutes I get this in the console
I also tried copying the metadata on the default workspace and remove the "-data" parameter to the execution but I am still getting the same result.
Is there a plain-text configuration that I can modify in the JBE eclipse directory to set the proxy server details?
ciao!
I tried creating a new Eclipse workspace (C:\workspaces\jbe) via the RTC client and set the correct proxy servers. I then invoked the jbe using the following command:
jbe -data c:\workspaces\jbe -repository https://208.109.234.56:443/jazz -userId builder -pass engine -engineId testBuilder -sleeptime 1
but after a few minutes I get this in the console
2008-08-15 16:42:52 CRRTC3524W: Repository connection failed: CRJAZ0099I HTTP error "Connection timed out: connect" accessing https://208.109.234.56:443/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService.
I also tried copying the metadata on the default workspace and remove the "-data" parameter to the execution but I am still getting the same result.
Is there a plain-text configuration that I can modify in the JBE eclipse directory to set the proxy server details?
ciao!
6 answers
@ryan: we are behind a very restrictive proxy and our RTC server is on a hosted server (thus the masking of the last two octets) then we have no choice but to go through the proxy server. it would have been nicer to just have the build engine run on the server but it won't be able to connect to our license server for our RSx dependencies, and we might move to another server wherein we would not have the luxury of installing additional software.
re:443. that is the default port used by ssl so even if you dont specify it then it gets appended by default. i put it there to make sure that we are using the correct port. i can verify that it is working since we use the same address for the Jazz client.
@e: a rose by any other name will smell just as sweet. :)
that was my assumption since it is eclipse-based so it should be using the standard networking api. unfortunately the time out in my tests do not agree.
ciao!
re:443. that is the default port used by ssl so even if you dont specify it then it gets appended by default. i put it there to make sure that we are using the correct port. i can verify that it is working since we use the same address for the Jazz client.
@e: a rose by any other name will smell just as sweet. :)
that was my assumption since it is eclipse-based so it should be using the standard networking api. unfortunately the time out in my tests do not agree.
ciao!
some messages from .log
i don't know if this is a eclipse problem or a JBE problem. from what i can see, the proxy configuration is being read properly (proxy.company.com:3128).
ciao!
!ENTRY org.apache.commons.httpclient.HttpMethodDirector 2 900 2008-08-19 09:08:33.546
!MESSAGE Preemptive authentication requested but no default proxy credentials available
!ENTRY org.apache.commons.httpclient.HttpMethodDirector 2 900 2008-08-19 09:08:33.734
!MESSAGE Required proxy credentials not available for BASIC <any>@proxy.company.com:3128
!ENTRY org.apache.commons.httpclient.HttpMethodDirector 2 900 2008-08-19 09:08:33.734
!MESSAGE Preemptive authentication requested but no default proxy credentials available
!ENTRY org.apache.commons.httpclient.HttpMethodBase 1 800 2008-08-19 09:08:33.734
!MESSAGE Response content length is not known
!ENTRY org.apache.commons.httpclient.HttpMethodBase 1 800 2008-08-19 09:08:33.906
!MESSAGE Response content length is not known
i don't know if this is a eclipse problem or a JBE problem. from what i can see, the proxy configuration is being read properly (proxy.company.com:3128).
ciao!