troubleshooting Question

JSP Crystal Reports XI JNDI

Avatar of Luke Eason
Luke EasonFlag for United States of America asked on
JSPDB2Web Servers
6 Comments1 Solution2062 ViewsLast Modified:
Hi,

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" />
</crviewer:viewer>
crystal.PNG
ASKER CERTIFIED SOLUTION
mustaccio

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros