on 05-28-2009 11:34 AM
How to generate the crystal report(.rpt file) from XML/XSD file as input..?
I'm trying out this from 'Crystal Reports in Eclipse'.
[Crystal Reports for Eclipse Version 2 - Programmatically Create Reports off of XML or Web Services Data Sources|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12990] [original link is broken] [original link is broken] [original link is broken];
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here using CR4J v.2 sp1<BR/>
This is the complete StackTrace:<BR/>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error al cargar el conector de base de datos. No se pudo obtener acceso a la clase 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(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.businessobjects.samples.InformePruebaXML.main(InformePruebaXML.java:64)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Error al cargar el conector de base de datos. No se pudo obtener acceso a la clase 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
at com.crystaldecisions.reports.queryengine.Connection.ur(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.uB(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.br(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.bs(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.t1(Unknown Source)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ds.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)
... 4 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
... 32 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: No se pudo cargar el conector de base de datos 'crdb_xml.dll'.
at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)
... 36 more
Edited by: Asier Camara Martin on Jun 1, 2009 2:16 PM
HI.
I am having the same problem with the missing DLL for xml reports, but I cannot find the XMLConnector.jar anywhere.
I am using Eclipse 3.6.0.
The Crystal plugin for Eclipse (2.0.6.r916) was downloaded and added manually into Eclipse (unzipped into the folder).
Where can I find the XMLConnector.jar?
Thanks.
Hi,
I designed a report in Crystal report with XML datasource for a webservice call. In crystal report it is working fine but failing in Java(Using eclipse and tomcat) with below error
Error loading database connector. The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.
All other reports with jdbc/jndi working fine from java. Could you please advise if I am missing some java files and where to down load?
Thanks in advance
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) Open the Crystal report with XML datasource connectivity in the Crystal Report designer.
2) Click on File ->Report Options.
3) Uncheck the Verify On First Refresh box.
4) Save the Crystal report.
5) Open this Crystal report in Crystal Report for Eclipse designer and try Executing it again.
Please let me know the results.
Thanks,
Neeraj
Hi,
I believe you might not be able to browse the data fields from the XML file although
the XML Data Source Connection is build successfully and able to ping it?
A work around is to design the reports from Crystal Reports Designer and import it to Eclipse.
Please let me know the results.
Thanks,
Neeraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.