Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

BPM API method getReportingDataSource gives Class Cast Exception

$
0
0

Hello BPM experts,

 

I am trying to implement an ejb application that retrives log generated by  reporting activity element of, one of our BPMs my code is  as follows:

 

  this.reportingDSId = (java.net.URI) new java.net.URI("bpm://bpm.sap.com/reporting-datasource/dfo.no/dfodss_prod_dc/"+reportingURI);

  this.ejbTrace = this.ejbTrace + this.reportingDSId.toString();

  this.reportDS = BPMFactory.getReportingDataSourceManager().getReportingDataSource(this.reportingDSId);

  this.ejbTrace = this.ejbTrace + this.reportDS.toString();

  this.rrSet = BPMFactory.getReportingDataSourceManager().query(this.reportDS.getId(),"inn_registration", 1);

 

 

When executing the ejb method, I get Class Cast Exception when accessing

getReportingDataSource bpm api method.

Can any one help me identify what is the cause for this exception ?

 

Appreciate your help.

 

Best Regards,

Ajeet Phadnis

e-mail: ajeet.phadnis@dfo.no


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>