It's all about the answers!

Ask a question

How to add a https proxy serverfor the Jazz build engine?


Anuerin Diaz (4112517) | asked Aug 15 '08, 4:49 a.m.
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:

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



permanent link
Ryan Manwiller (1.3k1) | answered Aug 15 '08, 1:53 p.m.
JAZZ DEVELOPER
I have not heard of anyone trying to use a proxy with jbe.

However, can you confirm the address you specified is correct? I have not
seen the use of port "443" before for a jazz server.


---
Ryan Manwiller
Jazz Team

permanent link
Evan Hughes (2.4k1318) | answered Aug 15 '08, 2:16 p.m.
JAZZ DEVELOPER
We can use the RTC fat client fairly well


I prefer the term "robust client".

As a guess, I presume that jbe (and scm) should both be able to speak directly to the proxy url, similar to RTC.

e

permanent link
Anuerin Diaz (4112517) | answered Aug 17 '08, 1:02 p.m.
@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!

permanent link
Anuerin Diaz (4112517) | answered Aug 18 '08, 9:21 p.m.
some messages from .log


!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!

permanent link
Anuerin Diaz (4112517) | answered Aug 18 '08, 11:58 p.m.
Defect item 59993 has been logged to track this issue.

permanent link
Anuerin Diaz (4112517) | answered Aug 20 '08, 11:45 p.m.
As stated in the RTC item, this also affects the tasks in the Ant build toolkit so it is really not possible to create a stand-alone build engine (e.g. cruisecontrol, Ant, cron,etc.) from behind the proxy server since it would still fail at retrieving files from the team server.

ciao!

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.