Hi,
So, we've been struggling with this for a while. I am unable to run a report using the pre-defined templates in DM. After deploying the templates and creating a new report, I run it and get the follwing errors (URLs and Project name changed):
Details:
Starting run...
Invalid data source configuration. Not all sources are correctly configured.
Consuming a RPE license ...
Processing document template 1 of 1.
Using URL: https://exampleJTS.com/dm/reporting/uml/Model?name=Test+Project&'"&id=https%3A%2F%2FexampleJTS.com%2Fdm%2Fmodels%2F920&'"&project=Testing+-+Base&'"&workspace=Testing+-+Base&'"&rmps.context=https%3A%2F%2FexampleJTS.com%2Fdm%2Fstreams%2F13&'"&fields=dm/ModelList/Model/(name%7CownedComment/Comment/(body%7CappliedStereotype/StereotypeApplication/(@concreteType))%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7CnestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType))))))))))))).
Cannot access https://exampleJTS.com/dm/reporting/uml/Model?name=Test+Project&'"&id=https%3A%2F%2FexampleJTS.com%2Fdm%2Fmodels%2F920&'"&project=Testing+-+Base&'"&workspace=Testing+-+Base&'"&rmps.context=https%3A%2F%2FexampleJTS.com%2Fdm%2Fstreams%2F13. Verify that URL, user name and password are correct. Error is Cannot retrieve data from https://exampleJTS.com/dm/reporting/uml/Model?name=Test+Project&'"&id=https%3A%2F%2FexampleJTS.com%2Fdm%2Fmodels%2F920&'"&project=Testing+-+Base&'"&workspace=Testing+-+Base&'"&rmps.context=https%3A%2F%2FexampleJTS.com%2Fdm%2Fstreams%2F13&'"&fields=dm/ModelList/Model/(name%7CownedComment/Comment/(body%7CappliedStereotype/StereotypeApplication/(@concreteType))%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7CnestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType)%7C%20nestedPackage/Package/(name%7CpackagedElement/PackageableElement/(@href%7Cname%7C@concreteType))))))))))))). Server returned: Can not redirect to the OAuthentication identify URL.
If I fix the invalid characters in the URLs above (&&apos and ;") and paste the resulting URL into my browser while I'm logged into the JTS, it returns the requested data in my browser window. I have also gotten custom reports to work from RPE, using my own username and password.
To me, since I can clearly access the data with my own credentials, this indicates that something is wrong with the user (custom reporting user?) that is used create the report, but we can't seem to find anything that looks wrong. Does anyone have an idea on what might be going wrong?
Regards,
Ricky
Comments
Hi Ricky,
When you run an RPE report on the server, it runs as the currently logged in user (there is no "custom reporting user").
Have you checked your server logs (dm.log, I believe) to see if there are any errors?
There are errors, but the don't seem any more illuminating than what's being reported in the browser.
The errors include:
and
(this error is followed by a URL that works if I cut & paste it into my browser while logged into JTS.)
and
All of the URLs in the errors return XML data when I type them into the browser directly.
FYI, We have a help ticket with IBM submitted on this, but I'm still at a loss to explain the problems.