Crystal Report 4 Eclipse Web Project

Hi guys,
I have a crystal web project which connect to the RAS server and display a report. I just downloaded the CR4E and created a web project with the "new project" wizard. I copied my old project's code and libraries to this CR4E project without overriding anything in the lib folder. When I run the project on server, I get the following error:
INFO  LogManager org.apache.jsp.testOpenReport_jsp._jspService(testOpenReport_jsp.java:167) - Open document.
7/05/2009 12:41:38 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoSuchMethodError: com.crystaldecisions.sdk.occa.report.application.ReportAppSession.setCommunicationAdapter(Lcom/crystaldecisions/proxy/remoteagent/ICommunicationAdapter;)V
     at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
     at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
The error came from here:
reportAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportService");     
LogManager.getLogger().info("Open document.");
reportClientDocument = reportAppFactory.openDocument(oInfoObject, 0, Locale.ENGLISH);
Is this library issue? If yes, which set of jar files should I use with CR4E to access RAS server?
Thanks,
Jun Dong

CR4E is a Component SDK solution.
RAS is a server-client solution.
You cannot use the CR4E SDK in lieu of the RAS SDK to communicate with the RAS server.
You must use the RAS SDK jars that come with the RAS server.
The APIs are very similar - however, the backends are different.
Sincerely,
Ted Ueda

