Unable to fetch the rootservice catalog from Rational Doors 9.5
Hi,
I have Doors 9.5 Server, Client and DWA (Doors Web Access) configured on my machine. I am able to access the Doors Web UI now. As per the documentation the doors is enabled to use the OSLC services. when i am trying to fetch the rootservice catalog using the url : http://localhost:8080/dwa/rm/discovery/rootservicesthrough the rest client in mozilla it gives me an error in response. "HTTP Status 401 - Inadequate OAuth consumer credentials." As per the documentation the rootservice doc should be public resource and can be accessible without OAuth authentication. Thanks & Regards,Rahul |
3 answers
Hello Rahul,
you're right - the rooservices document should be accessible.
Please check your DOORS configuration:
https://www.ibm.com/developerworks/community/blogs/SrinivasMandava/entry/configuring_ibm_rational_doors_and_dwa_to_consume_and_provide_oslc_services_from_to_rtc17?lang=en
Eric
|
Hi Rahul,
Note that if you trying to integrate with a Jazz product on https, the fact you have DWA on http will cause you problems (browsers are blocking mixed http/https content).
9.6 is out of the box on SSL but it's not hard to configure in 9.5. http://pic.dhe.ibm.com/infocenter/doorshlp/v9r5m2/topic/com.ibm.rational.dwa.install.doc/topics/t_configureSSL.html
Maeve
Comments
Rahul Singh Bhadauriya
commented Jun 16 '14, 9:21 a.m.
Hi Maeve,
Maeve OReilly
commented Jun 16 '14, 11:17 a.m.
Hi Rahul,
I would check it directly in firefox, just rule out any issue with the GET re. Headers. I don't know if they can interfere, but FF should be able render it without the need for any addons.
The rootservices is generated. It'll be read from what is set on the database using the dbadmin commands and what is in the festival.xml. If you paste the contents of your festival.xml I can check that. It has changed over the releases, make sure you are following instructions for the exact version of DWA you are using. 9.5.0 and 9.5.1 are not the same w.r.t. configuring the festival.xml.
I would also verify all the dbadmin settings again - run them and make sure each parameter gives a line saying for example 'dwaHost is set'. For 9.5.2 http://pic.dhe.ibm.com/infocenter/doorshlp/v9r5m2/topic/com.ibm.rational.dwa.install.doc/topics/t_setupddbs.html
Maeve
Hi Maeve,
Maeve OReilly
commented Jun 17 '14, 11:27 a.m.
It's full of spaces and weird characters. that might be from cut-paste, but if not, they'll break something.
The license.server.location is missing a port.
The published.url.prefix and oauth.domain are necessary in versions Older than 9.5.1. From 9.5.1 onwards they should not be set.
You might be quicker logging a PMR on this.
|
Finally figured out what was going wrong with my installation. Specifically, when I ran the:
dbadmin -dcnEnable. . . command, I forgot to put a hyphen in front of dwahost command. Once I re-ran it with the hyphen, I was able to query the rootservices page and get the right response. |
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.
Comments
I'm having the same issue as Rahul: DOORS 9.5.2 working well. Web Access working correctly. Accessing http://localhost:8080/dwa/public/rootservices
gives me "The configuration is invalid".
Was a solution ever found for this?
Thanks