Home > Error Finding > Error Finding Jndi Name Crystal

Error Finding Jndi Name Crystal


For this example, choose the Department table. Your display name accompanies the content you post on developerworks.Please choose a display name between 3-31 characters. 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 Back to top Step 2: Create a new Web project with a JSP that includes Crystal Reports This step is similar to Step 2 in Part 1, except that the sample my review here

I haven't managed to get it to work though. Now that you have set up your data source to be used at run time, follow Step 2 again, starting from sub-step 5, to create a new Crystal Report in the Please enter a title. The following is a hack to put the datasource where crystal expects to find it. https://scn.sap.com/thread/1226191

Error Finding Jndi Name Crystal

JNDI Name Not Found error If you need to confirm your JNDI Connection Name value in Connection dialog box of the Crystal Reports wizard, right-click in your report's white space > Does Detect Magic allow you to recognize the shape of a magic item? Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Business Objects: Crystal However, if you are running Rational Application Developer V or a later version, you are not likely to get this specific error. (That IBM Technote reports that this issue occurs

When stating a theorem in textbook, use the word "For all" or "Let"? Need an IBM ID? It also suggests some supported methods for working around this limitation on these platforms. Create "gold" from lead (or other substances) How to solve the old 'gun on a spaceship' problem?

Join our community for more solutions or to ask questions. 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 19. https://coderanch.com/t/289705/JSP/java/Crystal-Reports-Error-finding-JNDI In fact i could view a report which doesn't use reference cursor nor has subreports with same datasource connection and same program without logon credentials(ConnectionInfos).

I can refresh the report myself in crystal. You can follow the Crystal Reports FAQs link on the Rational Application Developer Support page (see Resources) for answers to any licensing, upgrade, or any other quick questions about the Crystal Comment Submit Your Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA Root Cause Analysis com.crystaldecisions.sdk.occa.report.lib.ReportSDKException Error finding JNDI name (TestDB)---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a() 0 similar

Figure 13. https://www.experts-exchange.com/questions/24914617/Java-using-eclipse-want-to-pass-parameter-to-crystal-report-export-options.html is there any problem for integrating crysatl reports which uses reference cursors using jdbc/jndi? Error Finding Jndi Name Crystal Join & Ask a Question Need Help in Real-Time? Your display name accompanies the content you post on developerWorks.

Moreover, now you can get the benefits of connection pooling and other application server-provided functionality. this page I need to look at my end , if I have that piece on tag need to be added to web.xml This is simple issue found with most of us using JDBC driver runtime error Note: If you are using WebSphere V 6.0.x test environment rather than the stand-alone IBM® WebSphere® Application Server V 6.0.x ( = \runtimes\base_v6.): After you have copied It works, but I'm sure there is a better way to do this. // Obtain our environment naming context Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); try{ //

  1. It is Part 2 of a five-part series that gives you hands-on experience in using Crystal Reports with IBM® Rational® Application Developer.
  2. CRDBJavaServer.ini file with JDBC connection settings Note: It is better to use Microsoft® Windows® Notepad than any other text file editor, because other editors have been known to insert some invisible
  3. I am getting the error: com/crystaldecisions/reports/reportengineinterface/a/a/b The code is (It os from the Business Objects site with a few modifications): <% /* * Applies to versions:XI Release 2 * Date Created:
  4. developerWorks Community: My home My profile My communities Settings Sign out Select a language: English 中文 日本語 Русский Português (Brasil) Español Việt IBM home Industries & solutions Services Products Support &
  5. Create a data source (1 of 2) Figure 30.
  6. The report database location can be either an ODBC connection named "Data" or a JDBC connection with the "JNDI Connection Name (Optional)" setting set to "Data".
  7. Close [x] Choose your display name The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name.
  8. Copy Java Reporting Component and necessary support .jars from C:\Program Files\Common Files\Crystal Decisions\2.5\java\lib and C:\Program Files\Common Files\Crystal Decisions\2.5\java\lib\external into the “/lib” folder inside the web application or .war file.2.
  9. Figure 9.

But I have solution for this problem. Here is my java code tring path = "C:\\reports\\Rew_Log.rpt"; ReportAppSession reportAppSession = new ReportAppSession(); reportAppSession.setReportAppServer("localhost"); reportAppSession.initialize(); ReportClientDocument reportClientDoc =(ReportClientDocument) reportAppSession.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"); reportClientDoc.open(path, OpenReportOptions._openAsReadOnly); session.setAttribute("reportSource", reportClientDoc.getReportSource()); ReportExportControl exportControl = new ReportExportControl(); exportControl.setReportSource(session.getAttribute("reportSource")); ExportOptions Should I ever use the pronoun "ci"? get redirected here If you get the Database Logon page (Figure 22), provide your DB2 username and password, and then click OK.

In your original code, I don't see that you set the database logon anywhere. Figure 8. To create a new Web project, follows these steps: In your Rational Application Developer workspace, create a new dynamic Web project by selecting File > New > Dynamic Web Project.

String REPORT_NAME = "./graphs/report.rpt"; %> <% try { //Open report.

thanks in advance. For Oracle, as an example, you must define the URL resource property with the value jdbc:oracle:thin:@ server_name :1521: database_name. Re: Crystal Reports in a JSP page 843838 Dec 9, 2005 10:04 AM (in response to 794117) Hi, yes, i did that in oracle-ds.xml.it contains jdbc/Data suggets me where i am going wrong.

i am new to crystal report and dont have much idea how to proceed. saved crystal reports with database expert as oracle server named 'Data'. Join us to help others who have the same bug. http://invictanetworks.net/error-finding/error-finding-jndi-name-crystal-reports-java.html Programmer/Analyst with a major telecommunications company (Rogers Communications Inc.) in Toronto.

If you agree to our use of cookies, please close this message and continue to use this site. Select Choose a Database Manager and JDBC Driver (see Figure 1). eg Tomcat default is java:comp/env. Figure 16.

there is no subreport attached to Report.rpt i was trying to give the Report.rpt name there which is wrong as Report.rpt is main report i need to leave it blank. 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 byteArrayInputStream.close(); byteArrayOutputStream.close(); fileOutputStream.close(); } catch (IOException e) { e.printStackTrace(); } } public static void main(String[] args) { launchApplication(); } } but when I am creating the connection and adding below lines If you get the Error finding JNDI Name (robinDatasource) message in your browser (Figure 36), make sure that you have provided your data source's JNDI Name, not the Datasource Name itself

Programmer Analyst, Rogers Communications Inc.Robin holds a Masters Degree in Computer Science from California State University, Sacramento. Java Editors IDEs DB Dev Tools Programming Languages-Other Advertise Here 810 members asked questions and received personalized solutions in the past 7 days. Specifically, this article explains how to embed Crystal Reports in Web applications to use Java™ Database Connectivity (JDBC) technology at design time and switch to Java Naming and Directory Interface (JNDI) I am setting the following properties.

Connect with top rated Experts 21 Experts available now in Live! To find out where to download trial versions of these products, see IBM trial software in Resources. If you provided all of the correct settings, you should get output similar to Figure 33. Grouping dialog box Click Next.