Home > Crystal Reports > Crystal Reports Error Finding Jndi Name

Crystal Reports Error Finding Jndi Name

Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We That could be what's causing your problem. Suppose I have a query which pulls data from 5 tables then I have to call reportClientDoc.getDatabaseController().setDataSource(rs,oldAlias,oldAlias+"_rs") five time with 5 hits to database which is not something good for performance. To create your data source, follow these steps: In the Project Explorer view, double-click your enterprise application project's Application Deployment Descriptor (application.xml). http://ogdomains.com/crystal-reports/crystal-reports-515.php

Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. To find out where to download trial versions of these products, see IBM trial software in Resources. By clicking Submit, you agree to the developerWorks terms of use. If you have already read Part 1 and have set up your environment, based on this step, you can go to Step 2.

Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. Figure 6. Figure 4. import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.*; public class ReportParameterPassing { private static final String REPORT_NAME = "C:\\rptfiles\\Test.rpt"; private static final String EXPORT_FILE = "myExportedReport.pdf"; private

I just need to know how are you writing code when you have to pull data from 5 different tables. If you agree to our use of cookies, please close this message and continue to use this site. Is report running in designer?_________________Thanks, Praveen Gawande "When Student is ready teacher appears" Back to top ruquiaForum MemberJoined: 16 Jun 2009Posts: 10 Posted: Wed Jun 17, 2009 7:16 amPost subject: Re: Hard data on students' reasons for being students If the co-signer on my car loan dies, can the family take the car from me like they're threatening to?

Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! I'm not sure how to do that with Java, though. If your Crystal Reports are more than just basic reports, thus have these more advanced requirements, you will find the subsequent articles in this series very useful. http://stackoverflow.com/questions/29043946/error-finding-jndi-name-while-extracting-sql-query-from-crystal-reports-file Specify connection parameters dialog box If the test connection works, click OK (Figure 3).

Back to top Praveen GawandeForum MemberJoined: 25 Apr 2009Posts: 29Location: Mumbai Posted: Wed Jun 17, 2009 6:29 amPost subject: Re: Error finding JNDI name (Xtreme Sample Database 11) Something is not Figure 8. Back to top Praveen GawandeForum MemberJoined: 25 Apr 2009Posts: 29Location: Mumbai Posted: Wed Jun 17, 2009 8:40 amPost subject: Re: Error finding JNDI name (Xtreme Sample Database 11) I dont see Figure 16.

Already a member? In the Application Deployment Descriptor's editor, click the Deployment tab (see Figure 23). Details are available in Vendor-specific datasource settings (link provided in Resources). Create a JDBC provider (2 of 2) Note: To add the correct JARs in the Class path section of the dialog box shown in Figure 28, first click Remove to remove

thanks - dave Reply to this Reply to original configure crystal reports 10 with glassfish[ Go to top ] Posted by: Jaya Bhattacharjee Posted on: December 12 2008 00:40 EST in click site As it is not supporing Excel export I moved to the Crystal reports for eclipse 2.0 version . When you manually change over the connection in the CR4E Designer, do you get an error message?What I'm trying to focus down on here is whether there's any schema incompatibilities between This is because the data source setup, using the Enhanced EAR editor, already set up your database credentials.

Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. However, if you are running Rational Application Developer V 6.0.1.1 or a later version, you are not likely to get this specific error. (That IBM Technote reports that this issue occurs ReportClientDocument reportClientDocument = new ReportClientDocument(); reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString); System.out.println(ReportClientDocument.inprocConnectionString); reportClientDocument.open("H:/something.rpt", OpenReportOptions._openAsReadOnly); /* //Retrieve the DatabaseController object. //DatabaseController databaseController news I am setting the following properties.

This site uses cookies, as explained in our cookie policy. First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. CRDB_JavaServer.ini settings guide: Business Objects support page that provides the complete information about configuring JNDI and JDBC connectivity in Crystal Reports 10Creating Data Sources: Link to Websphere Application Server Infocenter explaining

My file uses ODBC connectivity to SQL Server 2008 R2 to generate the report.

Register now while it's still free! Join them; it only takes a minute: Sign up Error finding JNDI name while extracting sql query from Crystal Reports file up vote 0 down vote favorite I am trying to If you get a JDBC driver runtime error (Figure 21) during this process, copy the DB2 Universal JDBC driver .jar files (db2jcc.jar, db2jcc_license_cu.jar, and db2jcc_license_cisuz.jar) from the < DB2-Install-directory >\SQLLIB\java directory Figure 25.

To use JNDI at run time, first you have to create a data source. Arab vs. Join Us! *Tek-Tips's functionality depends on members receiving e-mail. http://ogdomains.com/crystal-reports/crystal-reports-error-229.php When I try to pass the parameter I am getting "Error finding JNDI name" followed by the database name.

Note: If there is any confusion about JNDI name, provide the same value (for example, robinDatasource) in the Datasource Name and JNDI Name fields in the Modify Data Source dialog box SolutionsBrowse by Line of BusinessAsset ManagementOverviewEnvironment, Health, and SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning Registration on or use of this site constitutes acceptance of our Privacy Policy. This time, the report should display in the JSP correctly, without any errors.

This step explains how to use JDBC at design time and switch to JNDI at run time. suggets me where i am going wrong. but i get the following error: com.crystaldecisions.report.web.viewer.CrystalReportViewer Error finding JNDI name (Xtreme Sample Database 11) My jsp that calls the crystal report is <%@ page import="com.crystaldecisions.report.web.viewer.*,com.crystaldecisions.reports.reportengineinterface.*,com.crystaldecisions.sdk.occa.report.data.*,com.crystaldecisions.sdk.occa.report.reportsource.* " %> <% CrystalReportViewer viewer Save the CRDB_JavaSever.ini file, and then click Cancel in the Database Connection wizard.

Browser showing the JSP that contains the Crystal Report How to handle exceptions that occur at run time Some exceptions may occur during this process at run time. I have looked at the Eclipse SDK documentation and have seen how they pass a parameter to a report, and I will post the code below for anyone else having this Figure 27. Great for personal to-do lists, project milestones, team priorities and launch plans. - Combine task lists, docs, spreadsheets, and chat in one - View and edit from mobile/offline - Cut down

JDBC (JNDI) Connection settings dialog box Note: If, instead of the JDBC (JNDI) Connection settings dialog box, you get the error shown in Figure 11, see Resolve Java Server startup failure Second, when you run the JSP on the server, you will see the Datasource Configuration and your specific JDBC provider-related messages in the server's Console view. ..... ... . [8/20/06 21:07:18:016 Reply to this Reply to original JDBC on Crystal Reports[ Go to top ] Posted by: Joko Susetyo Posted on: May 09 2005 19:17 EDT in response to Weslei Marinho Hi That doesn't appear to be happening.Sincerely,Ted Ueda 0 Likes 0 View this answer in context 10 replies Share & Follow Privacy Terms of Use Legal Disclosure Copyright Trademark Sitemap Newsletter current

Crystal Reports 2008. In the Standard Report Creation Wizard dialog box, click Create New Connection > JDBC (JNDI) (Figure 9). you need to make changes in web.xml file and map odbc connection inorder to jsp look for that particular DSN. Next, select the robinJDBCProvider in the JDBC Provider List, and then click Add (beside the Data Source table) to create a new data source called robinDatasource with the settings shown in

The BO team is saying that the report connects to DB and execute query just we have to pass parameters.