Using ReportExportControl in Crystal for Eclipse 2.0

Using ReportExportControl in Crystal for Eclipse 2.0
I have a JSP that is calling a crystal report and returns back to jsp...the crystal pdf is generated successful and we write the file to a directory on the web server.  However after upgrading from JRC to CRJ, we get this message in the browser from Adobe Reader...
Adobe Reader could not open 'CrystalViewer[1].pdf because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).'
Here is my JSP code:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
<%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
<%@ page import="com.cgc.sas.base.utility.EncodingResponseWrapper"%>
<%@ page import="com.cgc.sas.base.utility.CGCConstants"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.cgc.sas.base.utility.CGCUtility" %>
<%@ page import="com.cgc.sas.action.applicationadministration.LoginConstant" %>
<%@ page import="com.cgc.sas.model.applicationadministration.SessionTimeOutListener" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions" %>
<%@ page import="com.cgc.sas.model.applicationadministration.ApplicationUser" %>
<%@ page import="com.crystaldecisions.report.web.viewer.*" %>
<%@ page import="com.cgc.sas.base.utility.LogManager" %>
<%
    EncodingResponseWrapper responseWrapper = new EncodingResponseWrapper(response);
     final String CR_VIEWER_NAME = "CrystalReportViewer";
     final String CR_VIEWER_EVENT_PARAM = "CRVEventTarget";             
     final String path = "/reports/RPT_CGCDividendCheckAndAdviceTESTBLANK.rpt";
     Object rptSource = null;
     ReportClientDocument reportClientDocument = new ReportClientDocument();
         reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);  // Version 12+
         reportClientDocument.open(path, OpenReportOptions._openAsReadOnly);
         rptSource = reportClientDocument.getReportSource();
         reportClientDocument.close();
    ConnectionInfos connInfos = new ConnectionInfos();
     IConnectionInfo connInfo1 = new ConnectionInfo();
     connInfo1.setUserName(CGCConstants.DB_USER_NAME);
     connInfo1.setPassword(CGCConstants.DB_USER_PASS);
     connInfos.add(connInfo1);
    Fields fields = new Fields();
    ParameterField pfield1 = new ParameterField();
    ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
    Values vals1 = new Values();
    String parm = (String)request.getAttribute("parm");
    pfieldDV1.setValue(parm);
    vals1.add(pfieldDV1);
    pfield1.setName("@p_num");
    pfield1.setReportName("");
    pfield1.setCurrentValues(vals1);
    fields.add(pfield1);   
    ReportExportControl exportControl = new ReportExportControl();
    ExportOptions exportOptions = new ExportOptions();
    exportOptions.setExportFormatType(ReportExportFormat.PDF);
    exportControl.setReportSource(rptSource);
    exportControl.setExportOptions(exportOptions);
    exportControl.setParameterFields(fields);
    exportControl.setDatabaseLogonInfos(connInfos);
    exportControl.setEnableLogonPrompt(false);
    exportControl.setExportAsAttachment(false);   
    exportControl.processHttpRequest(request, responseWrapper, getServletConfig().getServletContext(), out);
    exportControl.dispose();   
    String fileName = targetPath + fileSep + userid + auditLog.getAuditLogId() + "_print.pdf"; 
    java.io.FileOutputStream outPutFile = new java.io.FileOutputStream(fileName);
    outPutFile.write(responseWrapper.tobytes());
    outPutFile.close();
%>
<html>
<head>
<link href="jsp/css.css" rel="stylesheet" type="text/css">
<title>Capital Group</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="Line-B">
</table>
</body>
</html>

Looks like the installation does not work for Eclipse 64 bit version, encountered this generic error:
-- Cannot complete the install because some dependencies are not satisfiable
  com.businessobjects.crystalreports.integration.eclipse.feature.feature.group [2.0.12.r1476] cannot be installed in this environment because its filter is not applicable. --
Tried it in several machines with several Eclipse 64 bit versions (including Helios & Indigos), got the same results.
Downloaded the 32 bit version of Eclipse and the installation completed successfully - tried it in a couple of machines (a 32 bit machine & a 64 bit version), both installed without any errors.
Posting my findings to ask if any of you encountered the same problem or is there any workaround to install it for 64 bit Eclipse ?
Thanks - Joe.

