The Crystal Reports Sample (Eclipse)

I am not sure what I am doing wrong, please help! I can't even get the sample to work. No matter what I try (and I have tried a lot of things) I get the following error trying to access a simple CrystalReport1-viewer.jsp page.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:
I created a simple report (1 table, select every row) it displays fine in the Eclipse env (445 rows). I built the viewer page according to the instructions I found somewhere on this forum (posted by a business obj employee) and I still get the error! I have deployed the crystal reports project to BEA Weblogic 8.1.
The database connection is ODBC.
The error is always thrown from this line of code :
clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
I have even gone so far as to hard code the actual path (not relative) to the actual rpt file (with no luck).
Any help would be greatly appreciated.
Thanks,
Doug

Update :  OK I started from scratch and have made progress.
Now what doesn't seem to work is the report viewer can never find the report file (*.rpt). I take it Crystal does NOT search the classpath. I used the "create viewer" and it added the path to the rpt file (which is no path). I deployed the WebContent app to BEA 8.1 as an "exploded" application and Crystal can't find the file even though its in the same directory.
<crviewer:report reportName="CrystalReport1.rpt" />
What is the trick to get this stuff to actually work?
I deployed the app as a war file and got the same result.
WHY CAN'T IT FIND THE REPORT!!!
Can someone PLEASE HELP!
Thanks,
Doug

