cancel
Showing results for 
Search instead for 
Did you mean: 

BO XI3.1 ReportEngineType.FC_REPORT_ENGINE error

Former Member
0 Kudos

Hi all,

    I'm using this simple code below to open a WebItelligence and a Desktop Intelligence Document :


infoObject = (IInfoObject) infoObjects.get(0);

  String kind = infoObject.getKind();

  if (kind.equalsIgnoreCase("Webi")){

  // Retrieve the Report Engine for Web Intelligence documents

  wiRepEngine = (ReportEngine) getReportEngines()

  .getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);

  }else if (kind.equalsIgnoreCase("FullClient")){

  wiRepEngine = (ReportEngine) getReportEngines()

  .getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE);

  }

  Request qr;

  Set<Request> listQr;

  DocumentInstance widoc = wiRepEngine.openDocument(infoObject.getID());

  widoc.refresh();

  boDataProviders = widoc.getDataProviders()

;

The function openDocument works for WebIntelligence document but nit for deski document.

il return me the following error:

Unable to instantiate ReportEngine


Which function can I use in this case??


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check if your desktop intelligence servers are enabled and running.

Thanks,

Prithvi

Former Member
0 Kudos

Hi Prithviraj Shekhawat,

Thanks for your replay, the desktop intelligence servers are all enabled and running.

and i stille have the problème.

Former Member
0 Kudos

Can you please share the full stacktrace of the error message.

Thanks,

Prithvi

Former Member
0 Kudos

Sorry this is the stacktrace:

com.businessobjects.rebean.wi.CommunicationException: Unable to instantiate ReportEngine.

  at com.businessobjects.rebean.wi.ReportEngines.createReportEngine(Unknown Source)

  at com.businessobjects.rebean.wi.ReportEngines.getService(Unknown Source)

  at com.sqli.Utils.Connexion.getReport(Connexion.java:201)

  at com.sqli.UI.PanGUI$8.run(PanGUI.java:1012)

  at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.ClassNotFoundException: com.businessobjects.rebean.fc.internal.ras21.FullClientReportEngineOCCAFactory

  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Class.java:169)

  at com.crystaldecisions.celib.classloader.ClassLoaderHelper$2.loadClass(ClassLoaderHelper.java:94)

  at com.crystaldecisions.celib.classloader.ClassLoaderHelper.loadClass(ClassLoaderHelper.java:133)

  ... 5 more

Former Member
0 Kudos

Include rebean.fc.jar file in your applications classpath, reboot the server and test.

Let me know if this works.

Thanks,

Prithvi

Former Member
0 Kudos

Thanks very match Prithviraj Shekhawat,

The jar rebean.fc.jar was missing .

Answers (0)