Similar Messages

  • Crystal for Eclipse using legacy crystal 9 .rpt's with .ttx file defintions

    Experts,
    I recently downloaded the Crystal for Eclipse plug in for my eclipse.  In going through you web project tutorial i created the project and everything works fine.  Now my situation is i have legacy reports that were created with Crytal 9 and these reports all have .ttx file defintions attached to them for the Datasource object.  The plug in recognizes that the .ttx is there i can see the field names in the Field Explorer pane.  At runtime or when testing the datasource connection i get an error stating that the .ttx isnt recognized and i need to choose a new JNDI.
    What suggestions do you experts have that i may resolve this error.

    Without seeing your code i can only guess that the viewer isnt finding your .rpt file in the path you are providing. If the report is being read from you local drive then an absolute path will find the .rpt (ie. C:\Path\To\Report).  If your trying to read the report from within the project then you will need to use something like this to find the path of the file then pass it to the viewer.
    String classpathstringname = Nameofyourclass.class.getResource(" foldername/" + filepath).toString().trim().replace("%20", "").replace("vfsfile:/", "");
    filepath in this example is the name of your .rpt.  The replace part of the example was because im running a JBOSS server and it didnt like the %20 and VFSFile:/ that is returned when you retrieve the resource name/path.
    If that is not the case make sure you are using the corect alias for the .ttx and it is spelled exactly the same way as in the report.  You can find this name in the eclipse Crystal REport addon by opening your Crytal Reports perspective and on the right side there will be a Field Explorer pane, click connection and then highlight the .ttx and under that pane is a properties pane where it will say ALias and Qualified, Make sure you are using the Alias value when you declare you "String tableAlias" in the viewer.

  • Do I have to use Crystal for Eclipse?  Using JRC - Performance is SLOW.

    I have several applications using the JRC to run Crystal from within the application and like many others on here, the performance is unacceptable.  20 minutes to an hour for a 500 page report that runs in under 5 minutes in Crystal itself.  I see most of the recommendations being to use Crystal for Eclipse version 2, which I'm assuming fixes some of these bugs.  However, our applications are not being developed in Eclipse, but in IntelliJ.  If I use C4E, aren't I committing to using Eclipse as a software development platform?  I was using JRC because it was a set of JAR files that I could plug into my existing application.  Any suggestions would be greatly appreciated!!!!
    Mike Brubaker

    Are there examples of code for using the JSF viewer tag for JRC in your application?  I downloaded the new runtime libraries and I'm not noticing much performance improvement.  For example, when the report runs and displays in the viewer, it takes from 40-50 seconds to click the pagination button and go from page 1 to 2 and then 2 to 3, etc.  My users are screaming about wanting a replacement for this technology, but I'm telling them I must have something configured wrong somewhere.  The Crystal report running in plain old Crystal is fast, so it's not the database query or anything like that.  In addition, when I click the export to PDF button, it takes as long to export it to PDF as it did to run the report initially and bring it up in the viewer.  HELP!!!  Thanks for any feedback you can give me, I'm baffled. 

  • Sub-reports DO NOT WORK in Crystal for Eclipse v2

    Hi,<br />
    <br />
    We have recently upgraded from Crystal JRC to CR4E 12.2.202. Our application updates the JDBC connections at runtime to supply credentials.<br />
    <br />
    Everything seems to be working except sub reports.  When using sub reports we get the error shown below.<br />
    <br />
    On reading other forum posts, the top error about PropertyResourceBundle just seems to be about trying <br/>
    to print an error message from the real exception, which is in the third stack trace below: <br/>
    <i>Error code:-2147217394 Error code name:missingParameterValueError</i><br />
    <br/>
    Any idea what has changed and how we can resolve this issue?<br />
    <br />
    Thanks for your help.<br />
    <br />
    <br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(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)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(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)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR au.com.esriau.dekho.crystal.CrystalService  - InternalFormatterException
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: InternalFormatterException---- Error code:-2147217394 Error code name:missingParameterValueError<br />
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    Edited by: pjoyce on Jul 7, 2009 6:00 AM
    Edited by: pjoyce on Jul 7, 2009 8:36 AM

    We raised a support issue on this and was given a work around.
    With Crystal for Eclipse, you can no longer use "dynamically" generated sub report parameters, you must manually add the parameter to the sub report and apply a record level selection formula.
    Steps for the work around:
    1. Open the sub report and manually add a parameter field in the field explorer.  You can call it whatever you want, but make sure the data type is correct.  It should match the datatype that will be passed in by the main report.
    2. Click Report -> Selection formula -> Record
    3. Enter in a formula like this: {MYTABLE.ID} = {?subreportparam}
    4. Save and close
    5. Go back to the main report
    6. Right click the sub report -> Change sub report links
    7. Drag a report field into the fields to link list
    7. In sub report parameter field to use, select you're newly created parameter and click OK

  • Problem with Crystal XI reports used with CR plugin for Eclipse 2.0

    Hi All,
    I have downloaded the latest CR plugin for eclipse (2.0), integrated with Eclipse 3.5.
    I tried to use an existing report file created from Crystal Reports version XI in the following two ways.
    1) Including the Crystal Report in to JSP page through viewer tags.
    It worked fine
    2) I tried to include the report in a JSP through using CRJavaHelper.java provided by default in the Web Project created. I changed the connection string, driver name, user ID and password.
    it's throwing up an error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: InternalFormatterException---- Error code:-2147467259 Error code name:failed
    with the root exception as below:
    09/10/30 18:28:29 Caused by: com.crystaldecisions.reports.formulas.FormulaException: Exception in formula '{@OPENING BAL}' at '{WEEKLYOUTSTANDING1.DOC_DATE}':
    This field name is not known..
    Please help me with this issue.
    Thanks in advance,
    Rgds,
    Praveen Manthena

    Sorry, that's a different stack trace, please find below the actual stack trace when the Formula exception happens.
    09/11/03 13:03:33 com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: InternalFormatterException---- Error code:-2147467259 Error code name:failed
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
    09/11/03 13:03:33      at com.businessobjects.samples.CRJavaHelper.export(CRJavaHelper.java:644)
    09/11/03 13:03:33      at com.businessobjects.samples.CRJavaHelper.exportPDF(CRJavaHelper.java:465)
    09/11/03 13:03:33      at viewer.other._jspService(_other.java:99)
    09/11/03 13:03:33      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    09/11/03 13:03:33      at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
    09/11/03 13:03:33      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
    09/11/03 13:03:33      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    09/11/03 13:03:33      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    09/11/03 13:03:33      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/11/03 13:03:33      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    09/11/03 13:03:33      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/11/03 13:03:33      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/11/03 13:03:33      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/11/03 13:03:33      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/11/03 13:03:33      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/11/03 13:03:33      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/11/03 13:03:33      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/11/03 13:03:33      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    09/11/03 13:03:33      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    09/11/03 13:03:33      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    09/11/03 13:03:33      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/11/03 13:03:33      at java.lang.Thread.run(Unknown Source)
    09/11/03 13:03:33 Caused by: com.crystaldecisions.reports.exportinterface2.exceptions.InternalFormatterException: InternalFormatterException
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:252)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    09/11/03 13:03:33      at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    09/11/03 13:03:33      at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    09/11/03 13:03:33      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1940)
    09/11/03 13:03:33      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
    11/03 13:03:33      at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    09/11/03 13:03:33      at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:521)
    09/11/03 13:03:33      at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    09/11/03 13:03:33      at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    09/11/03 13:03:33      at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    09/11/03 13:03:33      at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    09/11/03 13:03:33      at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    09/11/03 13:03:33      at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
    09/11/03 13:03:33      ... 24 more
    09/11/03 13:03:33 Caused by: com.crystaldecisions.reports.dataengine.DataEngineException: Exception in formula '{@OPENING BAL}' at '{WEEKLYOUTSTANDING1.DOC_DATE}':
    This field name is not known.
    09/11/03 13:03:33      at com.crystaldecisions.reports.dataengine.DataSourceManager.do(SourceFile:692)
    09/11/03 13:03:33      at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:729)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.<init>(SourceFile:179)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.if(SourceFile:135)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatterBase.<init>(SourceFile:75)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.<init>(SourceFile:173)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:152)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:201)
    09/11/03 13:03:33      ... 46 more
    09/11/03 13:03:33 Caused by: com.crystaldecisions.reports.formulas.FormulaException: Exception in formula '{@OPENING BAL}' at '{WEEKLYOUTSTANDING1.DOC_DATE}':
    This field name is not known.
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.o.a(SourceFile:1041)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.o.do(SourceFile:1013)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.o.new(SourceFile:688)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.o.else(SourceFile:459)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:1004)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.m(SourceFile:213)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.f(SourceFile:895)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$14.a(SourceFile:327)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.o(SourceFile:665)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.p(SourceFile:878)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$13.a(SourceFile:324)
    /03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$9.a(SourceFile:312)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.i(SourceFile:593)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$8.a(SourceFile:309)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$1.a(SourceFile:288)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.g(SourceFile:469)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.j(SourceFile:454)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.a(SourceFile:341)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.P(SourceFile:311)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.m(SourceFile:204)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.f(SourceFile:895)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$14.a(SourceFile:327)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.o(SourceFile:665)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.p(SourceFile:878)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$13.a(SourceFile:324)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.s(SourceFile:650)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$12.a(SourceFile:321)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.h(SourceFile:635)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$11.a(SourceFile:318)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.c(SourceFile:621)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$10.a(SourceFile:315)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.l(SourceFile:607)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$9.a(SourceFile:312)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.i(SourceFile:593)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$8.a(SourceFile:309)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.n(SourceFile:578)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$7.a(SourceFile:306)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.t(SourceFile:563)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$6.a(SourceFile:303)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.d(SourceFile:548)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$5.a(SourceFile:300)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.u(SourceFile:530)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$4.a(SourceFile:297)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.b(SourceFile:515)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$3.a(SourceFile:294)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.q(SourceFile:500)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$2.a(SourceFile:291)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.k(SourceFile:485)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser$1.a(SourceFile:288)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:733)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.g(SourceFile:469)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.j(SourceFile:454)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.R(SourceFile:163)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.do(SourceFile:106)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.f.void(SourceFile:84)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:345)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.r.a(SourceFile:89)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaInfo.a(SourceFile:570)
    09/11/03 13:03:33      at com.crystaldecisions.reports.formulas.FormulaService.compile(SourceFile:347)
    09/11/03 13:03:33      at com.crystaldecisions.reports.reportdefinition.FormulaCompiler.a(SourceFile:139)
    09/11/03 13:03:33      at com.crystaldecisions.reports.reportdefinition.FormulaFieldDefinitionBase.compile(SourceFile:928)
    09/11/03 13:03:33      at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:1360)
    09/11/03 13:03:33      at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:1348)
    09/11/03 13:03:33      at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:4225)
    09/11/03 13:03:33      at com.crystaldecisions.reports.dataengine.DataSourceManager.do(SourceFile:687)
    09/11/03 13:03:33      ... 56 more

  • Any Multipart E-Commerce Tutorial Using the Enterprise Pack for Eclipse

    Can anyone direct me to a good multipart e-commerce development tutorial that uses the Oracle Enterprise Pack for Eclipse? Thanx.
    sbliss

    The following link on the OTN has a list of tutorials that build Java EE applications using OEPE. Trouble Ticket Application is a good place to start.
    http://www.oracle.com/technology/products/enterprise-pack-for-eclipse/tutorials.html

  • Reading data from a crystal report using crystal for eclipse

    tried both approaches listed here: [Help needed in reading data from a Crystal Report]
    but having the same issues, is this a bug or is there some workaround? cant get any results with rowsetcursor and only the first 100 no matter what i do with browsefiledvalues

    Hello,
    I have the same problem. I need to know values of last record in CrystalReports and i got only 100 records.
    Have you found solution for this problem?

  • Crystal for Eclipse intermittent problem when viewing CR in .pdf over Web

    *(I also have no idea why I'm not getting carriage returns/line feeds when I press the Enter key so that this message is readable.)*
    My developer is telling me that the below error is causing one of our Crystal reports to not populate with data, and has asked if there is a way to turn on tracing.  This is an intermittent issue and we've not been able to determine the cause, nor can I find out where I can create a support ticket for it with SAP.  It doesn't do it all the time and it doesn't do it with the same users.  We're a large enterprise user (US Army).
    Does anyone have any ideas?  I'm unfortunately not technical enough with Java or web delivery of Crystal.  The report runs fine nearly all the time and of course in the report designer it doesn't have this issue.  Our web developer is trying to find out why this is happening.
    Does anyone have any ideas at all what the culprit might be?
    Regards and thanks!
    Don Davis
    US Army
    Alexandria, VA, USA
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalArgumentException---- Error code:-2147467259 Error code name:failed
            at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
            at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
            at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
            at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
            at jsp_servlet._reports.__crystalreportviewer._jspService(__crystalreportviewer.java:208)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at mil.army.cisd.crb.filter.PortalUserFilter.doFilter(PortalUserFilter.java:224)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.IllegalArgumentException
            at com.crystaldecisions.reports.common.value.FormulaValue.Load(Unknown Source)
            at com.crystaldecisions.reports.common.value.CrystalValue.Load(Unknown Source)
            at com.crystaldecisions.reports.saveddata.saveddata.y.a(SourceFile:273)
            at com.crystaldecisions.reports.saveddata.saveddata.SavedData$a.getValue(SourceFile:159)
            at com.crystaldecisions.reports.saveddata.saveddata.x.a(SourceFile:318)
            at com.crystaldecisions.reports.saveddata.saveddata.x$a.new(SourceFile:270)
            at com.crystaldecisions.reports.saveddata.saveddata.x$a.for(SourceFile:199)
            at com.crystaldecisions.reports.saveddata.saveddata.DataView.a(SourceFile:1792)
            at com.crystaldecisions.reports.saveddata.saveddata.DataView.do(SourceFile:969)
            at com.crystaldecisions.reports.saveddata.saveddata.DataView.else(SourceFile:1640)
            at com.crystaldecisions.reports.saveddata.a.try(SourceFile:653)
            at com.crystaldecisions.reports.basicdataengine.a.u(SourceFile:829)
            at com.crystaldecisions.reports.basicdataengine.a.p(SourceFile:739)
            at com.crystaldecisions.reports.basicdataengine.a.a(SourceFile:220)
            at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1626)
    at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
            at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
            at com.crystaldecisions.reports.dataengine.j.b(SourceFile:518)
            at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
            at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
            at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
            at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
            at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
            at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
            at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4664)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2655)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.e(SourceFile:386)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:246)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:67)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:121)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:67)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:514)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
            at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
             at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:379)
                 at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
                 at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
                 at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:121)
                 at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:180)
                 at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:67)
                 at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:730)
                 at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:226)
                 at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96)
                 at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
                 at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
                 at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:587)
                 at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
                 at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:674)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
                 at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
                 at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
                 at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
                 at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
                 at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:717)
                 at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
                 at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
                 at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
                 at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1560)
                 at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:341)
                 at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
                 at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
                 at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
                 at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
                 at jsp_servlet._reports.__crystalreportviewer._jspService(__crystalreportviewer.java:208)
                 at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
                 at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    Edited by: Don Davis on Jun 13, 2011 6:26 PM
    Edited by: Don Davis on Jun 13, 2011 6:27 PM
    Edited by: Don Davis on Jun 13, 2011 6:29 PM
    Edited by: Don Davis on Jun 13, 2011 6:34 PM

    Hello, Phan Nguyen Binh;
    I would like to confirm what products you are using now.
    Are you running your reports on Crystal Reports Server XI (11.0) or Crystal Reports Server XI R2 (11.5)?
    What Service Pack do you have installed on your Crystal Reports Server?
    On your Development machine, what version of Visual Studio .NET are you using?
    What is referenced under Help|About Visual Studio .NET on the Crystal Reports line?
    On the server where you have installed the runtime. what version do you see for the following files? Right Click and go to Properties 'Version" tab for the full version number:
    CrystalDecisions.CrystalReports.Engine (11.5.3700.0)
    CrystalDecisions.Enterprise.Framework (11.5.3300.0)
    CrystalDecisions.Enterprise.InfoStore (11.5.3300.0)
    CrystalDecisions.ReportAppServer.ClientDoc (11.5.3300.0)
    CrystalDecisions.ReportAppServer.Controllers (11.5.3300.0)
    CrystalDecisions.ReportAppServer.ReportDefModel (11.5.3300.0)
    CrystalDecisions.Shared (11.5.3700.0)
    What .msi did you use to create your Click Once deployment?
    https://bcp.wdf.sap.corp/sap/sapnotes/display/0001206112
    I will watch for your reply.
    Elaine

  • JRC for Eclipse 2.0: Export to PDF with Flash Objects in RPT file

    Hi,
        We've a few reports created with Flash objects in it ( from Xcelsius). We are trying to generate the reports and export it to PDF using the new JRC for Eclipse 2.0. The exported file size is big ( 600MB) but there is no flash object or data in it. Can you please help us with this one?
    Thanks,
    Bala

    Hi, Ted. Thanks for looking into this.
    I asked a similar question last September in this [thread|CR report with embedded SWF: Export to PDF displays nothing;. It's my understanding that exporting flash objects to pdf is not support in  CR 2008.
    In CR 2008, when I export a report containing a swf to pdf, the flash file is not rendered in Adobe Reader. It looks like there's just a picture. In fact, in CR, if you r-click on the swf and do Format Flash... | Flash, you can change the picture used for export and printing. The default picture is what I'm seeing in the pdf.
    I'm creating the swf using Xcelsius 2008. In XC 2008, if I export to pdf, the flash object is rendered. Why the difference?
    The same Adobe reader is being used in both cases.
    I'd be glad to send an .rpt with embeded swf for you to test.
    Thanks again.
    Tim

  • Oracle Enterprise pack for Eclipse licensing nightmare for OSB plugin

    We would like to use Oracle Enterprise pack for Eclipse for developing Oracle Service Bus applications. OEPE is downloadable from OTN freely, but the OSB plugin is embedded into the full OSB product. We do not want to pay a full OSB license for a lot of development workstations only to develop services. Is it possible to install only the free(?) plugin from OSB to the OEPE development workstations?

    Hi,
    Development licence can be applied for.pure.developers. For.corporations.like us we have to buy all.licenses for.development. What is crazy that Oracle force us to license a server product for every PC we use for development, beause the plugin is not downloadable separately :-( We checked.it with local sales and true

  • How to use a stored procedure as a datasource in Crystal Report for Eclipse

    Hi All,
    I've written a stored procedure in oracle 10g with few input parameters and one refcursor output parameter. I want to use this stored procedure as a data source for creating a report in "Crystal Report For Eclipse 3.6.0".
    When I tried to add this stored procedure to the report using the connection explorer, I don't see any option to do this. But when I try to add any table, it shows options like "Add to the current report"....
    Can anybody assist me how to use a stored procedure as a data source in "Crystal Report For Eclipse"?
    Which driver should I use to connect to the oracle database? I tried using JDBC Driver for Oracle.
    Thanks in advance.

    Did you solve your problem? How did you do?

  • 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 - Using .csv files?

    I recently installed crystal reports for Eclipse and much of the basic CR functionality seems to be there, but then I added a .csv file as an ODA flat file data source and I can see it in my "Data Source Explorer", but can not seem to drag it into my report to actually use the data.  Am I missing some basic step?
    Thanks,
    Chris

    Hello Chris,
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to use Crystal Report Server with Crystal Reports for Eclipse

    Hi,
    is it possible to use Crystal Reports for Eclipse with the Crystal Report Server
    like i can do it in Crystal Reports.
    For Example open a Report file directly from the server edit and save there.
    Thanks
    Thomas

    Yes, you can use the CR Server product in your Eclipse project.  However, you will need to use the RAS SDK in your project instead of the CR4E SDK. 
    For more information about the RAS SDK, visit the DevLibrary.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    -MJ

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

Maybe you are looking for

  • Oracle 8 and 8i ODBC drivers

    I have written a win32 client application with Visual C++ for accessing an oracle 8.0.5 server on a linux platform.I have used an ODBC connection (MFC classes CDatabase e CRecordset). In application I have used a recordset on a view for updating the

  • How to determine the Memory size of my computer?

    I need to find a way to determine how much computer RAM i have left. I was suggested to use System class methods like "Runtime.getRuntime().getFreeMemory()", and I need to determine how much Memory I need to use when I launch Java VM with Xmx option.

  • Problem client/server with GUI

    I have a problem with a project im working on. I have a main method that has an infinite loop but before it enters the loop, i draw the GUI. I put a simple print statement and found that it goes through the loop once. Can someone help me to figure ou

  • Retrieveing data using RH_READ_INFTY_1001 in ECC 6.0

    Hi Guys,    I am working on ECC 6.0. I need to fetch data from table HRP1001. Hence am using the FM RH_READ_INFTY_1001. This FM retrieves all the records but populates the fields SCLAS & SOBID with garbage values. These are the main relation fields i

  • Tracking DNS Requests by IP with IOS

    Is it possible to track and log dns queries by IP or HW address with IOS? This is a smaller network, 30 or so users. They have no network management or security aside from a 867VAE branch router, only on offsite syslog server. I know there are tools