Similar Messages

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • How to use crystal report in J2EE Project.

    how to use crystal report in J2EE Project.. any one know please inform me...
    thank you..

    http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
    I think this might help u...

  • Publishing crystal reports to web

    Can anyone give me an idea of how to publish the crystal reports to web. I know we need Crystal Reports Server for that. Apart from that what are the other steps.

    Hello,
    there are some solutions:
    - Deploy CR Server and than the users could access the Reports via InfoView (Web Portal of CRS)
    - Shedule the Report as 3rd Party format (pdf, xls, etc.) to a webserver like IIS or Tomcat so the users can view the report via a browser...but that would be very static
    - shedule the report to a network share and deploy CR Viewer to the Client PCs. So the users could view the .rpt format.
    Regards
    -Seb.

  • Crystal Reports Eclipse 3  Enhancements

    Hi, can someone please point us to a list of features (or provide one) that will be included within Crystal Reports Eclipse 3?  I understand it will include support for Ganymede and Crystal 2008, but I'm specifically wondering about the following:
    1. Hierarchical support for POJOs
    2. XLS output support

    There's no official release date yet, so I can't really comment on it. 
    It's scheduled for end of this year, but I don't know if that's 'firm'.
    Sincerely,
    Ted Ueda

  • Reg: changing of Crystal Report to Webi

    Hi Gurus,
    We are having many Reporting tools  .
    but.. Some (18)  templates are designed in Crystal Reports.
    Some (40) in Business Objects Web Intelligence.
    We would like to convert all of them to Web intelligence.
    Please suggest me the easiest way to change those Crystal Reports to Webi Reports.
    Quick Response is appreciated.
    Regards
    L K Vepuri

    You mean to say that.... We need to create from universe Level ...to Report Level....?
    Regards
    L K Vepuri

  • Crystal report vs Webi Report

    Hi Expert,
    My client  have WEBI and Crysal Report both installed in the system. They want to change all Bex reports to either in Crystal report or WEBI .
    My question is what all we need to consider while suggesting a particular type of report. When we should choose WEBI over crystal report?.
    Please answer me considering the fact that they are curently using BEX report in SAP BI environment.

    Hi
    Crystal is very flexble tool, if you want to use BW with crystal reports, you need to install SAP integration kit to get connected to your BeX queries and pull the data into report.
    If you need more secure environment you can go for WEBI reports, these reports can be based off a semantic layer wheich is very secured.
    Thanks,
    Sastry

  • Upgraded to Crystal Reports XI R2 - Project needs to be upgraded

    Post Author: GlennH
    CA Forum: Crystal Reports
    Two issues I am facing:
    1.  Whenever I open my existing project that I have added Crystal capabilities to I get a message box stating that "One or more projects in Solution "..." needs to be updated to use Crystal Reports XI Release 2.  If you choose "Yes", the update will be applied permanently.  If you choose "No", some design-time features may not work properly. Would you like to upgrade your solution?"
    For this message box I always click "Yes" - everytime I open the project.  Apparently permanent is not permanent!
    2.  After I click "Yes" above I always need to add the following two references to my web project in order to get my web solution to build without errors.  The errors state something to the effect that the version referenced in my project does not match version so-and-so.
    So, the problem is I can not open or build the project without user intervention.  It has been frustrating for me, but will be a show-stopper when we go into the automated build process.
    I am running VS 2005 with SP1 on Windows XP SP2.  All project files and the .sln file are writeable.
    Any help would be appreciated.
    Thanks,
    Glenn

    Post Author: jcm746
    CA Forum: Crystal Reports
    Having same problem.  Found out that the upgrade=yes option was removing some of the assemblies in the web.config file.  I now answer no every time I start VS2005.
    John

  • Eclipse web project using Glassfish 4.1 can not load some libraries in modules directory

    We installed latest "Glassfish Tools for Luna" (updated on 2 October 2013) and created a new Eclipse dynamic web project using Glassfish 4.1. When try to annotate a class with "javax.enterprise.context.ApplicationScoped", it complains as "ApplicationScoped cannot be resolved to a type" although imported as "import javax.enterprise.context.ApplicationScoped".
    Checking "glassfish-4.1/glassfish/modules/" directory and there is cdi-api.jar that contains ApplicationScoped class. But when checking from the project libraries in the eclipse, couldnt see such a jar.
    My configuration:
    Eclipse 4.4
    Glassfish runtime java development kit : java 1.8.0_20
    Project java development kit : java 1.8.0_20
    Project compiler level : 1.8
    Project facets : Dynamic web module 3.1, Java 1.8, Glassfish Web Extensions 4.0, Javascript 1.0
    How to solve this issue?
    Thanks.

    There are 274 jars in the Glassfish 4.0 modules directory, whereas there are 282 jars in the Glassfish 4.1 modules directory. So it is not only cdi-api.jar. Moreover there are some libraries, the names of which have been changed.
    Why not simply importing all libraries in the modules directory to Eclipse, like Tomcat plugin does for tomcat/lib directory? So when manually deploying a library(jar) to modules directory Eclipse will discover it automatically.
    Thanks.

  • Printing Crystal report from web

    I am using crystal report 8.5 and Coldfusion MX 6.1
    I open my report in a blank page. Everything show up
    properly.
    However, in my report, I have 12 pages. When I print it it
    only show up as 1-2 pages. I notice that on screen, when I click
    next ( to go to the next page of the report ), the url show up as
    whatever my path is and the word "report" + the page -1 + htm
    eg. If I am on page 2 of the report, my url would be
    \\localhost\mywebfolder\report1.htm
    Anyone have the same problem? Any solution?
    * I am thinking of taking off the grouping in the report, see
    if that make any different!

    Hiya,
    It isn't clear how you are calling the report (cfreport,
    location, etc.,).
    With 8.5 professional and higher, there is report server; 8.5
    enforces the five instance connection license that the 8.0 version
    implied and the 7.0 version didn't have at all. This methodology
    allows for using the Crystal web report engine which supports the
    use of an ActiveX viewer or Java Viewer.
    I have an annoyance where an application that has run for
    more than five years using the ActiveX viewer used to run without
    prompting for database credentials but now does.
    Take a look here for some hints
    http://www.vordesigns.com/Portal/phpBB2/viewtopic.php?t=154
    I can send you the page cfm pages I use but it references a
    table of report names, you will have to do a little of your own
    debugging to get it to work in your enviroment.
    There is also a topic post in March from me
    http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1137866 &forumid=1
    ... or is it one of my pseudonyms?

  • How to design crystal report with web service data source?

    I want to design and run a Crystal Report 2008 against my ADO.NET DataSet from web service method.
    I choose New Report, for Data I choose XML, then "Use Web Data Source" hit next, then choose "HTTP WSDL URL" I enter http://localhost/RDWS/Service.asmx?wsdl, hit Next, I leave HTTP username and HTTP password blank. Then I see the Services, Ports and Methods screen. Services: Service, Ports: ServiceSoap, Methods: CustomerOrdersDataSet
    When I click Finish, I get Logon Failed, Details, Schema file is invalid. error:Element Schema@htttp://www.w3.or/2001XMLSchemal not found.
    How can I get this to work?

    The native XML driver is incompatible with ADO.NET DataSet XML.  The specific issue is that the driver cannot handle the recursive definition on "Schema" that the .NET DataSet XML uses.
    The workaround is to create a .NET class that Web References, invoke the Web Service method for the DataSet, then returns it. 
    Use the ADO.NET (XML) driver in Crystal Report to consume the .NET data source.
    Note - when you deploy your report, ensure you deploy the DLL for the .NET class you've created.
    Sincerely,
    Ted Ueda

  • Deplay Crystal Report via web

    Hi.
    Is there any way to deploy report in intranet.
    I have file Report.rpt and i want users to have access to it via www.
    Is there any tutorial how to do it?
    Best regards
    Lukasz Bloch

    Hi,
    There are several ways to distribute or publish the report :
    If you have BO Enterprise or Crystal Reports Server then you can publish this report and create a OpenDocument URL. This can be given to your users to view the report in Browser.
    Or
    If you want to give your report to users for just to understand the results, then try to download CR2008 offline viewer. This will help you to view .rpt files.
    Or
    If you are developing your own Web application using .NET or JAVA you can very well embed CR reports and it can be viewed through browser.
    Or
    If you have BO Enterprise, you can publish this report to your repository and all your BO users can access this report through infoview and view the report.
    You need to choose the option to view the report.
    Thanks,
    Sastry

  • Encapsulation Error in Crystal Reports using Web Service Connection

    Hi Experts,
    I'd like to request help in investigating an issue we are currently having in Crystal Reports.  Basically, the solution design is:
    -Web Service is Used as connection
    -Dynamic Hyperlink value is used to access another Crystal Report
    Issue: Dynamic Hyperlink value is based on a summary.  We are getting Encapsulation Error message whenever we try to click a link having 30k value.
    Does anyone here can give us some tip on how to investigate the issue?  For such cases, which component (datasource, CR, etc.) of the solution normally causes the issue?  Are there any limitation in using Web Service for Crystal Reports?
    We'd greately appreciate any help here.
    Kind Regards and Many Thanks,
    Mark

    Hi Mark,
    There could be many reasons for this rather 'generic' error. Is the Business Objects Enterprise clustered?
    Also, could you try saving both the Main and the target reports to the Enterprise with the 'No printer' option checked.
    (File > Page Setup> No Printer).
    Also, what happens when the target report is viewed on its own?
    Let me know how it goes!
    -Abhilash

  • Crystal Reports 2008 Web Application Error

    Post Author: Jeff Clark
    CA Forum: .NET
    Hello,
    I am using Crystal Reports 2008 and Visual Studio 2005 to create and deploy CR web applications. These applications are installed on a Windows 2003 R2 server with .Net 3.0. I have previously used CR XIR2 for this purpose but upgraded to 2008 because I needed the added functionality in cross-tab reports.
    Some of the reports in the web application are pulling from a MySQL database. I am using a JDBC driver (version 5.1.5) to connect Crystal to the database. When I was using CR XIR2, all I needed to do was add the path for the JDBC driver in the CRConfig.xml in "C:\Program Files\Business Objects\common\3.5\java" directory and everything worked great.
    The runtime files for CR2008 create a "C:\Program Files\Business Objects\common\4.0" directory, but there is no "java" subfolder and no CRConfig.xml. When I attempt to load one of the MySQL reports I get the following error.
    "Error in File %Report Name%.rpt: Failed to load database information. "
    Is there a way to load JDBC drivers in the CR2008 runtime files?

    Post Author: Argan
    CA Forum: .NET
    I do not believe any java dlls are packaged in the runtimes for .net (same goes for the crdb_xml.dll, which is a java dll). I do not have a cr 2008 deployed server at the moment so I can not verify this.
       If you want to use java based db connectivity you will probably need to deploy them with your application.

  • Crystal Reports XI Web Elements - populate WESelect element values from database field

    <p>Hi,</p><p>I am using Web Elements with Crystal Reports XI. I need to know how to populate the ElementValues and ElementDisplays arguments of the WESelect function from a database field. </p><p>In the function expert when I click on the ElementsValues and ElementDisplays values a drop down appears which will let me select a field or formula. However, when I try saving and leaving the formula workshop an error message is generated.</p><p> "A subscript must be between 1 and the size of the array".</p><p>I assume this is because the WESelect function is looking for the "|" separator in the ElementValues and ElementDisplays arguments.</p><p>Please advise.</p><p>Thanks</p>

    hello,Â
    in the webelements.zip download you should find a DCP report which shows the method for "rolling up" data using a subreport and passing these to a select control using shared variables.
    basically a string running total rolls up the values at run time and character separates them for use by the controls. for any type of select (drop down menu etc.) controls all of the values have to be made available before the main report is run so that's why you use this techique. you can think of it this way...instead of having an asp page that runs a database query and then populates a javascript array for the control, the subreport rolls up the values and passes them to the control.
    other types of controls that you wish to place directly on a group header or details section can be run off of main report fields or formulae...e.g. you can place a checkbox control on the details section without having to roll up the data in advance.
    by just putting a field name in the parameter for a select control, you will only get one value per control.
    i hope that this makes sense as it takes a bit to get used to at first,
    jamie

