cancel
Showing results for 
Search instead for 
Did you mean: 

CORBA user exception in main thread when trying to connect BI Launch Pad using java code

Chinmay_K
Explorer
0 Kudos
1,313

Hello,

I am getting an error when trying to access BI LaunchPad using Java code. Please see below error stack:-
Connecting...

Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/thirdparty/org/omg/CORBA/UserException at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.crystaldecisions.sdk.occa.security.internal.SecurityFactory.makeLogonService(SecurityFactory.java:111) at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:165) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody0(SessionMgr.java:457) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody1$advice(SessionMgr.java:521) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1) at getWebiObjects.webiReportObjects.main(webiReportObjects.java:23) Caused by: java.lang.ClassNotFoundException: com.crystaldecisions.thirdparty.org.omg.CORBA.UserException at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 18 more

I have included below file in classpath:-

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 com.businessobjects.boesdk/lib/aspectjrt-1.6.2.jar com.businessobjects.boesdk/lib/ceaspect.jar com.businessobjects.boesdk/lib/cecore.jar com.businessobjects.boesdk/lib/celib.jar com.businessobjects.boesdk/lib/ceplugins_core.jar com.businessobjects.boesdk/lib/certjFIPS.jar com.businessobjects.boesdk/lib/cesearch.jar com.businessobjects.boesdk/lib/cesession.jar com.businessobjects.boesdk/lib/coarsegrain.jar com.businessobjects.boesdk/lib/corbaidl.jar com.businessobjects.boesdk/lib/cryptojce.jar com.businessobjects.boesdk/lib/cryptojFIPS.jar com.businessobjects.boesdk/lib/jcmFIPS.jar com.businessobjects.boesdk/lib/secSAPR3.jar com.businessobjects.boesdk/lib/ssljFIPS.jar SAP BusinessObjects Enterprise XI 4.0/classes InstallData/InstallCache BI20 warfiles/webapps com.businessobjects.foundation.logging.jar com.sap.tracelog.jar dataAccess/connectionServer/jdbc/drivers/datafederator/corbaidl.jar

Please help me in resolving this error

Thanks

View Entire Topic
Chinmay_K
Explorer
0 Kudos

Thank you Dell.
I have included the above-mentioned JAR files in my classpath but I am getting error as in the attached file.
Also, many of the above-mentioned JAR files have multiple instances in my "C:\Program Files (x86)\SAP BusinessObjects" location.
Please help me choosing the correct ones so that I don't get the attached error.

Using Java I am trying to achieve list of reports containing specific objects.

Thank you,

Chinmay