It's all about the answers!

Ask a question

RTCz: Workitem issues on new install


Curtis Kozielec (36122) | asked Dec 02 '10, 12:41 p.m.
This is our test install to prove out some processes, fresh install of RTCz standard (2.0.0.2 iFix 1), using either the visual studio, web or eclipse client.

There's two things going on, first the smaller one, in the workitems pages, all the images are broken, and it's only on workitems, the small icons.etc. all work in other areas of RTC/Jazz

Here's examples of the image path

https://{our server name}/service/com.ibm.team.workitem.common.internal.model.IImageContentService/processattachment/_6x64UPKHEd-cvuP8Ou4nKg/workitemtype/bug.gif

https://{our server name}/service/com.ibm.team.workitem.common.internal.model.IImageContentService/processattachment/_6x64UPKHEd-cvuP8Ou4nKg/workflow/reopen.gif

Has anyone else had a similar problem and how did you resolve?



Second Item:
When attempting to jump to work item from within visual studio it always returns 404's,

when launching from VS client here's the path that is generated:

https://{our server name}/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/20

Which then redirects immediately to:

https://{our server name}/web/projects/MVCSandbox%20Project#action=com.ibm.team.workitem.viewWorkItem&id=20

The correct path is actually:
https://{our server name}/jazz/web/projects/MVCSandbox%20Project#action=com.ibm.team.workitem.viewWorkItem&id=20

It seems the redirect is off just slightly in the path (missing "Jazz"), where does one go to resolve this?

All services and components have happy green checks in server status screens.

Thanks for any and all insight..

8 answers



permanent link
Curtis Kozielec (36122) | answered Dec 06 '10, 8:58 a.m.
.bump.

permanent link
Robin Bobbitt (59679) | answered Dec 06 '10, 11:47 a.m.
I don't believe this is an RTCz-specific issue. We'll need to get someone from the core RTC team to take a look.

permanent link
Eric Jodet (6.3k5111120) | answered Dec 07 '10, 1:10 a.m.
JAZZ DEVELOPER
Hello,
for #1 - the Process Template from which your project area has been created might be corrupted or out of sync, as referencing unexisting icons.
To verify that:
a - edit process template in the RTC Client
b - verify image / icon links on the links tab


for #2 - you may want to fill-in a new defect against RTC - VS Studio Component, so we can investigate this.
Please subscribe me to the work item.
See https://jazz.net/wiki/bin/view/Main/FilingDefects

Thanks.

permanent link
Prabodh Mairh (3812) | answered Dec 08 '10, 1:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER


Second Item:
When attempting to jump to work item from within visual studio it always returns 404's,

when launching from VS client here's the path that is generated:

https://{our server name}/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/20

Which then redirects immediately to:

https://{our server name}/web/projects/MVCSandbox%20Project#action=com.ibm.team.workitem.viewWorkItem&id=20

The correct path is actually:
https://{our server name}/jazz/web/projects/MVCSandbox%20Project#action=com.ibm.team.workitem.viewWorkItem&id=20

It seems the redirect is off just slightly in the path (missing "Jazz"), where does one go to resolve this?

All services and components have happy green checks in server status screens.

Thanks for any and all insight..


Regarding #2 -
1. Are you able to open the workitem from web ui? Please try this first. Login to web ui, connect to project area and try opening the workitem. Does this work for you?

2. If you are able to open in webui, we would need logs from you to investigate this further. Request you to do the following to create log file.
Open "{VISUAL_STUDIO_INSTALLATION_DIR}\Common7\IDE\devenv.exe.config " in editor, and add following lines at the end:
	<system.diagnostics>

<switches>
<add name="RTCTraceLevel" value="4"/>
</switches>
</system.diagnostics>


This will enable logging in RTC, and set the level to verbose. Restart visual studio client, and navigate to the workitem to get the 404 error.
Go to directory "C:\Documents and Settings\{User}\Application Data\IBM\Rational\Team Concert Visual Studio Client", it should contain file like trace-xxxxxxx.txt file. Please attach this file (latest one) to the defect that you create (as mentioned in the previous post).

PS: Later you can either remove the above lines in devenv.exe.config file, or change the trace level to "2", to avoid excessive logging.
<add name="RTCTraceLevel" value="2"/>

permanent link
Curtis Kozielec (36122) | answered Dec 13 '10, 12:08 p.m.
Prabodh,

Thanks for the reply!

I can access the workitems from the Web UI, but with issue number one, all the images are broken.

The extended logging didn't offer any insight, I see when the work items list is populated and has the uri's defined, the problem is at the server, it tries to redirect, but for whatever reason isn't getting me to the endpoint I need. The behavior is exactly the same via the IDE browser or if I copy/paste the workitem "Copy Web URL" into a browser manually. It may be a configuration issue somewhere since it seems that both issues are tied to a service not having the full path (missing /jazz/)

I grabbed the flow in Fiddler and here's whats happening:

Visual Studio IDE, right click work item, "Copy Web URL"
Paste URL into IE browser manually, hit enter to go to page.

https://{ourserver}/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/20


When this page loads, it is only there for a fraction of a second (thus why I used fiddler to trap), but it is an immediate redirect, page contents below:

Note: Had to change <> to [] so forum would accept and not try to render html





Redirecting to Jazz.




Click here if you are not automatically redirected.




So it redirects, right to a 404, now if I take the URL the redirect gave me, and simply manually insert jazz/ after the server name like this:

https://{ourserver}/jazz/web/projects/MVCSandbox%20Project#action=com.ibm.team.workitem.viewWorkItem&id=20


It works as expected (other than the issue #1, broken images), so how/why does the redirect lose a level in the url? The original URL from visual studio has "jazz" in it, it gets lost in whatever handles the redirect url.

permanent link
Curtis Kozielec (36122) | answered Dec 13 '10, 12:12 p.m.
Also on item number one, if I similarly add "jazz" into the URL manually, the images are quite happy, so it seems like only within the workitems section, the pathing is off.

permanent link
Krishna Kishore (50112) | answered Dec 15 '10, 6:09 a.m.
JAZZ DEVELOPER
This could be server setup problem. Have you checked the value of the public URI root?. This problem happens when the public URI root is not correctly configured.

Go to the https://server:port/jazz/admin and check the "Public URI Root" under Configuration/Advance Properties.

Also on item number one, if I similarly add "jazz" into the URL manually, the images are quite happy, so it seems like only within the workitems section, the pathing is off.

permanent link
Curtis Kozielec (36122) | answered Feb 01 '11, 8:52 a.m.
This could be server setup problem. Have you checked the value of the public URI root?. This problem happens when the public URI root is not correctly configured.

Go to the https://server:port/jazz/admin and check the "Public URI Root" under Configuration/Advance Properties.


I was checking back in to update this thread with what fixed it for us and noticed your reply, that is exactly what it was, we came across it ourselves, but that is exactly it. Thanks!

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.