Event Log Feeds pointing to wrong hostname
Hi,
I'm having a bit of a problem with displaying feeds inside the client. When i try to open a feed, it points me to https://VPS428:9443/jazz/. This presents 2 issues - localhost used as a url and port, which is set in tomcat/conf/server.xml to 8443, not 9443 (due to firewall restriction). I have RTC/Tomcat installed on a virtual server and I'm pointing to it from outside (DNS entry on my hosting). teamserver.properties file goes like this: com.ibm.team.repository.user.registry.type=TOMCAT com.ibm.team.repository.db.jdbc.location=C\:/jazz/server/repositoryDB com.ibm.team.repository.server.repourl.hostname=jazz.myhostname.com com.ibm.team.repository.changeEvent.expirationDefault=1209600 com.ibm.team.repository.notification.mail.from_name=Jazz Team Server com.ibm.team.repository.server.webapp.url=jazz.myhostname.com com.ibm.team.repository.notification.mail.smtp.user=user@myhostname.com com.ibm.team.repository.ws.allow.admin.access=false com.ibm.team.repository.web.suppressedPages={"com.ibm.team.repository.web.admin"\: } com.ibm.team.repository.db.vendor=DERBY com.ibm.team.repository.notification.mail.from=rtc@myhostname.com com.ibm.team.repository.changeEvent.expirationByType=com.ibm.team.workitem.WorkItem\:5184000 com.ibm.team.build.BuildResult\:172800 com.ibm.team.repository.web.helpuri=http\://publib.boulder.ibm.com/infocenter/rtc/v1r0m0/index.jsp com.ibm.team.repository.notification.mail.smtp.server=mail.myhostname.com com.ibm.team.repository.notification.mail.smtp.password=************** com.ibm.team.repository.web.logouturi= com.ibm.team.fulltext.indexLocation=workitemindex com.ibm.team.repository.web.homeuri=jazz.myhostname.com com.ibm.team.repository.notification.mail.enabled=true com.ibm.team.repository.web.pageorder={"com.ibm.team.repository.web.admin"\: , "com.ibm.team.process.web.projectArea"\: ,"com.ibm.team.process.web.projectAreaList"\: } com.ibm.team.repository.ws.allow.identity.assertion=false com.ibm.team.repository.server.repourl.port.https=8443 com.ibm.team.repository.changeEvent.expirationByCategory=SystemLog\:259200 I also tried to set some URL related entries in advanced properties after reading a bunch of forum posts about similar problems, but with no succes :( Anyone solved this issue before? Forgot to mention the server version: Rational Jazz Team Server - Express-C 1.0 (I20080618-1642) |
13 answers
It seems that your repository subscription in the TAN points to https://VPS428:9443/jazz/. Feeds for a repository will use the repository URI as base.
Are you specifying a public URI in the admin settings from the web ui? If yes, you should be able to create a repository connection from the client using the public URI and have the feed use this URI. Ben Foundation & Work Item |
Yes, if you mean the "Public URI Root", I have it set to "https://hostname:8443/jazz"
It works with webUI's for the projects, but not with feeds. Strange thing is, feeds are for some reason trying to use port 9443, no matter what I set. |
When you open the "Team Artifacts View" and expand the repository connections node, what is the exact URL you use there for the repository connection?
|
It's actually alias for the connection name, so username@hostname.
URL in properties is set to https://<URL>:8443/jazz/ |
Feeds should use the exact same URI as the repository connection in "Team Artifacts View". Could you try this:
1.) Delete the feeds "My Teams in Jazz Project" and "My Work Item Changes" 2.) Disconnect from the project area 3.) Connect to your project area 4.) The two feeds should be added again automatically 5.) Check the URL of the feeds and post it here (Rightclick > Properties). Thanks, Ben Foundation & Work Item |
Here they are:
My Teams in Test https://<URL>:8443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?provider=team&project_area=Test&user={$user} My Work Item Changes https://<URL>:8443/jazz/service/com.ibm.team.repository.common.internal.IFeedService?itemType=WorkItem&user={$user} |
Thanks, the URIs look right. When you doubleclick them to open or view them in the event log in team central do you see any news? Maybe I misunderstood your initial description "When i try to open a feed, it points me to https://VPS428:9443/jazz/.". Are you referring to opening the feed in Jazz or opening a news entry from that feed?
|
I can open the news page from "Feeds" in Team Artifacts. The described problem comes when I switch to Team Central view and try to open (double click) items from Event Log.
I'm getting dialog requesting my user ID / password for https://vps428:9443/jazz/ instead of my external address or IP. |
I have informed Todd Lainhart to this discussion that knows more about how the feed is generated on the server side.
|
|
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.