Similar Messages

  • Switching the language of the "Crystal Reports for Eclipse" plugin

    Good day everyone,
    I would like to ask about configuring the language of the "Crystal Reports for Eclipse" plugin:
    - I have "Crystal Reports for Eclipse" version: 2.0.7.r1040
    - I have installed the language packs 1 and 2
    - Currently, the Crystal Reports perspective and the associated views are displayed in German.
    - I would like to switch these views back to English.
    Questions:
    1. How can I switch the language?
    2. Will this switching of the language have any known side effect on the existing reports, because some of the reports in my current project are displayed in German?
    Thank you in advance for your support.
    Best regards,
    Samar

    Hello everyone,
    I have found a solution for this question that I would like to share with you.
    - Browse the Control Panel
    - Open the Regional and Language Options
    - In the Regional Options tab under the Standards and formats group, select the Locale that you prefer.
    - *Restart Eclipse* and the Crystal Reports plugin would read the changed setting and display the Crystal Reports perspectives and views in the language of the selected Locale.
    Best regards,
    Samar
    Edited by: Samar Hossam on Jun 30, 2011 6:56 PM

  • Unable to download the Crystal Reports for Eclipse

    <p>Hi,</p><p>I could able to see the download links for "Crystal Reports for Eclipse" in diamond site. But i am not able to download the file completely and the download is not supporting the resume option. Some times the downloads crosses 50% and finally the connection gets disconnected.</p><p>Is there any alternate way to download the content?</p><p>Regards,</p><p>Senthil </p><p> </p>

    Â Hi Senthil
    The only way for you to get CR4E is to download it from our web site.
    I just made a try, just to check if our web site was having any troubles today, and it worked fine, so I assume you might be experiencing some troubles on your side with your internet connexion.
    I have successfully downloaded the All-In-One zip file of CR4E, that you can find there :
    Â http://diamond.businessobjects.com/node/433
    I suggest you give it some more tries.
    Thank you for using CR4E.
    Thierry (Business Objects)

  • Crystal Reports for Eclipse vs. Crystal Reports Developer

    We are developing a Java web application for internal use.  Since we have some people at the company who are familiar with Crystal Reports, we'd like to have them write reports that we can display through our application.  Crystal Reports Server seems like overkill for this project, but the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/JRC_SDK/">JRC</a> sounded like a good fit.
    I have been evaluating <a href="http://www.businessobjects.com/products/reporting/crystalreports/developer/default.asp">Crystal Reports Developer</a> and trying out the <a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp">JRC samples</a>.  The samples don't use the tag library.  Instead, they show how to set session variables and redirect to a viewer JSP which contains a bunch of Java code to use the CrystalReportViewer.
    The samples are so much more complex than the code created by Crystal Reports for Eclipse, which simply uses the tag library:
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName="myreport-viewer" reportSourceVar="myreport" isOwnPage="true">
    <crviewer:report reportName="myreport.rpt" />
    </crviewer:viewer>
    I assume that I should be able to use the same tag library approach without using Crystal Reports for Eclipse, but I haven't seen any tutorials on it.  I'm trying to understand whether I should purchase Crystal Reports for Eclipse instead of Crystal Reports Developer.
    This is the difference, as I understand it:
    Crystal Reports Developer gives you the stand-alone Crystal Reports Designer and the right to run the JRC on an internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.40434600">$595</a>.
    Crystal Reports for Eclipse Standard provides a free report designer built into Eclipse.  It also includes the JRC for use on an internal server.
    Crystal Reports for Eclipse Professional provides "a more powerful runtime engine" with the right to run it on one internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.52068100">$495</a>.  Is this the same JRC provided with Crystal Reports Developer?
    If the "powerful" JRC is the same as Crystal Reports Developer's JRC, could I install Crystal Reports for Eclipse Standard to take advantage of the Eclipse integration and the built-in designer, but use the more powerful JRC from Crystal Reports Developer, which would also give me the stand-alone designer?

    <p>Hi there,</p><p>     If you are planning on deploying a JRC application then you should definitely be using Crystal Reports for Eclipse for your runtime engine. It is the latest version of the JRC and includes many updates not available in Crystal Reports Developer.</p><p>As for "power" the JRC included in CR Developer is on par with the JRC available in the Basic edition of Crystal Reports for Eclipse. The Professional edition of Crystal Reports for Eclipse provides the most powerful version of the JRC available.</p><p>With the release of Crystal Reports for Eclipse, Business Objects is setting the groundwork for separating Developer needs from the Report Author needs.</p><p>A professional report author will require a professional report design tool. For these users we are recommending that they purchase Crystal Reports Professional.</p><p>The developer, on the other hand, generally needs the SDKs and a toolkit to assist with building applications. We believe that these should be available at no cost to the developer, only charging when the application is deployed (in this case a CR4E Pro license). This is different from the current model with Crystal Reports Developer where we have combined a professional report designer plus the required runtime.</p><p>So, to summarize, definitely use Crystal Reports for Eclipse for your application runtime and have your report authors puchase Crystal Reports Professional. If you need a more powerful engine, access to technical support or plan to deploy on multiple servers then I would recommend purchasing the Crystal Reports for Eclipse Professional license for your development purposes.</p><p>As for some tutorials on creating viewer pages, the integration in Eclipse provides a very simple way of accomplishing this. I would suggest reading the section titled "<strong>Creating a New Viewer Page</strong>" in our Getting Started Guide found at the following URL:</p><p><a href="/node/320"><strong> http://diamond.businessobjects.com/node/320</strong></a></p><p>Let me know if you have some follow-up questions. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><strong><br /><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>           </p>

  • Crystal Reports for Eclipse 2.0 - Service Pack 1 - is Now Available!

    Service Pack 1 for Crystal Reports for Eclipse 2.0 is now available!
    Readme file listing the fixes is here:
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4ev2_readme.pdf]
    Kirby Leong in another post listed the download URLs, which I'll copy here:
    CR4E Runtime Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.202.zip]
    CR4E Manual Install Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e_2.0.1.zip]
    CR4E All-In-One Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e-all-in-one-win_2.0.1.zip]
    CR4E Language Packs
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e.nls1_2.0.1.zip]
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e.nls2_2.0.1.zip]
    If you wish to use the Eclipse IDE Software Updater:
    1. Start Eclipse 3.4.1 (Gemini) IDE.
    2. Select Help -> Software Updates...
    3. Select the "Available Software" tab.
    4. Click the "Manage Sites..." button.
    5. If you do not see the following URL listed:
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/
        then click "Add..." and add it.
    6. Select the above URL in the "Available Software Sites", then click "OK".
    7. The Available Software should now list the above URL.  Open the node, and you should see "Crystal Reports for Eclipse".
    8. Check all checkboxes for "Crystal Reports for Eclipse", and "Install..."
    After successful update, you'll see version 2.0.1 listed in Help -> About Eclipse SDK and clicking on the "Crystal Reports for Eclipse" icon (blue swoosh with green diamond).
    If you don't see that version listed, here's some troubleshooting tips:
    Open a web browser, and Go to the following URL:
      http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/site.xml
    You should get back a XML file listed the current CR4E plugin and language packs versions.  If you get an error instead, it may be because (1) you're in a locked down environment that won't let you access that site, or (2) the CR4E Update Site may be down for maintenance.   If the former, you'll have to download the updates by some other means and upgrade manually.

    hello ....
    my report is  ''crystal report 11'' => "OLE DB"  => "Add Command(select * from table) " .
    code(JRC) : eclipse + crystal report for eclipse version 2 =>  "cr4e-all-in-one-win_2.0.1.zip"
    <%@ page contentType="text/html; charset=UTF-8"
    import="
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    java.sql.Connection,
    java.sql.DriverManager,
    java.sql.ResultSet,
    java.sql.SQLException,
    java.sql.Statement" %>
    <%
    try {
         String reportName = "report.rpt";
         ReportClientDocument clientDoc = new ReportClientDocument();
         clientDoc.open(reportName, 0);
         String tableAlias = "Command";
         clientDoc.getDatabaseController().setDataSource(
                   myResult("SELECT * FROM table"),
                   tableAlias,"resultsetTable");
         CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
         crystalReportPageViewer.setReportSource(clientDoc.getReportSource());
         crystalReportPageViewer.processHttpRequest(
                   request,
                   response,
                   application,
                   null);
    } catch (ReportSDKExceptionBase e) {
         e.printStackTrace();
        out.println(e);
    %>
    I simplified the code, *myResult("SELECT * FROM table") *  is absolutely no problem ,
    and this code is absolutely no problem in the "crystal report for eclipse "version 1
    but in  version 2 run error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 無法預期的資料庫連線器錯誤---- Error code:-2147467259 Error code name:failed
    Please help me and tell me why....

  • How to use stored procedure in crystal report for eclipse

    Hi;
    I am working on crystal report for eclipse 2.0 and  trying to use stored procedure in report .It is created from Oracle but it is not showing any dependencies
    CREATE OR REPLACE procedure ACT_DB.getCostTransferDetails
            p_In_Contract_ID         varchar2 DEFAULT  '*',
            p_In_Status_ID           varchar2 DEFAULT  '*',
            p_In_COST_TRAN_DATE      varchar2 DEFAULT  '*',
            p_In_DEPT_ID             varchar2 DEFAULT  '*',
            p_In_PROJECT_ID          varchar2 DEFAULT  '*',
            p_In_EMPLOYEE_ID         varchar2 DEFAULT  '*',
            p_Out_CostTransfer_Cusor OUT COST_TRANSFER_PACKAGE.COST_TRANSFER_TYPE
    AS
    BEGIN    
            OPEN p_Out_CostTransfer_Cusor FOR
            SELECT
                header.cost_tran_id,
                header.cost_tran_date,
                header.total_credit_amount,
                header.total_debit_amount,
                header.transfer_status,
                header.updated_by,
                header.added_by,
                header.trf_over_ninety_days,
                header.business_unit_id,
                header.equip_approval,
                header.batch_desc,
                details.opr_unit_id,
                status.status_id,
                details.fund_code_id,
                details.prgm_code_id,
                details.class_id,
                details.activity_id,
                details.product_id,
                details.status_id,
                details.transaction_amount,
                details.jrnl_date,
                details.adjust_prcnt,
                details.adjust_amnt,
                details.details_equip_approval,
                details.detail_desc,
                details.account_id,
                details.project_id,
                details.dept_id,
                details.contract_id,
                details.reason_code_id,
                details.jrnl_id,
                employee.f_name,
                employee.l_name,
                employee.employee_id,
                project.project_id,
                project.project_status,
                --header.transfer_status,
                contracts.contract_desc 
              FROM header, details, status, employee, department, project, contracts
             WHERE     (header.cost_tran_id = details.cost_tran_id)
                    AND (header.cost_tran_date = details.cost_tran_date)
                    AND (header.transfer_status = status.status_id)
                    AND (department.dept_id = details.dept_id)
                    AND (department.dept_id = employee.dept_id)
                    AND (project.project_id = details.project_id)
                    AND (contracts.contract_id = details.contract_id)
                    AND (details.Contract_ID = p_In_Contract_ID OR p_In_Contract_ID ='*' )
                    AND (header.TRANSFER_STATUS = p_In_Status_ID OR p_In_Status_ID ='*' )
                    AND (TO_CHAR(details.COST_TRAN_DATE, 'MM/DD/YYYY') = p_In_COST_TRAN_DATE OR p_In_COST_TRAN_DATE ='*' )
                    AND (details.DEPT_ID  = p_In_DEPT_ID  OR p_In_DEPT_ID  ='*' )
                    AND (details.PROJECT_ID  = p_In_PROJECT_ID  OR p_In_PROJECT_ID  ='*' )
                    AND (header.ADDED_BY  = p_In_EMPLOYEE_ID  OR '*'=p_In_EMPLOYEE_ID  )
    Can any another way to make procedure
    Thanx
    Regards ,
    Amol

    Hi Amol,
    Are you able to execute your stored procedure from oracle?.
    - If "Yes" then use  the Crystal Report XIR2 Designer to create the report.
    - Import this report in the Crystal Report For Eclipse Workbench.
    - The latest version for Crystal Report For Eclipse is SP1.
    Please let me know the results.
    Thanks,
    Neeraj

  • Crystal Reports for Eclipse Update 4 is now available!

    <p>Hello All!  The next update for Crystal Reports for Eclipse has been released and it now supports Eclipse 3.3.  In addition to some product fixes, this update will support the Data Source Explorer view in Eclipse 3.3.  For information on how to get the latest update, refer to the following link: <a href="/node/3866">http://diamond.businessobjects.com/node/3866</a></p><p><strong>Additional Information:</strong><strong><br /></strong><a href="http://www.businessobjects.com/products/dev_zone/eclipse/cr4e-updates-readme.pdf" target="_blank">Product Fix Readme</a><br /><a href="/node/447">Release Notes</a><br /></p><p>For all your feedback, please use the Crystal Reports for Eclipse <a href="/forum/193"><font color="#800080">forums</font></a> to place your comments.<span>  </span>We will make every effort to respond to your comments. </p><p>Mandeep Jassal<br />Program Manager<br />Business Objects</p>

    Mandeep,
    Any ideas where to find the changelog from release 1.0.3 to release 1.0.4?
    The linked "Product Fix Readme" seems to aggregate all changes since version 1.0.0.
    Thanks.

  • Cannot Install Crystal Reports for Eclipse v2.0 on Mac OSX

    I've tried to install the Crystal Reports plug-in to my Eclipse environment without any success.  No matter what I try, I get the same error message:
    "Cannot complete the install because one or more required items could not be found.
      Missing requirement: 1271104370856 0.0.0.1271104370856 requires 'com.businessobjects.crystalreports.integration.eclipse.feature.feature.group [2.0.6.r916]' but it could not be found"
    To the best of my knowledge, I've installed all the correct pre-requisites listed on the SAP website.  I've tried every search I can think of and have found nothing that helps.
    I'm at my wits end...please help!

    Note that the Crystal Reports for Eclipse 2.0 plugin is not supported nor tested on MacOS, regardless of version. 
    Feedback I've gotten is that the installation fails for the embedded designer components.
    The Crystal Reports Java SDK runtime components - the library used to run rpt files on desktop of web apps using Java - is supported and tested on MacOS 10.5
    You'll note that the Supported Platform guide for CR4E 2.0 is specific in listing support only for the Runtime.
    Sincerely,
    Ted Ueda

  • DOWNLOAD CRYSTAL REPORTS FOR ECLIPSE 1.0.8 not compatible with java 1.4

    Hi,
    I understand that this plugin requires java 1.5. However, due to my company's existing infrastructure, I have to use java 1.4 for my web applications.
    May I know if there is a older version of the CRYSTAL REPORTS FOR ECLIPSE compatible with java 1.4 (manual installation) available for download ?
    Thanks in advance.

    You can download Java Runtime version 11.8.8.x [here|http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/1_0/crystalreports-javasdk-11.8.8.zip]
    It supported JDK 1.4 for a few different web application server deployment. Check platform.txt in it. However this is very old version of CR runtime and can cause other issues in crystal reports rendering etc. in which case the only solution would be to get the latest CRJ runtime.

  • XMLExportFormat and Crystal Reports for Eclipse 2.0

    Hello,
    I found this example code on the Crystal Reports for Eclipse wiki but can't find XMLExportFormat(s) classes in any jar. XMLExportFormatOptions is still referenced in javadoc even if it is useless as it needs the above mentioned classes.
    I really need to export to default XML (as we used to do it in Crystal "save as..." menu) because those files are post-processed. Any hint ? Where can I find those classes ?
    1. Create a new XMLExportFormatOptions object.
      IXMLExportFormat xmlExportFormat = new XMLExportFormat();
      XMLExportFormats xmlExportFormats = new XMLExportFormats(); 
      IXMLExportFormatOptions xmlExpFormatOpts = new XMLExportFormatOptions();
    2. Use the PrintOutputController class to get the list of XML export format types saved with the report.
      xmlExportFormats = rcd.getPrintOutputController().getSavedXMLExportFormats();
      int index = xmlExportFormats.getDefaultExportSelection();
      xmlExpFormatOpts.setXMLExportSelection(index);
      xmlExportFormat = xmlExportFormats.getXMLExportFormat(index);
    3. Create an XMLExportFormatOptions object and set the export format type to XML.
      IExportOptions expOpts = new ExportOptions();
      expOpts.setExportFormatType(ReportExportFormat.XML);
    4. Apply the XML export options.
      expOpts.setFormatOptions(xmlExpFormatOpts);
    5. Creates a new file with the specified path, name, and file extension.
      String xmlPath = "C:
    " + rcd.displayName() + "_" + xmlExportFormat.getName() + "." + xmlExportFormat.getFileExtension();
      FileOutputStream fs = new FileOutputStream(xmlPath);
    6. Creates a new ByteArrayInputStream object, streams the file using the Write method, and closes the stream.
      ByteArrayInputStream byteIS = (ByteArrayInputStream)rcd.getPrintOutputController().export(expOpts);
      byte[] buf = new byte[2000 * 1024];
      int nRead = 0; 
      int maxSize = buf.length;
      while ((nRead = byteIS.read(buf)) != -1)
         fs.write(buf, 0, maxSize);
      fs.close();

    I found the code at that url:
    https://www.sdn.sap.com/irj/boc/sdklibrary
    Go to "Report Application Server Java SDK Developer Guide" link. It's a zip file.
    In the zip file you can go right up to topic93.html
    I found another example here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/f0aea666-5384-2b10-ffb0-a6facef1d5e5 [original link is broken]
    See example under "Java_RAS-Managed_BE12_Export_XML"
    Anyway, I've never used Crystal till now and I'm totally lost in all those libraries. I found examples but on those example pages there are never links to libraries neither references to versions. So I just downloaded Crystal Report for Eclipse 2.0 but the examples didn't compile because classes in these examples don't exist. (!?)  Please, don't tell me about "you can do that or you can not do that with version X or version Y" but give me a hint on what I need to run these examples and where to find it, or simply how I can output a report to xml.
    (forgive bad english)
    Thanks for your help,
    Fabrice

  • Crystal Reports for Eclipse - Licensing

    Hello,
    My company is looking for a reporting solution which can easily be integrated into an existing J2EE web application. CR4E seems to be a very interesting candidate but the license terms are a bit unclear to me.
    It is mentionned on your site that the Eclipse plugins needed for development + the runtime JRC are available free of charge. However, this is contradicting the license terms in section 4.9 (Crystal Reports for Eclipse) of the [Business Objects License Agreement|https://boc.sdn.sap.com/node/449]:
    Crystal Reports for Eclipse may be licensed in one of the following ways: 1) In the form of a no-fee Development License which may be downloaded at www.businessobjects.com/eclipse following completion of the required registration information; or 2) in the form of production use ERE Licenses pursuant to your completion and submission of appropriate ordering documentation and payment of applicable license and Support fees.
    1) This section seems to indicate that the purchasing of an ERE license is required to use the product in production. Could you clarify this?
    2) Assuming that CR4E can be used in development and production free of charge, I have seen that a keycode is required to remove watermarks from the report and to be able to run the JRC. The website mention that a free registration is needed to obtain this keycode. However, I was able to download the keycode from the site without any registration. Can we use the keycode I downloaded for multiple development environments and in the web applications we are going to deploy in production? Can the keycode expires? What is its purpose if it can be obtained without registration?
    Thanks for your help and clarifications

    Did you get the keycode from this page:
    [https://boc.sdn.sap.com/node/462|https://boc.sdn.sap.com/node/462]
    If so, then that's the Crystal Reports for Eclipse - Basic keycode.  No expiry. Licensing described above applies.
    Note that this keycode comes with 2 Concurrent Processing License (CPL), meaning that it services two concurrent report requests simultaneously, and further requests are queued.  A "report request" isn't per-report, per-session or per-user, but any request for processing by the JRC - any clicks on the DHTML viewer for next page, last page, refresh, etc takes up a CPL till a result is returned to the client.
    Note that CR4E version 1 JRC (jar version 11.8) allows you to use the Crystal Reports Developer XI Release 1 or Release 2 keycode.  If you use these keycodes, then you get 3 CPLs.  However, different licensing will apply, as described here:
    [https://boc.sdn.sap.com/node/1523|https://boc.sdn.sap.com/node/1523]
    comparable with licensing for CR.NET
    Sincerely,
    Ted Ueda

  • Crystal reports for eclipse Upgrade

    <p>Hi all ! I&#39;ve upgraded my Crystal Reports For Eclipse from 1.0.0.v555 to 1.0.1.v671, but when i restarting Eclipse, i don&#39;t see some of the preceding functionality (i.e. Report Designer).</p><p>What&#39;s happened ? </p><p>Help me please </p>

    <p>Which method did you use to upgrade your existing version of CR4E (e.g. Update Site, all-in-one, etc.)? </p><p>When you go under <strong>Help->Software Updates->Manage Configuration </strong>are there any red &#39;x&#39;s under the Crystal Reports for Eclipse section?<br /></p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • Download link for Crystal Reports for Eclipse 2.0 Release Update 12

    Hi,
    In Release note we found that the Unexpected database connector error is resolved while using JDBC result set in setDataSource in CR4E in Release update 12. Please give me the link to download the Release update 12 jars.

    Hi,
    Below is link for the Crystal report for Eclipse 2.0:
    [http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp|http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp]
    you could always refer to the following thread as Bryan updated with new releases :
    [Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!|Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!;
    Hope this will help
    Regards,
    Rameez Shaikh

  • Improving the performance of Crystal Reports for Eclipse 2.0

    Hi,
    I am having some performance issues with displaying reports where it can take upto 30 seconds per user for each new session for the report to display. If we run this directly from the client (through Crystal 2008) it takes about 2 seconds.
    The product only has 4 different rpt files but are constantly viewed by the clients (although with diffferent parameters). The users tend to come onto the system browse a couple of reports and log-off. They will do this about 3 - 5 x a day.
    1) Can you cache the reports at an application level (rather than the session) (and is it recommended)
    2) Create a separate web-service just hosting the Crystal Reports
    3) Other mechanisms of calling the report (currently using addDiscreteParameterValue, replaceConnection, Logon [this replaceConnection and Logon is done for the master and every subreport], then using processHttpRequest
    Anyone got any advice , recommendations or pearls of wisdom?
    Probably have max 15 concurrent users which process these 4 reports.
    Kind regards
    Matt.

    CR4E 2.0 currently uses 5 CPLs - 5 concurrent process license, which means it services up to five concurrent report requests.  This isn't per-session, per-report, or per-user, but per-request (open report, next page, export).
    So having 15 simultaneous users may lead to some requests being queued till a license is free.
    For a more scalable solution, the recommendation is to go with a server-client solution like Crystal Reports Server Embedded or BusinessObjects Enterprise.
    But to tune your CR4E app to see how much you'll be able to service, what I recommend is turning on Log4J logging to see where the performance is going.
    Going from 2 sec to 30 sec between CR Designer (binary app) to CRJ (pure Java app) isn't out of performance expectations, but there may be ways to tune it.
    For example, if you're doing replaceConnection or setTableLocation, you may just want to do it once to the rpt file during deployment, so you'd not need to change the connection info every time the report is run.
    Saving to application context isn't something that CRJ is designed for - it's designed to have the ReportSource per-Session.
    Sincerely,
    Ted Ueda

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

Maybe you are looking for