Maybe you are looking for

  • InDesign CS6 - fonts problems (Document fonts fight with system installed fonts, "font incomplete")

    hello First, Indesign function to automatically open fonts from "Document fonts" folder is fantastic, quasy font manager. BUT, fonts is available ONLY for THAT indesign document, no other application can use it, even from CS6 suite. This is probably

  • Javascript error occurred when create a dynamic table

    Hi all, I try to create a dynamic table using the created recordset, but I get the javascript error message "While executing insertObject in DynamicTable.htm, a Javascript error occurred." How to fix it? I tried to delete the cache file in Configurat

  • Router is getting the Internet Address of 127.0.0.1

    Hi: I am trying to configurate a WRT610N router that is connected to an ADSL modem. I set this as DHCP, but in the status page I am only getting the Internet Address of 127.0.0.1. The ADSL modem IP is 192.168.1.1, but I cannot have access to the mode

  • Navigation when reviewing a quiz

    Hello, I have created a quiz in Captivate 3, and enabled the review functionality in Captivate. Upon completing the quiz, on the score page is the the option to review the quiz. Upon pressing this, it goes to the first question properly and displays

  • FCP not responding during compression

    The last few times I 've tried to use Compressor w/ FCP, I get about 95% complete and then it freezes. FCP won't respond and I have to do a Force Quit. I do this everyday and this is the first time I've had this problem. I need to have this working a