Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all articles
Browse latest Browse all 1701

ReportEngine Java SDK and Error RWI 00226

$
0
0

System:  BO XI 3.1 sp5

 

I'm writing a program that will open up Webi reports using the ReportEngine SDK, walk through them, and output to a .csv file information about which dimensions and measures are being used in the report.

 

I'm able to log in to the CMS and create the report engine instance with the following code:

 

ISessionMgr mgr = CrystalEnterprise.getSessionMgr();

entSession = mgr.logon(userName, pw, cms, authType);

store = (IInfoStore) entSession.getService(INFOSTORE_SERVICE_KEY);

_rptEngs = (ReportEngines) entSession.getService("ReportEngines");

_rptEng = (ReportEngine) _rptEngs.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);

 

 

I then use an InfoStore query to get a list of Webi reports.  When I try to open a report using this code (rpt is an IInfoObject):

 

int rptID = rpt.getID();

DocumentInstance idoc = _rptEng.openDocument(rptID);

 

I get this error after about several minutes:

 

Generic Exception Type:class com.businessobjects.rebean.wi.CommunicationException Cannot initialize Report Engine server. (Error: RWI 00226)

 

I've verified that the Webi Report Processing Servers (there are 4 of them in this system) are all up and running.  So, I'm not sure why this is occurring.  Can anyone point me in the right direction on this?

 

Thanks!

 

-Dell


Viewing all articles
Browse latest Browse all 1701

Trending Articles



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