Hi all,
I am developing an application to be executed as a program file within the BI4 scheduler.
My class implements the IProgramBase interface, but I get an error when invoking
ReportEngines srcRepEngList = (ReportEngines) sourceSession.getService("ReportEngines");
the error is:
SDKException$ServiceNotFound: The service ReportEngines could not be found on the client side
Please note that the exact same code works ok on a web application (WAR).
I've found out that this error happens when there are missing entries in the program classpath.
I've tried to add all the jars from the BOE lib folder, but I get an error as they are duplicates of those already in the scheduler default classpath.
Can anyone please help me finding out the required jars for ReportEngines service?
Thanks regards
Vincenzo
Hi Vincenzo,
SAP has not released any such list of jar files relevant to Report Engine SDK.
The recommended approach mentioned in the developer guide for Report Engine SDK is as mentioned below:
Navigate to <BOBJ_INST_DIR>\SAP BusinessObjects\SAP BusinessObjects EnterpriseXI 4.0\java\lib directory, select all the jars.
I know it is not an appropriate way to handle your application's runtimes as it will make your application more bulky but it is the only available & recommended option developers has got.
For your reference, you can download the Report Engine SDK developer guide for SP04 release here.
Refer to the section '5.1.2.2 Adding Rebean jars to the project' in the developers guide stating the above fact.
Regards,
Anchal
Hi Vencenzo,
Have you check this SAP help zip file out?
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_boejava_dg_en.zip
Once downloaded and extracted, just browse to page topic86.html.
Hope this helps,
Anirut W.
Hi Vincenzo,
The error you are facing is because your Program Object is not able to find the required jar files at runtime. However, since you have provided the jars in your WEB APP classpath it works. In BI 3.1 the jars required for scheduling a Program Object were internally mapped. Since a major chunk of REBEAN SDK's has been deprecated in BI 4.0, the classpath should be manually set while scheduling a Program Object.
Please go through the below SAP Note:
1934139 - Exception caught while running program. Reason: [com.crystaldecisions.sdk.exception.SDKException$ServiceNotFound: The service ReportEngines could not be found on the client side]. while scheduling a Program Object in Business Objects 4.0.
Hope this helps.
Regards,
Rajarsh
Add a comment