on 2020 Apr 03 1:20 PM
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
Request clarification before answering.
Which version of BOBJ are you using?
Is the code that you're using from your own application? If so, you need your URL to point to "custom.jsp" and then update custom.jsp to do your login - there's already a code template there which should help.
Also, here's the list of files I put in the classpath when I'm working with the Java SDK for 4.2 SP4 and newer (I write back-end utilities.) This list can change based on the version of BOBJ.
bcm.jar
biarengine.jar
biplugins.jar
ceaspect.jar
cecore.jar
celib.jar
ceplugins_core.jar
ceplugins_cr.jar
cesession.jar
corbaidl.jar
ebus405.jar
logging.jar
TraceLog.jar
sdk.core.jar
sdk.core.server.common.jar
sdk.core.server.corba.jar
sdk.core.server.jar
sdk.core.session.cms.jar
sdk.core.session.jar
external/shared-objects.jar
SL_plugins.jar
CrystalReportsSDK.jar
cereports.jar
crlov.jar
CrystalEnterpriseRepository.jar
aspectjrt.jar
certjFIPS.jar
com.sap.js.passport.api.jar
cryptojFIPS.jar
derby.jar
freessl201.jar
log4j.jar
ssljFIPS.jar
guice-1.0.jar
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.