Skip to Content

Strange error on java script when upgading XI3.1 >> BI4

Hi,

I am working on updating a script which is using :

  • the BOE Java SDK

  • the ReBean Java SDK

OK, it seems pretty simple BUT :

I can't manage to find this specific class : com.businessobjects.sdk.core.logging.LoggerFactory which is requested by this one :com.businessobjects.rebean.factory.OCCAReportEnginesFactory

Is there a list of classes in each JAR of BI4 ? That could be useful 😊 By the way I don't find anything like 'com.businessobjects.sdk.core.logging.*' inside the documentation of SDK /BI4 version.

For info, i am running BI4 version 1400, on windows server 2008 / x64.

Thanks for your inputs 😊

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Jun 24, 2011 at 08:22 AM

    Finally, i manage to find it.

    So it's in the JAR file named sdk.core.jar. (thanks to the little tool named [jarscan |http://www.inetfeedback.com/jarscan/]to find this).

    Now, i need to manage to find the report engines for Webi, because my classical :

    repEng = repEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);

    is throwing an exception : Unable to instantiate ReportEngine

    Will see...

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      Did you find a solution to this? I am having a similar problem, given. I had included sdk.core.jar as had been suggested in the previous post. Are there additional jars needed?

      Thank You.

      ReportEngine re = (ReportEngine)entSession.getService(" ", "WebiReportEngine");

      Stack Trace

      com.businessobjects.sdk.core.CoreException: findBundleConfigurator problem with URL: jar:file:/D:/6.0-exp/BOAdapter/lib/rebean.wi.adapter.jar!/META-INF/MANIFEST.MF

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.findBundleConfigurator(ManifestDiscoveryManager.java:172)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.startDiscovery(ManifestDiscoveryManager.java:125)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.<init>(ManifestDiscoveryManager.java:99)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.<init>(ManifestDiscoveryManager.java:69)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.<init>(ManifestDiscoveryManager.java:58)

      at com.businessobjects.sdk.core.Core.init(Core.java:118)

      at com.businessobjects.sdk.core.Core.checkInit(Core.java:156)

      at com.businessobjects.sdk.core.Core.create(Core.java:456)

      at com.businessobjects.rebean.wi.internal.ReportEngineFactory.makeOCCA(ReportEngineFactory.java:76)

      at com.crystaldecisions.sdk.framework.internal.EnterpriseSession.getService_aroundBody22(EnterpriseSession.java:460)

      at com.crystaldecisions.sdk.framework.internal.EnterpriseSession.getService_aroundBody23$advice(EnterpriseSession.java:42)

      at com.crystaldecisions.sdk.framework.internal.EnterpriseSession.getService(EnterpriseSession.java:1)

      at com.tidalsoft.service.bo.logic.BOUtil._getReportEngineBO4(BOUtil.java:2220)

      at com.tidalsoft.service.bo.logic.BOUtil.main(BOUtil.java:2827)

      Caused by: com.businessobjects.sdk.core.CoreException: Configurator problem with com.businessobjects.rebean.wi.internal.config.RebeanAdapterConfigurator:

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.loadConfigurator(ManifestDiscoveryManager.java:278)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.readConfigurator(ManifestDiscoveryManager.java:256)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.readBundle(ManifestDiscoveryManager.java:210)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.findBundleConfigurator(ManifestDiscoveryManager.java:143)

      ... 13 more

      Caused by: java.lang.NoClassDefFoundError: com/google/inject/Module

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

      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

      at java.lang.Class.getConstructor0(Class.java:2699)

      at java.lang.Class.newInstance0(Class.java:326)

      at java.lang.Class.newInstance(Class.java:308)

      at com.businessobjects.sdk.core.internal.dynenv.impl.ManifestDiscoveryManager.loadConfigurator(ManifestDiscoveryManager.java:274)

      ... 16 more

      Caused by: java.lang.ClassNotFoundException: com.google.inject.Module

      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:306)

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

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

      ... 22 more

  • avatar image
    Former Member
    Oct 21, 2011 at 09:36 PM

    Hi,

    In case it's useful to anyone, using the jarscan tool, I was able to find the specif jars which make up the Report Engine SDK; see list below. This was time consuming and it would be nice if this was documented to the Report Engine developer guide as is the case of other developer guides. Of course you can include all the jars located at:

    \SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib

    but there are lots and I only wanted to include what I really needed.

    rebean.common.jar

    rebean.wi.adapter.jar

    rebean.wi.jar

    rebean.wi.model.jar

    rebean.wi.server.commands.jar

    rebean.wi.server.jar

    rebean.wi.server.requests.jar

    biplugins.jar

    sdk.core.jar

    guice-1.0.jar

    sdk.core.session.jar

    sdk.core.server.corba.jar

    sdk.core.server.common.jar

    sdk.core.session.cms.jar

    rom.jar

    sdk.core.server.jar

    cdzidl.jar

    inproc_container.jar

    cvom.jar

    cvom_chart_lib.jar

    cvom_chart_lib_en.jar

    cvom_en.jar

    cvom_ui_helpers.jar

    dsl_sdk_services.jar

    dsl_engine.jar

    dsl_sdk_commands.jar

    dsl_sdk_requests.jar

    dsl_sdk_server.jar

    org.eclipse.emf.ecore.xmi_2.4.1.v200902171115.jar

    org.eclipse.emf.ecore_2.4.2.v200902171115.jar

    org.eclipse.emf.ecore_2.4.2.v200902171115.jar

    org.eclipse.emf.common_2.4.0.v200902171115.jar

    org.eclipse.equinox.common_3.4.0.v20080421-2006.jar

    org.eclipse.equinox.registry_3.4.0.v20080516-0950.jar

    org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar

    cdz_cluster_mgmt_types_idl.jar

    GenericContainer_proxy.jar

    webi_proxies.jar

    GenericContainer_idl.jar

    IEPlugin_idl.jar

    CTPlugin_idl.jar

    ie_proxies.jar

    xpp3.jar

    xpp3_min.jar

    xpp3_xpath.jar

    xpp3-1.1.3_8.jar

    protobuf.jar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 19, 2011 at 10:30 PM

    Good Job Siu, you save me lot of time.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2012 at 01:20 AM

    thank you~ 😊

    Add comment
    10|10000 characters needed characters exceeded