I am trying to display crystal reports in a jsp (Java ee) web portal . I don't have much experience with Crystall reports however I've installed Crystal Reports plugin for eclipse from the following link. We are using-
eclipse plugin: http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/
Crystal reports XI,
Database:DB2 i5/0S (AS/400),
the web project I want reports to display is on tomcat7
We also have a websphere dedicated to crystal reports.
Just for sake of testing, I went to eclipse > new > Crystal Reports Web Project. It created the project and few sample rpt files (screen shot attached).
I added a report that we created and tried to run the jsp file and I got following error:
Error finding JNDI name (DBCON)
DBCON is the name of the ODBC connection we created while creating the report in crystal report professional (software).
Any effort to help will be more than appreciated. Thank you
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %>
<%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
<crviewer:viewer reportSourceType="reportingComponent" viewerName="CrystalReport1-viewer" reportSourceVar="CrystalReport1" isOwnPage="true">
<crviewer:report reportName="MYREPORT.rpt" />