It's all about the answers!

Ask a question

RPE 1.1.2.2: adding Data Source Schema of RRC 4.0.2 failed


Clement Liu (1.5k54149) | asked Jul 10 '13, 9:56 p.m.
I was trying to add this data source schema to my RRC 4.0.2 server: https://rrcst.nwie.net/rm/publish/resources?metadata=schema (I confirmed I could open the link on web browser)

This is what I did on RPE:


According to this wiki page - https://jazz.net/wiki/bin/view/Main/RRCCreatingCustomRRDGReports, I need to use "OAuth1a":
In RRC 4.0 authentication method changed from OAuth to OAuth1a, you will need RPE 1.1.2.2 to be able to use this version. Also you have to specify the OAuth1a on all the datasources you use to communicate to RRC 4.0, RPE 1.1.2.2 added the authentication method selection field.

But once I put in my username/password, picked "OAuth1a" and hit "OK", I was redirected back to the login prompt with the message "URL may be invalid or credentials are needed to access". :(

Any idea of what might be wrong? 

Thank you!


Accepted answer


permanent link
Abish Mathew Zachariah (252211) | answered Jul 11 '13, 3:03 a.m.

Hi Clement Liu

RPE 1.1.2.2 had authentication issues with data sources like DM which uses OAuth authentication, for which there is a testfix available. I have seen that this TestFix is even applicable for RRC. More information is listed in the below link. Please use this TextFix and let me know if the issue persists:

http://rpeactual.com/2012/06/25/rpe-1122-testfix-for-rational-design-manager/

Best Regards
Abish M Zachariah

Clement Liu selected this answer as the correct answer

Comments
Clement Liu commented Jul 11 '13, 10:20 a.m.

@abishabish, thanks. It did work!


One typo I noticed in the OAuthFix Readme though..

On Microsoft Windows systems, the default <IBMShared> directory is C:\Program Files\IBM\IBMShared
It should be C:\Program Files\IBM\IMShared instead. Can you confirm? 
Thanks you!


Abish Mathew Zachariah commented Jul 12 '13, 2:41 a.m.

Hi Clement Liu

Thanks for the update. On my Windows 7 64-bit machine, this location is "C:\Program Files (x86)\IBM\IMShared”

Best Regards
Abish M Zachariah


Clement Liu commented Jul 12 '13, 12:32 p.m.

@abishabish, a question about RPE template debugging . How do you do that? Use Java printout to system out to check the values? Any tips and tricks? Thanks.


1
Abish Mathew Zachariah commented Jul 15 '13, 7:49 a.m.

@clementliu, Yes we have to use "java.lang.System.out.println" statements to debug RPE template. Couples of other suggestions are also mentioned here:
http://rpeactual.com/2011/04/27/debug-messages-in-rpe/

For RPE to log more information in the log file there is a core debug mode which can be enabled using the option mentioned in the below link:
http://pic.dhe.ibm.com/infocenter/rpehelp/v1r2/topic/com.ibm.rational.pe.publishing.doc/topics/t_pref_engine.html?resultof=%22%63%6f%72%65%22%20


Clement Liu commented Jul 15 '13, 9:51 a.m.

 @abishabish, Cool. Thank you!

Your answer


Register or to post your answer.