Error: com.crystaldecisions.celib.exception.c: ASSERTION FAILED
Post Author: floatsam
CA Forum: JAVA
Hi All, I'm trying to retrieve a report from infostore using code below: IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");IInfoObjects result = iStore.query("SELECT SI_KIND FROM CI_INFOOBJECTS WHERE SI_KIND = 'FullClient' AND SI_INSTANCE=0 AND SI_ID = 3664");I get the following error: com.crystaldecisions.celib.exception.c: ASSERTION FAILED at java.lang.Throwable.<init>(Throwable.java) at com.crystaldecisions.celib.exception.c.<init>(Unknown Source) at com.crystaldecisions.celib.trace.d.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.k.a(Unknown Source) at com.crystaldecisions.celib.properties.Property.a(Unknown Source) at com.crystaldecisions.celib.properties.Property.getPropertyBag(Unknown Source) at com.crystaldecisions.celib.properties.PropertyBag.getPropertyBag(Unknown Source) at com.crystaldecisions.sdk.occa.pluginmgr.internal.a.getSecurityInfo(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.a(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(Unknown Source) at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source) at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source) at com.dcx.dealerconnect.ddpr.controller.WelcomeActionXI.execute(WelcomeActionXI.java) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java) I'm using Websphere 5.0 and Java sdk to access the report. I'm able to login to CMS correctly. I get this error when i retrieve the infostore. Anyone else had the same problem?Thanks.
I am facing the same problem . Anyone has the reason why this happens or the solution ?
Thanks in advance.
Similar Messages
-
Com.crystaldecisions.sdk.exception.sdkExecption$InvalidCMSSyntax
hello,
i use infowiew by programm via url
http://pa/businessobjects/enterprise11/desktoplaunch/opendoc/view_report_pack.jsp?sdoc=devel&user=Administrator&pass=&cms=pack-81b36a7e9d&userdb=fo&passdb=fo&schamp=Date_EA&stype=DATE&svaleur=01/02/2007
the reports display one page (connection cms ok , connection db ok )
When i clik on button export or button next page
or button zoom 400% (Toolbar) i have an error
com.crystaldecisions.sdk.exception.sdkExecption$InvalidCMSSyntax
Have you an idea ?
option of viewer ?
Thanks Michel
<%@ page import = "com.crystaldecisions.sdk.occa.infostore.*,
com.crystaldecisions.sdk.plugin.desktop.common.*,
com.crystaldecisions.sdk.framework.*,
com.crystaldecisions.sdk.occa.security.*,
com.crystaldecisions.sdk.exception.SDKException,
com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,
java.util.Locale,
java.util.*,
java.lang.String,
com.crystaldecisions.sdk.occa.report.data.*,
com.crystaldecisions.report.web.viewer.*"
%>
<%
// CMS : Nom de la machine exemple sethseth
// user : nom de l'utilisateur CMS exemple Administrator
// pass : mot de passe de l'utilisateur example vide
// Sdocname : nom du rapport Rpt
// notes avant il faut l'integrer dans InfoView
// userDb : utilisateur de la base de donnee exemple rcteaxeriah
// passDb : Mot de passe de la Bd exemple rcteaxeriah
// MM : recupére les infos passés en paramétre par l'url
String cms = request.getParameter("cms");
String user = request.getParameter("user");
String pass = request.getParameter("pass");
String sdocName = request.getParameter("sdoc");
String userDb = request.getParameter("userdb");
String passDb = request.getParameter("passdb");
// Multiparametre
String[] tab_schamp = request.getParameterValues("schamp");
String[] tab_stype = request.getParameterValues("stype");
String[] tab_svaleur = request.getParameterValues("svaleur");
try {
//Log in.
IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(user,pass,cms,"secEnterprise");
//Grab the InfoStore from the httpsession
IInfoStore infoStore = (IInfoStore)enterpriseSession.getService("", "InfoStore");
//Query for the report object in the CMS. See the Developer Reference guide for more information the query language.
IInfoObjects oInfoObjects = (IInfoObjects)infoStore.query("SELECT TOP 1 * " +
"FROM CI_INFOOBJECTS " +
"WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_INSTANCE=0 AND SI_NAME='" + sdocName + "'" );
if (oInfoObjects.size() > 0) {
//Retrieve the latest instance of the report
IInfoObject oInfoObject = (IInfoObject) oInfoObjects.get(0);
//Use the PS report factory to obtain a report source that will be processed on the Page Server.
IReportSourceFactory factoryPS = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
Object reportSource = factoryPS.openReportSource((oInfoObject), Locale.ENGLISH);
session.setAttribute("reportSource", reportSource);
//Build database logon connection infos object. A connection info object containing the logon
//credentials must be created for each connection in the report. This will be passed into the report via
//the Viewer SDK so that the user is not prompted for report database logon credentials.
ConnectionInfo dbLogonInfo = new ConnectionInfo();
dbLogonInfo.setUserName(userDb);
dbLogonInfo.setPassword(passDb);
ConnectionInfos dbLogonInfos = new ConnectionInfos();
dbLogonInfos.add(dbLogonInfo);
//Put this object in session so that it can be retrieved and used by the viewer.
session.setAttribute("dbLogonInfos", dbLogonInfos);
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setName("CrystalReportViewer");
// Active l'exportation et l'impression sur le visualisateur
viewer.setOwnPage(true);
//Impression possible sur le mode ActiveX
viewer.setPrintMode(CrPrintMode.ACTIVEX);
//le rapport sera affiché sur le Viewer
//Object reportSource = session.getAttribute("reportSource");
viewer.setReportSource(reportSource);
//cache la fenetre d'authentification à la BD (Nom utilisateur et mot de passe)
// et se connecte directement à la base de donnée oracle
//ConnectionInfos dbLogonInfos = (ConnectionInfos)session.getAttribute("dbLogonInfos");
viewer.setDatabaseLogonInfos(dbLogonInfos);
Fields fields = new Fields();
// multi parametre entree
for (int l_i_Nbr_Champ = 0; l_i_Nbr_Champ < tab_schamp.length; l_i_Nbr_Champ++)
////////////// Paramétre entrée = DATE //////////////////////////////////////////////////////
/// TEST = if (tab_stype[l_i_Nbr_Champ].equals("DATE"))
// extraction du format JJ/MM/AAAA et déclaration des variables
// Année
int iannee = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(6,10));
// le mois de janvier commence a 0
int imois = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(3,5)) -1 ;
// Jour
int ijour = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(0,2));
setParameterValueDate(fields,tab_schamp[l_i_Nbr_Champ],"",iannee,imois,ijour,out);
////////////// Fin Parametre entree = DATE ////////////////////////////////////////
////////////// Paramétre entrée = STRING //////////////////////////////////////////////////////
if (tab_stype[l_i_Nbr_Champ].equals("STR"))
setParameterValueStr(fields,tab_schamp[l_i_Nbr_Champ],"",tab_svaleur[l_i_Nbr_Champ],out);
////////////// Fin Parametre entree = STRING ////////////////////////////////////////
// force le parametre dans le browser
viewer.setParameterFields(fields);
// prompt du parametre de saisie caché
// car on veut que le rapport s'affiche automatiquement
viewer.setEnableParameterPrompt(false);
// // Rafraichissement
viewer.refresh();
// appel browser
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
// Nettoyage
viewer.dispose();
else {
out.println("Report " + sdocName + " not found.");
catch(SDKException sdkEx) {
out.println(sdkEx);
%>
<%!
static void setParameterValueDate(Fields oFields, String paramName, String reportName,int annee,int mois,int jour,JspWriter out) throws javax.servlet.jsp.JspException
// FORMAT DATE
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.DAY_OF_MONTH, jour);
calendar.set(Calendar.MONTH, mois);
calendar.set(Calendar.YEAR, annee);
Object value = calendar.getTime();
ParameterField oParameterField = new ParameterField();
oParameterField.setReportName(reportName);
Values oValues = new Values();
ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
oParameterField.setName(paramName);
oParameterFieldDiscreteValue.setValue(value);
oValues.add(oParameterFieldDiscreteValue);
oParameterField.setCurrentValues(oValues);
oFields.add(oParameterField);
%>
<%!
private void setParameterValueStr(Fields oFields, String paramName, String reportName, Object value,JspWriter out) throws javax.servlet.jsp.JspException
ParameterField oParameterField = new ParameterField();
oParameterField.setReportName(reportName);
Values oValues = new Values();
ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
oParameterField.setName(paramName);
oParameterFieldDiscreteValue.setValue(value);
oValues.add(oParameterFieldDiscreteValue);
oParameterField.setCurrentValues(oValues);
oFields.add(oParameterField);
%>
<%!
static void Affiche(JspWriter out, String s) throws javax.servlet.jsp.JspException
try
out.println(s);
catch(java.io.IOException e)
{ throw new javax.servlet.jsp.JspException(e); }
return;
%>
{code]The reason this is happening is because of how you are storing your CMS name. You are storing the CMS name in the request object
String[] tab_schamp = request.getParameterValues("schamp");
String[] tab_stype = request.getParameterValues("stype");
String[] tab_svaleur = request.getParameterValues("svaleur");
but when you change the zoom level - a postback occurs and your code is run again. However this time the request object is empty and there's no values to retrieve.
So your options are:
1. After you run through the first time, save the report / reportsource in session and just retrieve that on each subsequent postback. This is a common technique.
2. Save the values that you retrieved from the request object into something that persists between postbacks - such as session or a cookie.
Shawn -
I am attempting to automate the "Save As" or export funtion of a webi doc but the documentation that states:
ReportEngine repEngine = (ReportEngine)EnterpriseSession.getService("ReportEngine");
Fails with:
com.crystaldecisions.sdk.exception.SDKException$ServiceNotFound: The service ReportEngine could not be found
When I run:
enterpriseSession.getServiceNames("CMSName", 0);
There is now "ReportEngine" listed.
Can anyone help????? This is not JSP but a command line app that simple need to open a doc, then to getView() to get the binary version of the Webi doc in PDF and simply save to disk via some java method.
I can get the doc, query reports, schedule reports, etc.. Just not export the report to disk.
Can anyone help???These are the only things that show up when I call:
EnterpriseSession().getServiceNames("sales-demo", 0);
Batch
Diagnostics
InfoStore
Logon
NameService
OCAAdministrator
Pinger
PluginDistribution
Session
APSAdmin
AuditAdmin
ISGeneralAdmin
SSOAdmin
This is the whole error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/businessobjects/wp/dbg/DBGTraceable
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.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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.businessobjects.rebean.wi.occa.WebiReportEngine.<init>(WebiReportEngine.java:66)
at com.businessobjects.rebean.wi.occa.WebiReportEngineFactory.makeOCCA(WebiReportEngineFactory.java:64)
at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)
at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)
at com.tidalsoft.adaptors.buisnessobjects.EnterpriseSession.getReportEngine(EnterpriseSession.java:72)
at com.tidalsoft.adaptors.buisnessobjects.BO.main(BO.java:28) -
Com.crystaldecisions.celib.trace.TraceManager ClassNotFoundException
java.lang.ClassNotFoundException: com.crystaldecisions.celib.trace.TraceManager
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at com.businessobjects.sdk.ceutils.prompts.PromptsUtil.<clinit>(PromptsUtil.java:48)
at com.amadeus.mis.reportingportal.BOAccessor.updateOtherTypePrompt(BOAccessor.java:1175)
at com.amadeus.mis.reportingportal.BOAccessor.updateSchedulePrompt(BOAccessor.java:1249)
at org.apache.jsp.CreateSchedule_jsp._jspService(CreateSchedule_jsp.java:467)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Getting this error when trying to populate prompts using promptsutil.populatewebi in BO R4
Regards,
Abhishek RanjanHi We tried this code without success. With 4.0 SP02 FixPack 11
final Prompts docInstancePrompts = docInstance.getPrompts();
for (int i = 0; i < docInstancePrompts.getCount(); i++) {
final Prompt docPrompt = docInstancePrompts.getItem(i);
String[] promptsArray = getStringArray(promptValues);
docPrompt.enterValues(promptsArray);
docInstance.setPrompts();
docInstance.save();
schedule(doc);
We have this error when we look at the instance:
Parameters:
Error Message: no data to fetch ("psEnter values for Country:": no given values)
Seems like the prompt is not save correctly.
Any idea why this is not working?
Best, -
Com.crystaldecisions.sdk.exception.SDKServerException
We are using BO edge connection through Java application.
We are getting exception.
com.crystaldecisions.sdk.exception.SDKServerException: An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.
The server supplied the following details: OCA_Abuse exception 10499 at [.\exceptionmapper.cpp : 67] 42040 {}
...Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008) Unknown user
we used cesession.jar for logon.
enterpriseSession = sessionMgr.logon( user,
pwd,
server,
AUTHENTICATION_TYPE);
This method is working for BO enterprise edition.
Now we are planning to same with Bo edge, then i am getting this problem.
Please suggest any one.assuming you use correct username, password, cmsname and auth type ("secEnterprise") test logging to Infoview or CMC in edge with the same user credential.
Also make sure that you use all the required Jar files ( even the dependent once, not just cesession.jar) in your project's classpath. also just FYI: stand alone java applications aren't supported to be used with BO. you need to use them in web container. -
com.crystaldecisions.sdk.exception.SDKException$ServiceNotFound: The service WebiReportEngine could not be found
Here is the code I have used to obtain a report engine object
oEnterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password, cms, authType);
reportEngine = (ReportEngine) oEnterpriseSession.getService("","WebiReportEngine");
Exception lies in the above line .. I am not able to debugTo get the ReportEngine object use the following code:
// Retrieve the Report Engines
ReportEngines boReportEngines = (ReportEngines) boEnterpriseSession.getService("ReportEngines");
// Retrieve the Report Engine for Web Intelligence documents
ReportEngine boReportEngine = boReportEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
You may also want to look at our samples using the Report Engine SDK available here:
http://diamond.businessobjects.com/samples/86/1199/ -
InfoView Error: com/crystaldecisions/Utilities/LengthLimitedDataInputStream
Hi all,
I am facing a problem when I try to upload a Crystal Report into InfoView.
I have SAP BW connected to BOXI 3.0 and Crystal Reports 2008 runs fine. I can insert pie charts and all other things and it looks fine.
Once I try to upload it into InfoView i get the error:
com/crystaldecisions/Utilities/LengthLimitedDataInputStream
When I delete the image i can upload the report w/o any problems and see the data in a table.
Does anybody have an idea what the problem could be?
Help would be greatly appreciated.The XI 3 RTM build for the SAP Integration Kit build of the SAP.war Java Web Application had a missing file that handles the reading of Crystal Reports images. Internal tracking number ADAPT01082195. This should be fixed in FixPack 2, or Service Pack 1.
Quick fix is to take MetafileRenderer.jar from CrystalReports/WEB-INF/lib and copy it to SAP/WEB-INF/lib on your Java Web App Server, then restart the Java Web App Server.
Sincerely,
Ted Ueda -
When Server is running, the computer on which Server runs has problems accessing a shared drive connected to that computer. This problem started when Server started logging messages like the following.
Feb 7 07:32:57 johns-imac com.apple.launchd.peruser.501[508] (com.akamai.client.plist[44806]): assertion failed: 13B42: launchd + 102012 [C35AEAF6-FCF6-3C64-9FC8-38829064F8A8]: 0xd
Feb 7 07:32:57 johns-imac com.apple.launchd.peruser.501[508] (com.akamai.client.plist): Throttling respawn: Will start in 10 seconds
The problem goes away when Server is not running and disk sharing is handled by Mac OSX 10,9.1 client.
What can one do to correct this issue with Server?I forgot to write down my computer specs:
iMac 27 Mid 2011
2.7 GHz Intel Core i5
4 GB 1333 MHz DDR3
AMD Radeon HD 6770M 512 MB
OS X 10.9.2 -
Hi ,
After our app has been running for certain period of time, the following exception is thrown when CrystalEnterprise.getSessionMgr() is called. What library/sdk is required ?
Thanks,
Steve
java.lang.NoClassDefFoundError: com/crystaldecisions/thirdparty/com/ooc/OB/CodeSetDatabase
at com.crystaldecisions.thirdparty.com.ooc.OBCORBA.ORB_impl.setParameters(ORB_impl.java:701)
at com.crystaldecisions.thirdparty.com.ooc.OBCORBA.ORB_impl.init(ORB_impl.java:1290)
at com.crystaldecisions.enterprise.ocaframework.idl.helper.ORBHelper.init(ORBHelper.java:57)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.<init>(ServiceMgr.java:600)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgrFactory.getServiceMgr(ServiceMgrFactory.java:64)
at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.<init>(SecurityMgr.java:120)
at com.crystaldecisions.sdk.occa.security.internal.SecurityFactory.makeSecurityMgr(SecurityFactory.java:155)
at com.crystaldecisions.sdk.framework.internal.SessionMgr.<init>(SessionMgr.java:240)
at com.crystaldecisions.sdk.framework.internal.CEFactory.makeSessionMgr(CEFactory.java:94)
at com.crystaldecisions.sdk.framework.CrystalEnterprise.getSessionMgr(CrystalEnterprise.java:121)
at x.y.z.util.CrystalReportHelper.<init>(CrystalReportHelper.java:48)For the Java BOE SDK applications, the jars required are those below:
The core jar files to use for BusinessObjects Enterprise Java SDK applications are:
biarengine.jar
biplugins.jar
cecore.jar
celib.jar
ceplugins_client.jar
ceplugins_core.jar
ceplugins_cr.jar
cereports.jar
cesession.jar
ceutils.jar
corbaidl.jar
ebus405.jar
flash.jar
SL_plugins.jar
logging.jar
pluginhelper.jar
xcelsius.jar
The dependent jar files to use for BusinessObjects Enterprise Java SDK applications are:
asn1.jar
backport-util-concurrent-2.2.jar
certj.jar
commons-logging.jar
derby.jar
freessl201.jar
jsafe.jar
log4j.jar
sslj.jar
The resources jar files for additional languages are:
ceresprops_xx.jar
cecore_xx.jar
celib_xx.jar -
Load linkage error - "com/crystaldecisions/sdk/occa/report/data/Fields"
We had installed and were using Crystal Reports for Eclpse with JBoss 4.2. We recently upgraded to JBoss 5.1 Our crystal reports do not work from the web interface anymore. The error we get is:
Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebCtxLoader$ENCLoader) previously initiated loading for a different type with name "com/crystaldecisions/sdk/occa/report/data/Fields"
It looks like there might be a class conflict with JBoss jars? Any ideas on which jars to look at would be really appreciated. Any other ideas or suggestions on what this error might be?
Thank you.Based on the supported platforms document, I don't believe that JBoss 5.1 is on the list of application servers that are supported by Crystal Reports For Eclipse Version 2. I believe that the versions of JBoss that are supported are 4.2 and 5. By not supported, it means that SAP BusinessObjects hasn't tested and certified against these versions.
As for the error, I'm not sure which jar file would be causing the conflict.
Regards.
- Robert -
I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
Development Environment
Windows7 Professional Service pack 1 -32 bit
Java - 1.6
Internet Explorer 11
Oracle Client 10g 32 bit ODBC driver
Testing Environment
Windows Server 2008 R2 Enterprise - 64 bit
java 1.6
Internet Explorer 9
Oracle Client 11g 62 bit ODBC driver
While loading reports in the 64 bit server the error occurs
ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
... 89 more
Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)A few things to note:
1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada -
Hi All,
I am using BO XI R2 version.
I am facing issues with BOE Java SDK web application.
In this application, I have just by-passed login page(jsp page) and logout from BO. But, it is throwing errors as mentioned below:
Generated servlet error:
E:\BusinessObjects\Tomcat\work\Catalina\localhost\_\org\apache\jsp\BO_005fHello_005fWorld\login_jsp.java:6: package com.crystaldecisions.sdk.framework does not exist
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
Application gives errors for these two packages:
package com.crystaldecisions.sdk.framework
package com.crystaldecisions.sdk.exception
Can anyone please tell me the solution?
From where I can get the jar files to resolves these problems?
I tried to search these jar files in BO installation folder but was not able to get.
Can anyone tell the exact folder path for these jar files, if it is there.
Or any link to download jar files.
Thanks in advance.Hello ,
-In order to run your application, please copy the Business Objects JAR files from the installed location.
-For example : If you have installed Business Objects on C:
then , go to the path :
C:\Program Files\Business Objects\common\3.5\Java\Lib and copy all the Jar files from that location including JAR files that are present in the external folder.
-Paste these JAR files inside lib folder of your application.
-The class com.crystaldecisions.sdk.framework comes under cesession.jar
Thanks,
Chinmay -
Experts,
I am performing Homogeneous System copy using backup/restore method.I have taken QA system backup ie dump files and trying to build on Sandbox system for testing purpose.Everything went fine and was able to load the dump but stuck at one of the point and throwing me error
ERROR [cinstallercallbackimpl.cpp:228]
CJS-00030 Assertion failed: Execution of SQL script reports an unexpected error.
When I checked the sapinst_dev log I found the below error but not able to fix it and not aware to proceed further
1> use SID
1> EXEC sp_changedbowner sapsa
Msg 17362, Level 16, State 1:
Server 'SID', Procedure 'sp_changedbowner', Line 181:
The proposed new db owner already is a user in the database or owns the database.
(return status = 1)
I am sure these may be small changes that have to be made by changing the db owner and Im not exactly sure how to perform it.
Note:I am Using the Windows environment with Sybase ase database and SWPM tool to perform.
Appreciate your suggestions
ThanksI fixed the issue ..by changing the owner sapsa.Bingo !!!!
-
[not solved] Error opening the editor - assertion failed
Hello everyone,
I began a project under Linux with Eclise and Flex builder alpha build 3.0.204732.
Everything's going fine under Linux but then, I wanted to access my project from Windows using Flex builder 3.0.2.214193.
If I do that, I receive the error: "Error opening the editor. Reason: Assertion Failed:"
Could you help me?
Thanks a lotup
-
CrystalDecisions.Shared.CrystalReportsException: Load report failed
Hi All,
I am new to Crystal Reports.. i want to load .rpt file from C# windows application.......i created a form and added crystal report viewer and i tried to load the .rpt file giving following error.
And this rpt file loading in anther machine in our office with same windows application. The same things are installed in my system. My OS is Windows XP, Crystal Reports 2008 with SP2 .version 12.2.0.29 , .Net 3.5 and Visual Studio 2008.
Can any one help me on this problem?
Error is
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x8004100B):
Error in File MIS-1 {C8826C27-9E57-43D4-8D53-45E46CC45725}.rpt:
Failed to logon to the Crystal Report Object Repository. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
Inner Exception is
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
OK
Advance Thanks,
Prasad SagalaMake sure you have read / write permissions on the win emp dir.
Use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] to trace through the loads and look for "Access Denied". Also, look for the rpt file(s), see what is happening with them.
Finally, search these forums, lot of info on the error. And search the kbase:
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
Ludek
Follow us on Twitter
http://twitter.com/SAPCRNetSup
Maybe you are looking for
-
Dear All, I hope someone can help me here with EPM 11.1.2.1 installation problem on my notebook - Windows Server 2008 R2 x65, 8 GB RAM, running SQLServer 2008 Express. I installed Hyperion Foundation. The installation and configuration went through s
-
File upload Name -- Attachment Name should be the same as the File Name!!!
Hi, Im trying to upload a file in my custom OAF page, I need to read the file that iam trying to upload and need to display that name.Currently its displaying as "view" and I also need to disable clear button. I have gone through the jdev doc ,forums
-
Selecting large amounts of data
I'm selecting a large amount of data from a database and put the data into an object file. For some reason the process dies halfway through with an OutOfMemoryException. Any Ideas? Secondly, does anyone know how to insert carriage returns with a prep
-
Hello All, I want to know about t code ST22. How can I find the terminal from which error is occurred in st22. I want to know the terminal`s IP address. Please help me. Thank You, Amit.
-
Where can content be stored?
A multi-part question, but I'll try to keep it simple. In a previous post, I asked how I might have quick access to my own media in Motion. I was told to put that media here: It's not in root, it's in User > Libary > Application Support > Final Cut S