JSF for Eclipse

Hi, i googled a lot and did not find how to install JSF on eclipse ? how can I use Update manager to install JSF on eclipse ?

"Install JSF on Eclipse" is a somewhat odd and global question. What exactly do you expect?
At least here are some pointers:
JSF homepage: https://javaserverfaces.dev.java.net/
Eclipse WTP: http://www.eclipse.org/webtools/
Installing WTP: http://ftp.osuosl.org/pub/eclipse/technology/phoenix/demos/install-wtp/install-wtp.html
WTP JSF tutorial: http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html
WTP JSF scenarios: http://wiki.eclipse.org/index.php/WTP_JEE5_Test_Scenarios

Similar Messages

  • Support for Eclipse?

    Will there also be an JavaFX PlugIn for Eclipse?

    JavaFx is supposed to compete with adobe flex and Microsoft silverlight. Flex has a pretty decent IDE support, Flex builder. Microsoft with its developer centric approach , is bound to come up with excellent IDE support. With majority of java developers inclined to using eclipse, what do we have in store?
    Eclipse is an excellent IDE no doubt, but on GUI front, it falls flat on its face. For example, to build swing/SWT applications, we have to rely on plugins. Cant a decent plugin be already there in eclipse, at least in the most recent version 3.4??
    For Java EE applications, including normal jsp as well as jsf, Eclipse provides a pseudo graphical interface. Developers have to drap and drop jsf components, which are boxed and boxed deeply.
    Will JavaFx have same fate in eclipse??
    Compare this IDE support with visual studio, in fact compare it with VS2005, not even VS2008! Who wins hands down? we all know the answer. no wonder , VS users are so productive.
    the problem is not with new java related technologies, but the knowledge is fractured and distributed all over the place. where as on MS front, one IDE, one prominient language, one way of development.
    Try out VS , not to switch over, but to see what the competitor has produced and to develop a poduct for java community which atleast gives us an edge!!

  • 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. 

  • 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.

  • Virgo Tools for Eclipse Luna and Mars

    Hi all,
    I tried to install the Virgo Tools both in Eclipse Luna and in Mars (JEE packages), from this update site:
    "Virgo IDE Releases" - http://download.eclipse.org/virgo/release/tooling
    - Eclipse Virgo Tools 1.0.1.201302270038-RELEASE
    but I got errors (see below).
    Instead all il working well with Kepler.
    Some suggestions?
    Thank you very much.
    Vincenzo
    ================================================
    Cannot complete the install because of a conflicting dependency.
    Software being installed: Eclipse Virgo Tools 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201302270038-RELEASE)
    Software currently installed: Eclipse IDE for Java EE Developers 4.5.0.20150621-1200 (epp.package.jee 4.5.0.20150621-1200)
    Only one of the following can be installed at once:
    OSGi System Bundle 3.8.1.v20120830-144521 (org.eclipse.osgi 3.8.1.v20120830-144521)
    OSGi System Bundle 3.10.100.v20150529-1857 (org.eclipse.osgi 3.10.100.v20150529-1857)
    Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers 4.5.0.20150621-1200 (epp.package.jee 4.5.0.20150621-1200)
    To: org.eclipse.epp.package.jee.feature.feature.group
    Cannot satisfy dependency:
    From: EPP Java EE IDE Feature 4.5.0.20150621-1200 (org.eclipse.epp.package.jee.feature.feature.group 4.5.0.20150621-1200)
    To: org.eclipse.m2e.feature.feature.group 0.0.0
    Cannot satisfy dependency:
    From: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032)
    To: bundle org.eclipse.osgi 3.10.0
    Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.0.20150526-2032 (org.eclipse.m2e.feature.feature.group 1.6.0.20150526-2032)
    To: org.eclipse.m2e.core
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201302270038-RELEASE)
    To: org.eclipse.virgo.ide.manifest.core [1.0.1.201302270038-RELEASE]
    Cannot satisfy dependency:
    From: Eclipse Virgo IDE (Manifest Core) 1.0.1.201302270038-RELEASE (org.eclipse.virgo.ide.manifest.core 1.0.1.201302270038-RELEASE)
    To: bundle org.eclipse.virgo.kernel.artifact 0.0.0
    Cannot satisfy dependency:
    From: Virgo Kernel Artifact Integration 3.6.0.RELEASE (org.eclipse.virgo.kernel.artifact 3.6.0.RELEASE)
    To: package org.eclipse.virgo.nano.serviceability [3.6.0,3.7.0)
    Cannot satisfy dependency:
    From: Virgo Nano Core 3.6.0.RELEASE (org.eclipse.virgo.nano.core 3.6.0.RELEASE)
    To: package org.eclipse.osgi.internal.baseadaptor 0.0.0

    Sorry, I have to correct myself: today I retried with a brand new Mars/JEE+Java8 and a brand new workspace:
    the error is related to missing org.json bundle.
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    Missing requirement: Eclipse Virgo IDE (Server Core) 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.runtime.core 1.0.1.201506260038-SNAPSHOT) requires 'bundle org.json 0.0.0' but it could not be found
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    To: org.eclipse.virgo.ide.runtime.core [1.0.1.201506260038-SNAPSHOT]
    seems like Mars/JEE doesn't contain org.json ... which is quite strange ...
    With Mars/JEE+Java7 instead the detailed error is:
    Cannot complete the install because one or more required items could not be found.
    Software being installed: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.2.0.201206060754 (org.eclipse.libra.framework.editor.ui 0.2.0.201206060754) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201212132137 (org.eclipse.libra.framework.editor.ui 0.3.0.201212132137) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305070844 (org.eclipse.libra.framework.editor.ui 0.3.0.201305070844) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305151323 (org.eclipse.libra.framework.editor.ui 0.3.0.201305151323) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.0.201305311343 (org.eclipse.libra.framework.editor.ui 0.3.0.201305311343) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Missing requirement: OSGi Framework Editor UI (Incubation) 0.3.1.201405141436 (org.eclipse.libra.framework.editor.ui 0.3.1.201405141436) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
    Cannot satisfy dependency:
    From: Eclipse Virgo Tools 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.feature.feature.group 1.0.1.201506260038-SNAPSHOT)
    To: org.eclipse.virgo.ide.runtime.ui [1.0.1.201506260038-SNAPSHOT]
    Cannot satisfy dependency:
    From: Eclipse Virgo IDE (Server UI) 1.0.1.201506260038-SNAPSHOT (org.eclipse.virgo.ide.runtime.ui 1.0.1.201506260038-SNAPSHOT)
    To: bundle org.eclipse.libra.framework.editor.ui 0.0.0
    With Luna/JEE SR2 instead all is working well, both with Java7 and Java8
    Vincenzo

  • Database connection not working in Crystal Reports for Eclipse 2.0

    Hello All,
    We have several hunderd reports that were created in CR 8.5.  We are moving to a new Java  environemnt and we are also considering using BIRT.However to save development time and effort we are considering using the CR for Eclipse 2.0. For a proof of concept, we loaded several of our 8.5 reports into Crystal reports XI, saved them, and then loaded them into our CR for eclipse design environment.
    These reports were built from the values returned from a store procedure.. When we try to execute the reports from within Eclipse, we get  Error finding JNDI name (xxxx). We have created the appropriate datasource (to Sybase 12.5.4), and the schema is viewable in the db explorer. However when we associate the connection to this datasource, the connection no longer appears in the field explorer and no data is returned upon previewing the report.
    The original reports used ODBC to access the database. Is there anyway to easily convert these reports to using the Sybase JDBC datasource? Also in the DB explorer, the SPs are only showing the SP parameters,not the return values, so we are unable to easily drag the return fields onto the report to reset the links.
    Thanks in advance
    Edited by: Michael Knight on Oct 7, 2009 1:46 PM

    Michael,
    We had a similar situation but from my reseach the output from the stored procs cannot be viewed in the report designer in Eclipse. So we had to design the reports using the Crystal Reports Devloper application (the stand-alone version, not the Eclipse editor). The reports were designed w/an ODBC datasource. In order to get that working we had to create a JNDI JDBC datasource connection w/the exact same name as the ODBC datasource and that works. For example, the ODBC datasource was named OP01DSDB01.WORLD so we just created a JNDI datasource w/that exact same name (no jdbc/OP01DSDB01.WORLD just OP01DSDB01.WORLD). I'm not sure if there is a workaround for any of this but this was the easiest way to get them working.
    I know this isn't the ideal situation, but that was the easiest way to get things working.

  • 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 reports for Eclipse and Postgres-databases

    Hi,
    Is there a known problem when using a PostgreSQL-database to create a report with Crystal reports Plugin? When I drag a table, then occurs a error-windows, that the object can't  created.
    I have found a workaround for solving the problem. After new installing Eclipse Platform Version: 3.4.1 Build id: M20080911-1700 and Crystal reports Plugin 11.8.6.v1371 with JRE 1.6.0_01 the error message allways occurs, when I select a table from a PostgreSQL database (Version 8.2). After restarting eclipse you see the last selected tables in the field explorer and you can drag the table fields in the report. A repeated choice of the same table causes aliases for the table in the field explorer after restarting eclipse.
    Error.log:
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Tue Dec 16 14:03:53 CET 2008
    Verursacht durch: java.lang.IllegalArgumentException
    com.businessobjects.crystalreports.designer.core.ReportException: java.lang.IllegalArgumentException
    at com.businessobjects.crystalreports.designer.core.ExceptionFactory.B(Unknown Source) at com.businessobjects.crystalreports.designer.core.ExceptionFactory.create(Unknown Source) at com.businessobjects.crystalreports.designer.core.elements.data.TableElement.add(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.AddCommand.doCommand(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.C(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.CoreCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(Unknown Source) at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:455)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:257)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:362)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:288)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:171)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalArgumentException---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source) at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source) at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ag.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.if(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.void(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.a6.for(Unknown Source) at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)
    Best Regards
    Arnold

    Your issue appears to be a Crystal Reports for Eclipse report designer thing, and not a JRC runtime thing.  The JRC runtime does support Type 4 JDBC drivers, but all modern PostgreSQL drivers are Type 4.
    The current report designer is more restrictive than the JRC runtime - and PostgreSQL, being not on the supported platforms list, has never been tested with the embedded designer.
    Unless there's anybody out there with experience with PostgreSQL and CR4E designer, who would be willing to share their experiences.
    Sincerely,
    Ted Ueda

  • Crystal Reports for eclipse 2.0 deployed on unix

    Hi,
    We have designed few crystal reports using u201CCrystal Reports for Eclipse 2.0u201D on windows platform. We have embedded this report into a J2EE Web application and deployed the web application on Tomcat 6.X server.
    We are able to generate the reports successfully on windows environment. But when deployed the web Application on to Tomcat server 6.X on Solaris environment we get runtime exception as below.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349.
    It is failing at At clientDoc.open(reportName, OpenReportOptions._openAsReadOnly) of the JSP whaich was shared where clientDoc is an object of ReportClientDocument. That is it is failing to open the .rpt.
    The eclipse generated JSP used to invoke the report sa follows.
    <%@ page contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1" %><%@ page import="com.businessobjects.samples.CRJavaHelper,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    java.util.Calendar,
    java.util.Date,
    java.text.DateFormat,
    java.text.SimpleDateFormat" %><%
    // This sample code calls methods from the CRJavaHelper class, which
    // contains examples of how to use the BusinessObjects APIs. You are free to
    // modify and distribute the source code contained in the CRJavaHelper class.
    try {
      HttpSession sessionObj = request.getSession();
      String reportName = "reports/EmailDataReport.rpt";
      String attStartDate = (String)sessionObj.getAttribute("CalendarStartDate");
      String attEndDate = (String)sessionObj.getAttribute("CalendarEndDate");
      //attStartDate = "2/12/2004";
      //attEndDate = "2/17/2009";
      // spliting the start and end date
      String [] arrStDate = null;
      String [] arrEndDate = null;
      arrStDate = attStartDate.split("/");
      arrEndDate = attEndDate.split("/");
      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();
    try{
       clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString); 
       // Open report
       clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
       //DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
    }catch(Exception e){
    out.println(" -
    Error while opening the report $$$$$$$$$$$"e.toString()"\n");
       // ****** BEGIN SET RUNTIME DATABASE CREDENTIALS **************** 
        String connectString = "XXXXXX
        String driverName = "oracle.jdbc.OracleDriver";
        String JNDIName = "";
        String userName = "YYYYY";   // TODO: Fill in database user
        String password = "ZZZZZZZZZ";  // TODO: Fill in password
        // Switch all tables on the main report and sub reports
        CRJavaHelper.changeDataSource(clientDoc,reportName,null,userName, password, connectString, driverName, JNDIName);
        // logon to database
        CRJavaHelper.logonDataSource(clientDoc, userName, password);
       // ****** END SET RUNTIME DATABASE CREDENTIALS ****************
       // ****** BEGIN CONNECT PARAMETERS SNIPPET **************** 
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrStDate[2]), Integer.parseInt(arrStDate[0])-1, Integer.parseInt(arrStDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "StartDate", dateParamVal);
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrEndDate[2]), Integer.parseInt(arrEndDate[0])-1, Integer.parseInt(arrEndDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "EndDate", dateParamVal);
       // ****** END CONNECT PARAMETERS SNIPPET ****************
       // Store the report document in session
       session.setAttribute(reportName, clientDoc);
      // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
       // Create the CrystalReportViewer object
       CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
       String reportSourceSessionKey = reportName+"ReportSource";
       Object reportSource = session.getAttribute(reportSourceSessionKey);
       if (reportSource == null)
        reportSource = clientDoc.getReportSource();
        session.setAttribute(reportSourceSessionKey, reportSource);
       // set the reportsource property of the viewer
       crystalReportPageViewer.setReportSource(reportSource);
       // Apply the viewer preference attributes
       // Process the report
       crystalReportPageViewer.processHttpRequest(request, response, application, null);
      // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
    } catch (ReportSDKExceptionBase e) {
         out.println(e);
    %>
    Note : We have not installed any crystal report servers in both windows or UNIX environment.But we have deployed all the relavant crystal report jars for the java runtime environment.
    If anyone has come across such error please help. Also let me know if we need to have external RAS set up for this?By default the the RAS will be set to "inproc:jrc"  which works fine on windows environment.
    regards,
    Madhu

    I am having similar problems.  Environment works perfectly in Windows.  All JARS and config files moved to AIX UNIX machine.  I get nothing more than a Crystal Reports 'Error' on the screen!!!
    Any ideas since this was posted??

  • Crystal Reports for Eclipse and CR2008 with subreports

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the version 12.2.200.r454
    I create a report with subreports in CR2008. It's running perfect.
    When I load this report with subreports to Eclipse I can see the subreports in the report and I can click into the subreports. Each subreport is working in Preview, but when I want to preview the whole report with the subreports I get a black screen and the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
    at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any good ideas?
    Thanks in advance.
    Regards
    Jens

    Hi Ted,
    the error happens in the preview of the main report. Each subreport preview in this main report is running.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 9, 2009 8:48 AM
    The preview of the main report is running in CR2008.
    Edited by: Jens Kutsche on Feb 9, 2009 8:56 AM
    When I start this main report with a jsp I get the same error:
    java.lang.NullPointerException

  • 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....

  • Crystal Reports for Eclipse ver. 2 fails on export to excel

    I have downloaded crystal reports for eclipse version 2 (full eclipse setup) and created the sample project.
    The new version of JRC looks awesome on the browser. Finally the visual appeal is as good as the .NET version.
    However I am having a problem with the export to excel feature. When I select export to excel, I get the following exception
    Update: I just realized this problem exists for all the export options
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response----
    (Full Exception pasted below the message)
    I have not made any changes to the sample crystal reports project so I am not really sure what i am missing.
    I have Microsoft Vista Ultimate with Crystal Reports 2008 trial version installed.
    I have configured eclipse with Tomcat 6.0 and JDK/JRE 1.6
    Any help would be appreciated.
    Thanks
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response---- Error code:0
    +     at com.businessobjects.report.web.e.if(Unknown Source)+
    +     at com.businessobjects.report.web.e.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)+
    +     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:175)+
    +     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:263)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)+
    +     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)+
    +     at java.lang.Thread.run(Unknown Source)+
    Edited by: Avinash Tauro on Feb 5, 2009 7:43 AM

    I searched on scn and got the listing you mentioned.
    The jsp code I am using is as follows.
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="CrystalReport1-viewer" reportSourceVar="CrystalReport1" isOwnPage="true"><crviewer:report reportName="CrystalReport1.rpt" /></crviewer:viewer>
    And I get the following exception on selecting any export.
    WebReportingException: getOutputStream() has already been called...
    So I think maybe this problem is not the same as listed under SAP Note 1199025.
    Also the strange thing is I just download the full ganymede version with crystal report for eclipse version 2, and created a default crystal reports website.
    The samples were provided automatically, and I have not written any code myself.
    Any help would be appreciated.
    Regards
    Avinash Tauro

  • Crystal Reports for Eclipse and CR2008

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the Versions 1.0.4.v1094 or 11.8.0.v20060727 except "CR for Eclipse Dev.Guide": Ver. 1.0.0.v1094
    I created a report with CR 2008 and load this report with eclipse. A preview in CR and eclipse is running perfect.
    When I bind this report to a jsp I get the error "Es wurde keine Rowsetspalte für das SQL-Ausdrucksfeld "strRefNo" gefunden", in english
    "no rowset-column for sql-statement "strRefNo""
    General this kind of SQL-statement is not working. This statement is a function which needs first a value from the database.
    When this value is fixed in the statement, the report is running in the jsp otherwise I get the error.
    When I delete this statement in eclispe, save this report, redo my delete and save the report again, the report is running with jsp!
    May be, there is a version conflict between CR and eclipse.
    I have to create the reports in CR2008 but I can not save the report in CR2008 to an older version.
    Is there a newer version for eclipse, which works with CR2008? I could not find any other version.
    Do you have other ideas?
    Thanks!
    Jens

    Hi Bryan,
    thank you for your good informations.
    I have downloaded the complete new eclipse and I don't get this error anymore.
    But in the next step, I tried a report with subreports. This is complete not working in Eclipse. When I load this report to Eclipse Ican see and click into the subreports. Each subreport is working in Preview, but the whole reports does not work (black screen), I get the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
         at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
         at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any other good idea?
    Thanks in advance.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 6, 2009 8:27 AM
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454

  • Accessing test.jsp page outside Crystal Reports for Eclipse

    <p><br />Hello All,</p><p>Iam very very new to Crystal Reports for Eclipse...</p><p>I have created a .jsp called as test.jsp (by using the help file which i downloaded from diamond)..</p><p>I have created a report called CrystalReport1.rpt and i have integreatd the same with a .jsp called test.jsp</p><p>I can see the file running absoultely fine in Eclipse but when I ty to open using Internet explorer by gidving <a href="http://localhost:8080/WebContent/test.jsp">http://localhost:8080/WebContent/test.jsp</a> iam getting nothing...</p><p>Can anyone here help to open the same file using Internet explorer?</p><p>The reason why i want to open it Internet explorer is becasuse i wanted to integreat the new jsp file with my current application which is developed using jsp...</p><p>Is it require to deploy the application something like we do in Visual Studio?</p><p>Thanks in advance</p><p>Jack<br /></p>

    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a>

  • Crystal Report For Eclipse: POJO problem

    Hi all,
    I am using crystal report for eclipse basic version and used POJO-method to implement for users to viewing my report.
    I did the following:
    I created a sql page (create a target table) and import into crystal report (through  crystal report designer under eclipse environment) E.g. let's say I created a table with 10 fields and imported into the crystal report.
    Then I drag and drop through crystal report for my report design.
    Later if I need to add one more field .....
    I need to modified my SQL page and re-import the sql page into my crystal report. HOWEVER, through this re-import process, I lost all the detail/information on the existing report (that mean I need to re-design my report through the designer under eclipse environmet).
    My question is: Is there any better way for me to implement my report ???
    THANKS .. THANKS a lot as this problem make me use a lot of my time ... THANKS

    In the sceario you have described (using a SQLPage as the datasource for the report), unfortunately, this is a limitation of the workflow. If you need to change the SQL, then you essentially need to remove and re-add it to the report which means replacing all the fields on the report.
    Instead, I would recommend using a class as the report's datasource.  The class would represent the fields that would be used in your POJO object.  This way if you need to modify the fields in the POJO, you can simply update the class and use the Verify Database to update the report.
    -MJ

Maybe you are looking for

  • Only my home page won't open when I go to log in, it gets the message that the session has timed out. What can I do about it?

    I can log in and use my homepage in IE but I get a session timed out message when I try to log in while using Firefox. the URL is: https://familysearch.org.

  • Running Independen​t VI's

    I've tired to have one vi open a second vi and then close the first vi leaving the second vi running. I can't seem to get this to work using the second vi opening a vi reference too itself as I was led to believe. Can anyone provide help or an exampl

  • Issue in field edited by user

    Hi All, I have a z-tcode to display order-no, line item and priority (priority field can be edited by user). this transaction was associated with single order no only. I made some changes to make the program get associated with multiple order nos.  t

  • What's the benefit of PostScript in saving file?

    When we ⌘ + P (Command + P), on PDF button, there are several Options on saving file. Save as PDF... Save as PostScript... <--- What is this for? What benefit? Fax PDF... <--- What is this anyway? Mail PDF <--- What about this? Save as PDF-X <---- So

  • Jave error during the installation of Oracle cleint

    I am trying to install Oracle 11g 64-bit client on my computer which is Window 7 64-bit. I am stucking at the step of Perform Prerequisite Checks. The installer was hanging forever. I froced to kill the installer from task manger. Then I got the erro