It's all about the answers!

Ask a question

RPE adding Data Source Schema of RRC 4.0.2 failed

Clement Liu (1.5k54249) | asked Jul 10 '13, 9:56 p.m.
I was trying to add this data source schema to my RRC 4.0.2 server: (I confirmed I could open the link on web browser)

This is what I did on RPE:

According to this wiki page -, I need to use "OAuth1a":
In RRC 4.0 authentication method changed from OAuth to OAuth1a, you will need RPE 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 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 (252311) | answered Jul 11 '13, 3:03 a.m.

Hi Clement Liu

RPE 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:

Best Regards
Abish M Zachariah

Clement Liu selected this answer as the correct answer

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.

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:

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:

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

 @abishabish, Cool. Thank you!

Your answer

Register or to post your answer.