cancel
Showing results for 
Search instead for 
Did you mean: 

Newer Version of JRC throws Error finding JNDI name

Former Member
0 Kudos

I have used JRC 11.8 for loading and viewing a report that was created by CR designer v10 and which used DAO data source, MS Access database. I set runtime POJO data source for the same report. But when I moved to CRJava 12, It throws the following exception, I used the same import and did not change anything. Even I tried with changing import to "import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;" still getting the same problem.

Crystal Reports Viewer 12.0.0.0
java.vendor = Sun Microsystems Inc.
java.version = 1.5.0_11
os.name = Windows XP
os.version = 5.1
os.arch = x86
0 [TSLVReader #1] ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter  -  detected an exception: Error finding JNDI name (D:\P4U\P4U_Stuff\P4UBackup\DatabaseWrk\CSS.mdb)
	at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2983)
	at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:696)
	at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:706)
	at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)
	at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)
	at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:984)
	at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:218)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1909)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
	at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
	at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
	at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
	at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
	at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
	at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
	at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
	at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
	at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
	at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
	at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
	at com.businessobjects.crystalreports.viewer.core.rs.RSRecordSource.openInputStream(Unknown Source)
	at com.businessobjects.crystalreports.viewer.core.TSLVReader.a(Unknown Source)
	at com.businessobjects.crystalreports.viewer.core.TSLVReader.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Error finding JNDI name (D:\P4U\P4U_Stuff\P4UBackup\DatabaseWrk\CSS.mdb)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved myself

Former Member
0 Kudos

I debugged it and got to know the issue. Its becoz how the Tables list used to access. Im looping all the tables and setting data source for each table. CR for Java does not clone the tables, as it was just altering the structure. Use of getTables(). clone solves this problem.