Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:

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!

0 votes



6 answers

Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
@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!

0 votes


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

0 votes


Permanent link
Defect item 59993 has been logged to track this issue.

0 votes


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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 15 '08, 4:49 a.m.

Question was seen: 7,762 times

Last updated: Aug 15 '08, 4:49 a.m.

Confirmation Cancel Confirm