Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Error finding JNDI name - when using java resultset as datasource

$
0
0

Hi,

 

I'm having problems generating a report from JSP on a Glassfish server (Oracle Linux). Crystal Reports complains "Error finding JNDI name" in my JSP application.

I'm creating the report (.rpt) with Crystal Reports 14 and then I use the .rpt-file in "Eclipse with Crystal Reports" to create the JSP application.

When creating the report I use XML (ADO) as the datasource, but in the application I use Java resultset as the datasource:

 

reportClientDocument.getDatabaseController().setDataSource(resultSet);

 

I think the report was saved with data before, and now I changed in the options to not save data with the report. I feel Crystal Reports .rpt "remember" it had the XML as datasource before.

 

I've successfully created a whole new report from the exact same XML and same SQL query in the application, so the error should not be a mismatch between the datasources in my opinion.

I could of course redo the other "real" report from scratch but it would require a huge amount of time.

If somebody have some ideas of what I could try next to get the old report to work, I'm happy to hear them!

 

BRs.

 

Sebastian

 

Edited by: SBockelman on Jun 29, 2011 9:12 AM


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>