Home > Java Error > Java Error Finding Jndi Name

Java Error Finding Jndi Name

Re: Crystal Reports in a JSP page 843838 Dec 7, 2005 9:20 AM (in response to 794117) Hi, Thanks for your reply.i think my query was not specific.I can give you Your display name accompanies the content you post on developerWorks. if you can give me a pointer how to start then i can proceed. To use JNDI at run time, first you have to create a data source. http://shpsoftware.com/java-error/java-error-exception-in-thread-main-java-lang-noclassdeffounderror.php

Need an IBM ID? Modify the following values in the CRDB_JavaServer.ini file, as shown in Figure 4: PATH: Point to the directory that contains the java.exe file (preferrably from the jdk1.4.2 installation, such as: c:\program Programmer/Analyst with a major telecommunications company (Rogers Communications Inc.) in Toronto. I cannot even view an rpt file from my JSP.

Figure 1. For now, though, set it up to use JDBC at both design time and run time. Issue resolved........... _________________Thanks, Praveen Gawande "When Student is ready teacher appears" Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First Register or Re: Crystal Reports in a JSP page 843838 Dec 29, 2005 9:46 AM (in response to 843838) Hi, I am using jboss-3.2.3 and Advanced Developer versions of Crystal reports 10.0 .

All rights reserved. Figure 3. Nine times out of ten reporting requirements… Crystal Reports The reason you can't create a summary field in Crystal reports Article by: emcevoy There have always been a lot of questions Next, enter your DB2 user ID and password in the Connection Information dialog box (Figure 12).

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 In the Application Deployment Descriptor's editor, click the Deployment tab (see Figure 23). Crystal Reports 2008. Can anybody help me?.

I have been working on same taks from 2 weeks . For test remove the below line from the code Code: viewer.setEnableParameterPrompt(false); Let me know the result_________________Thanks, Praveen Gawande "When Student is ready teacher appears" Back to top ruquiaForum MemberJoined: 16 Jun It is very urgent ....Help me out...........R Rajni Kumar Reply to this Reply to original Crystal reports and jsp....[ Go to top ] Posted by: buddu edgar Posted on: January 24 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

Unless you tell it otherwise the JRC will look in the InitialContext. Join the community of 500,000 technology professionals and ask your questions. The following describes how to handle each kind of exception that may occur. 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".

Covered by US Patent. http://shpsoftware.com/java-error/java-error-cannot-be-cast-to-java-applet-applet.php AE. Special offersTrial software offers Print this page Share this page Follow developerWorks Share this page: Facebook LinkedIn Twitter Delicious Digg StumbleUpon Email this page Follow developerWorks: Facebook Twitter About Help Contact Make an ASCII bat fly around an ASCII moon Why does Mal change his mind?

  • Figure 32 shows how it looks this time.
  • I did some research and found out that JRC/CRJ supports 100% Java data sources, such as JDBC and javabeans.
  • 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
  • The first time you sign into developerWorks, a profile is created for you.
  • Featured Post Do You Know the 4 Main Threat Actor Types?

You can not post a blank message. 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 > Forgot your password? navigate to this website Figure 18.

Please type your message and try again. 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 When I Try to access the report from the jsp page I am get the error: 'Error finding JNDI name ()the entires for the CRConfig.xml looks like this 100jdbc:oracle:thin:@ oracle.jdbc.driver.OracleDriver

for details go to below link http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/WorkingWithJRC4.html#999412_________________Thanks, Praveen Gawande "When Student is ready teacher appears" Back to top ruquiaForum MemberJoined: 16 Jun 2009Posts: 10 Posted: Wed Jun 17, 2009 5:50 amPost

Then click Next. My source code: ReportClientDocument cRpt = new ReportClientDocument(); cRpt.open("C:\\Users\\jgou\\Desktop\\test\\myCR.rpt", 0); if (cRpt.isOpen()) { GroupPath gp = new GroupPath(); String crSql = null; RowsetController rc = cRpt.getRowsetController(); String sqlStmt = rc.getSQLStatement(gp, null); Because your project is targeted to the WebSphere V test environment, you can use the Rational Application Developer Enhanced EAR editor to create this data source. Otherwise, to set up this file, follow these steps: In the Rational Application Developer workspace, switch to the Data view (Window > Open Perspective > Data).

Re: Crystal Reports in a JSP page 843838 Jun 22, 2006 5:24 AM (in response to 843838) Hello Juan_M, Can u help me out in displaying Crystal reports on a JSP Figure 15. When he wrote this article, he worked as a Support Engineer for RAD and WSAD tools at IBM Toronto Labs. my review here Please help me.com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error finding JNDI name (ESFBYDEV)---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)

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 In the Grouping dialog box (Figure 15), select your grouping preference (for this example, accept the default value). Fields dialog box Click Next. JDBC Connection Properties If you got the JNDI name not found error, then you may have mistakenly provided your Datasource Name (robinDatasource) rather than your JNDI Connection Name (jdbc/robinDatasource) in the

Add Authentication Entry Click Add, beside JAAS Authentication List table (Figure 25), to open the Add JAAS Authentication Entry dialog box. JNDI? Privacy Policy Site Map Support Terms of Use Sign In Create Account Search among 980,000 solutions Search Your bugs help others We want to create amazing apps without being stopped by Then click Add External Jars to browse to the file system and select the location of your DB2 Universal JDBC drivers.

In this article, you learned how to embed Crystal Reports that use JDBC at design time and switch to JNDI at run time. If not, I hope this simple JSP helps you. Note: For this example, make sure that you select 2.4 as the servlet version and WebSphere Application Server V 6.0 as the Target Server, as Figure 5 shows. Reply to this Reply to original Search About Us| Contact Us| For Advertisers| For Business Partners| Site Index| RSS TechTarget provides technology professionals with the information they need to perform their

Drag the Report Page Viewer component into the JSP This will open the New Crystal Report Page Viewer dialog box (Figure 19). I am working on a proof of concept. Figure 21.

© Copyright 2017 shpsoftware.com. All rights reserved.