on 04-17-2015 3:31 PM
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??
Check if your desktop intelligence servers are enabled and running.
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your replay, the desktop intelligence servers are all enabled and running.
and i stille have the problème.
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
Thanks very match Prithviraj Shekhawat,
The jar rebean.fc.jar was missing .
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.