Crystal Reports and Java error

Hi all, I'm trying to run a Crystal Reports report from my web application, but is happening a problem and I check all my code, CR installation, windows folder access rights but I didn't find any problem. Anyone can help me.... please!!!!!!
The error message, in java console is:
java.io.FileNotFoundException: http://localhost/viewer9/javaviewer/ReportViewer.jar
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
     at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
     at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
     at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
     at sun.plugin.cache.JarCache.get(Unknown Source)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
     at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
     at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
     at sun.misc.URLClassPath$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.misc.URLClassPath.getLoader(Unknown Source)
     at sun.misc.URLClassPath.getLoader(Unknown Source)
     at sun.misc.URLClassPath.getResource(Unknown Source)
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
load: class com.crystaldecisions.ReportViewer.ReportViewer not found.
java.lang.ClassNotFoundException: com.crystaldecisions.ReportViewer.ReportViewer
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
Cheers,
Zilmar
Message was edited by:
Zilmar

I don't know anything about Crystal Reports whatsoever, and I couldn't care less frankly. There has been an excess of postings on these forums about this product, whatever it may be.
If Crystal Reports isn't relevant to the problem why was it mentioned? In the title?
And in any case why was it posted in a forum entitled 'Reflections & Reference Objects'?
And your suggestion that it's up to me to do the research is fallacious and indeed ludicrous.
And the error message 'java.io.FileNotFoundException: http://localhost/viewer9/javaviewer/ReportViewer.jar' is entirely self-explanatory.
And it strongly appears to have something to do with the deployment of Crystal Reports.
None of which is a Reflections & Reference Objects problem, or a Java problem, or Sun's problem.

Similar Messages

  • Crystal Report and Log4net error 1.2.10

    Hi at all,
    I have problem on Crystal Report and log4net.
    It happens when I deploy the Web applications on the server.
    I'm using Visual studio 2013 update 2, and I'm using log4net 2.0.3 (1.2.13) and I'm using CRforVS2013_13_0_10, the last.
    When I deploy my application on the target machine, where I have also installed the runtime 64 bit for Crystal Report, I found this error:
    ERROR 2014-07-31 16:26:42,721 1528053ms 8Euro                  - IP:192.168.0.38    - HOST:192.168.0.38 DumpWebRequest                           -  ERROR: Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Exception StackTrace:   at System.Web.UI.Page.HandleError(Exception e)
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest()
      at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
      at System.Web.UI.Page.ProcessRequest(HttpContext context)
      at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    ERROR: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    ERROR: Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Exception StackTrace:   at CrystalDecisions.Shared.SharedUtils..cctor()
    ERROR: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Not able to extract code, error:Value cannot be null.
    Parameter name: source
    Exception StackTrace:
    On my local Visual studio it works, works fine.
    But when I'm deploying on Server, 2008 win 64 bit, I found this error.
    I've tried everything, I've installed also the runtime 64 bit on the target/server machine.
    The problem is that the log4net is not registered in the windows\assembly directory on the target server ? Do I have to use the Gac util to register the log4net dll assembly ?
    Please help me, It one day that I'm facing this error, but I'm not able to solve.
    Regards
    Vittorio

    Hi Vittorio
    Please enter the search string 'log4net crystal net' into the search box in the top right corner. When the results come up, click on the Support Notes link. That will filter for the KBAs that you want to have a look at.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports 2013 java-error "java.lang.ClassCastException: class com.crystaldecisions..." when promoting

    Hi,
    when promoting "Crystal Report 2013" report (with data connectivity BW MDX Query) from BO DEV to BO PROD with BO Promotion Mgmt (LCM), we get the following error message in LCM jobs history:
    Resolution Status=Overwritten, Dependency Status=All the required dependencies are included.,
    Commit Status=Commit attempted and failed.,
    Promotion Status=Failure : Object promoted. Update failed.
    Error: java.lang.ClassCastException: class com.crystaldecisions.sdk.occa.report.lib.ByteArray:java.net.URLClassLoader@1d634758 incompatible
    with class com.crystaldecisions.sdk.occa.report.lib.PropertyBag:java.net.URLClassLoader@1d634758
    The report itself is present on BO PROD, but the overwrite (BW DEV MDX Query-> BW PROD MDX Query) is not applied, so report connectivity still points to the BW Query on the development system :-( .
    Moreover, the overwrite itself is detected when the job is "test promoted" ("active overwrite").
    Before, we successfully were able to transport crystal reports 2013 with overwrite (the connection then pointed to BW PROD). No idea yet what suddenly changed that...
    Any ideas what causes the error and what can fix it (no posts found, no SAP note, google also no hits)?
    Best regards
    Florian Pitschi

    Update:
    After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
    from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
    Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
    We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
    Best Regards
    Florian

  • Getting Error while integrating Crystal reports with Java

    Hi All,
    I am getting below error while integrating crystal report with java
    [java] os.arch = x86
    [java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
    (Ljava/awt/Image;I)V
    [java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
    [java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
    Source)
    [java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
    Source)
    [java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
    [java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
    [java] at JRCViewReport$1.run(JRCViewReport.java:50)
    [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
    178)
    [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
    spatchThread.java:190)
    [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
    atchThread.java:144)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:138)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:130)
    [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Any help can be appreciated
    Kalyan

    Hi All,
    For got to mention i am using crystal reports XI release 2 with JDK1.4.
    Kalyan

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • Help to reg. crystal report with java

    hi friends,
    I have installed the crystal report and J-Integra also.
    but I am not able to find the crystl32.ocx in my c:\windows\system32 folder .
    So I downloaded it separately and use the J-Integra's com2java convertor to generate crystal package.
    Then as per manual I compiled that package and created crystal.jar file.
    And while try this setting with a sample code.
    package javaapplication10;
    public class CrystalClient {
      private static final String CONNECT_STRING = "DSN=test";
      private static final String REPORT_FILE_NAME = "d:\\arp\\cryrpt1.rpt";
      private static final String SQL_QUERY = "select * from tab1";
      private static final String PRINT_FILE = "d:\\arp\\YourNewReport.doc";
      public static void main(String args[]) throws Exception{
        try {
          crystal.CrystalReport report = new crystal.CrystalReport();
          report.aboutBox(); // Lets see if it was loaded properly
          report.setConnect(CONNECT_STRING);
          report.setReportFileName(REPORT_FILE_NAME);
          report.setSQLQuery(SQL_QUERY);
          report.setPrinterCopies((short) 1);
          report.setPrinterCollation(crystal.PrinterCollationConstants.crptDefault);
          report.setDestination(crystal.DestinationConstants.crptToFile);
          report.setPrintFileName(PRINT_FILE);
          report.setPrintFileType(crystal.PrintFileTypeConstants.crptWinWord); // Change output type if necessary
          report.printReport();
        } finally {
          com.linar.jintegra.Cleaner.releaseAll();
    [\code]
    During compilation no error found.
    But during runtime it says that
    init:
    deps-jar:
    compile-single:
    run-single:
    J-Integra 2.6 Copyright (c) Intrinsyc Software International, Inc. http://j-integra.intrinsyc.com/
    Thank you for choosing J-Integra.
    You have been evaluating this product for 2 days.
    Please visit http://j-integra.intrinsyc.com/ for
    documentation, support, and purchasing information.
    Exception in thread "main" AutomationException: 0x80040154 - Class not registered
    at com.linar.jintegra.bt.b(Unknown Source)
    at com.linar.jintegra.Rpc.a(Unknown Source)
    at com.linar.jintegra.bm.a(Unknown Source)
    at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
    at com.linar.jintegra.Dispatch.<init>(Unknown Source)
    at crystal.CrystalCtrlProxy.<init>(CrystalCtrlProxy.java:40)
    at crystal.CrystalReport.<init>(CrystalReport.java:117)
    at crystal.CrystalReport.<init>(CrystalReport.java:107)
    at javaapplication10.CrystalClient.main(CrystalClient.java:23)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    eventhough it is not the mistake of javacode.
    if anyone able to clarify my dobut kindly help me.
    Thanks in advance.
    Raj

    Multipost.
    http://forum.java.sun.com/thread.jspa?threadID=784597

  • Printing the datas through Crystal Report from Java

    How can I Print the datas through Crystal Report from java?

    How can I Print the datas through Crystal Report from
    java?
    What the hell are "the datas"?
    Jesus, I can understand this is a shrinking planet, Global community, and all that happy horse pucky. Typos or small grammar errors are no big deal, I make them all the time. But when I have to spend more time interpretting the question than figuring out the answer, it drives me crazy.

  • Crytal Reports and Salesforce Error message

    I have the following applications loaded
    Java: Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    Crystal Reports: Crystal Reports 2008 12.0
    Driver: Salesforce Driver 3.0
    Everytime I try to connect crystal reports thru salesforce I get the following error message:
    Invalid argument provided, java server startup failure, verify the path (jdk), classpath,and IORfilelocation in the crconfig.xml file, In addition verify you are using JDK 1.5
    I have tried backing up the Crconfig.xml file, and then deleting it, then deleting any old drivers I had and loading the SFDC 3.0 Driver, that did not seem to work. I also have removed crystal reports and downloaded again, that didnt seem to work either. I have also searched this forum for similar issues to no avail
    Here is what the CRconfig.xml file looks like on my machine (note - I took out the product key code for security reasons)
    <?xml version="1.0" encoding="utf-8" ?>
    - <CrystalReportEngine-configuration>
      <reportlocation>../..</reportlocation>
      <timeout>10</timeout>
    - <ExternalFunctionLibraryClassNames>
      <classname />
      <classname />
      </ExternalFunctionLibraryClassNames>
      <keycode>keycode</keycode>
    - <Javaserver-configuration>
    - <DataDriverCommon>
      <JavaDir>C:\Program Files\Business Objects\javasdk\bin</JavaDir>
      <Classpath>C:\Program Files\Business Objects\Common\4.0\java/lib/crlovmanifest.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRLOVExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJDBCServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBXMLServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJavaBeansServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBXMLExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/log4j.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBSForceServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBSForceExternal.jar;$</Classpath>
      <IORFileLocation>$</IORFileLocation>
      <JavaServerTimeout>1800</JavaServerTimeout>
      <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
      <JVMMaxHeap>64000000</JVMMaxHeap>
      <JVMMinHeap>32000000</JVMMinHeap>
      <NumberOfThreads>100</NumberOfThreads>
      </DataDriverCommon>
    - <JDBC>
      <CacheRowSetSize>100</CacheRowSetSize>
      <JDBCURL />
      <JDBCClassName />
      <JDBCUserName />
      <JNDIURL />
      <JNDIConnectionFactory />
      <JNDIInitContext>/</JNDIInitContext>
      <JNDIUserName>weblogic</JNDIUserName>
    - <GenericJDBCDriver>
    - <Default>
      <ServerType>UNKNOWN</ServerType>
      <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
      <StoredProcType>Standard</StoredProcType>
      <LogonStyle>Standard</LogonStyle>
      </Default>
    - <Sybase>
      <ServerType>SYBASE</ServerType>
      <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
      <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
      <StoredProcType>Standard</StoredProcType>
      <LogonStyle>MySQL</LogonStyle>
      </Sybase>
      </GenericJDBCDriver>
      </JDBC>
    - <XML>
      <CacheRowSetSize>100</CacheRowSetSize>
      <PreReadNBytes>4096</PreReadNBytes>
      <MaxCacheXMLSize>153600</MaxCacheXMLSize>
      <XMLLocalURL />
      <SchemaLocalURL />
      <XMLHttpURL />
      <SchemaHttpURL />
      <RepositoryPath>C:\Program Files\Business Objects\Common\4.0\java/lib/external</RepositoryPath>
      <ExternalNamespace>C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl.xsd;C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl_encoding.xsd</ExternalNamespace>
      <SocketTimeout>60000</SocketTimeout>
      </XML>
    - <JavaBeans>
      <CacheRowSetSize>100</CacheRowSetSize>
      <JavaBeansClassPath />
      <CallBackFunction>CrystalReportsLogoff</CallBackFunction>
      </JavaBeans>
    - <SForce>
      <CacheRowSetSize>100</CacheRowSetSize>
      <QueryBatchSize>2000</QueryBatchSize>
      <SocketTimeout>600000</SocketTimeout>
      <UseProxy>FALSE</UseProxy>
      <ProxyAddress />
      <ProxyPort />
      <BatchLookupCacheJoinSize>200</BatchLookupCacheJoinSize>
      </SForce>
      </Javaserver-configuration>
      </CrystalReportEngine-configuration>
    Any help would be greatly appreciated!

    See if someone in the Java Development forum will be able to help or redirect to the correct forum. Link to the Java Development forum:
    SAP Crystal Reports, version for Eclipse
    Ludek

  • Crystal Reports and SAP BO XI 3.1 License purshase

    Dear Professionals,
    My company is looking forward to go for Crystal Reports 2008 from BEx.
    I am looking for link for purchasing license for Crystal Reports and SAP BO XI 3.1 as well.
    Besides the above, i am currently working on a free trial version of Crystal Reportds and also installed Crystal Viewer to publish the reports on the portal, but it was asking for Java Connector license key.
    So, in addition to the above i also want to know the pricing for License of Javas Connector (JCo)
    Your help is appreciated.

    Hi
    the Java connector is available here
    service.sap.com/connectors
    Regarding licenses and pricing I would recommend to contact your local SAP sales office.
    Regards
    Stratos

  • Crystal report 9 memory error.

    we are using crystal report 9 with sybase power builder..... at some client locations we are experiencing the application crash due to memory while opening crystal reports.
    the following errors were noticed
    1.the instruction at "0x77124804" referenced memory at "0x001b3e60". the memory could not be read.
    2.the instruction at "0x7c911daf" referenced memory at "0x00000000". the memory could not be read.
    please guide us what is the issue.. do we need any hotfix or service pack for this.
    regards

    I assume you already tried to reinstall the application and I would recommend to do it one more time, but this time follow the process for so-called manual uninstall
    1. Uninstall Crystal reports 9 using add remove programs
    2. Save backup -up of the Registry
    3. Remove the following registry key (be careful with the registry file):
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports
    4. Reinstall Crystal Reports 9
    As the next step I would check and disable Data Execution Prevention.
    Go to: Start> Right-click My Computer" select Properties> Advanced tab > click Performance settings> Data Execution Prevention tab.
    If DEP turned on for all programs, then add Crystal Reports (crw32.exe) to except list.
    If DEP is not cause of problems, then I would suggest Process Monitor to locate the reason or at least try to locate it.
    You can download Process Monitor utility from the following page:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    The same page will tell you how to use it. I would suggest the following steps:
    Close all unnecessary applications/processes
    1. Open Crystal Reports
    2. Start the Process Monitor, stop capturing events (Cntrl-E), clean the display (Cntrl-X), add the following filter (Cntrl-L) "Process Name is crw32.exe then include", click ok.
    3. Start capturing events (Cntrl-E)
    4. Immediately click Format menu on Crystal Reports
    5. Stop capturing events and save the log file
    Now you can look at the log file to see what is going wrong. I would also advice to capture the same log on client machine to compare the sequence of events.
    Gracias...!!

  • Crystal Report Viewer Control error

    Please Help, I have a web application developed in .net 2005 which is using crystal reports developer product version 10.0.0.533.
    This web application with crystal is working fine on my local machine with OS windows xp, but on the windows server 2003 the application web form is running into "couldnot load file or assembly 'CrystalDecision.VSDesigner, Version=10.0.0.3300' or one of its dependencies"
    I have compared the assembly information of my local machine with that of the server and could not see the crystaldecision.vsdesigner version 10.0.0.3300 on the server 2003. I have uninstalled microsoft .net 2005 and crystal reports and installed crystal first and visual studio .net 2005 next and vice versa but still could not see that particular assembly available in the windows 2003 server.
    Please suggest as what to do for the assembly to be available on the server so crystal report viewer control can be created with out error. Thanks for any help.

    Hello Sunitha,
    Visual Studios 2005 ships with a bundled edition of Crystal Reports.  This bundled edition is based on the v10 code stream, but it is not CR10.  It's CR.NET for Visual Studios and it's v10.2. Crystal Reports 10.0 and the bundled CR.NET 10.2 for VS2005 are not interchangeable.
    The stand alone version of Crystal Reports 10 is not expected to integrate correctly into VS2005.  If you have CR10 Developer installed on your VS2005 machine you can force VS2005 to use the CR10.0 assemblies, but it is not supported.
    You need to clean up your application so that it's referencing the 10.2 version assemblies and then deploy the 10.2 runtime files.  You can visit the [Crystal Reports for Visual Studio .NET Runtime Distribution - Versions 9.1 to 12.0|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReportsruntimeforVisualStudio.NET] Wiki for a nice overview of the various versions of Crystal Reports, as well as a listing of the runtime files to match the version of Crystal Reports that is being used.  For VS2005 and bundled CR.NET look at the "CR 10.2 (VS .NET 2005)" section of the Wiki.
    Sincerely,
    Dan Kelleher

  • How do you reference a Formular Object on a Crystal Report using Java

    Hi all,
    I am trying to reference an object on my report which contains a Formula field.
    I have read the following 2 threads, but they refer to textObjects:
    [How do you reference a textObject on a Crystal report using Java|Re: How do you reference a textObject on a Crystal report using Java?]
    [Changing the text of ITextObject programatically|Re: Changing the text of ITextObject programatically]
    But I cannot even get those to work. I can reference a object which refers to a database field but as soon as I try
    reference a textObject or reportObject I just get a NULL variable.
    Below is the code I am useing
    IReportObject dbField = reportClientDocument.getReportDefController().findObjectByName("BOB1");
    IReportObject textBob = reportClientDocument.getReportDefController().findObjectByName("BOB2");
    "BOB1" is the name of my DB field Object, and "BOB2" can be a Text box or a Formula item and I just get nothing.
    I have just tested it with a FieldHeadingObject and that returns a valid object, so clearly I am going about this the wrong way
    for objects I place on the reports which are not driven by the database items.
    Ultimately what I want to do is reference an object in the Report Footer which will contain the RecordCount of the number of
    records contained in the report, which I am them going to use to determine if the report holds data,
    if it does I will print it, else ignore it and move on the the next report. I am doing this so that I can at an extra filter to split
    a report up into groups and produce a sinlge PDF for each group instead of one massive PDF containing all the groups.
    So if someone has a solution to any of my problems I would be very greatful, and I dont mind being told Im an idiot and should
    rather do it another way, as long as you supply that other way
    Thanks for the help
    Darren
    Edited by: Darren Jackson on Dec 16, 2009 7:29 PM
    Forgot to add am using CR4Ev2 SP3

    Right I have made some headway.
    Firstly, Im an idiot. I was making changes and setting up test fields on my report, but then when running the app, I had it looking at
    the backup report, which would explain why all the new textbox fields were not being found.
    The stupiditity did force me to delve deep and work out a fair bit of how the reports work, so cant complain too much. BUT, I am still
    not able to return values of Formula fields and formulas extra. Could someone tell me if this is even possible. I get retrieve the formula field
    name, and properties but not its value once the report has been populated. Am I wasting my time?
    Well I will continue dismantling my reports till I find the answer, or someone points me in the right direction.
    If any one is interested this is the code I used to drill down to my text boxes:
    IReportObject recCount = reportClientDocument.getReportDefController().findObjectByName("TB1");
    ITextObject obj_RecCount = (ITextObject) recCount;
    System.out.println(obj_RecCount.getName());
    Paragraphs objP = obj_RecCount.getParagraphs();
    for (int i = 0; i < objP.size(); i++){
         ParagraphElements pE = objP.getParagraph(i).getParagraphElements();
         for (int j = 0;j < pE.size(); j++){
              IParagraphTextElement pEE = (ParagraphTextElement) pE.getParagraphElement(j);
              System.out.println(pEE.getText());
    Cheers

  • How to set DbConnections when scheduling a crystal report using Crystal Reports Server Java SDK?

    Post Author: Manjula
    CA Forum: JAVA
    Hi,
    Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:&#91;Database Vendor Code:6550&#93;.
    Would be thankful if someone could answer my point as applicable.
    Here is the code attached.
    ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
    for(int i=0; i<dbLogonSize; ++i) {
    IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
    dbLogon.setDatabaseName("DBname");
    dbLogon.setUserName("usrname");
    dbLogon.setPassword("pwd");
    Thanks in advance.

    Post Author: Manjula
    CA Forum: JAVA
    Ted,
    Thank you for your valuable information.
    First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
    On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
    And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
    So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
    Would be greatful if you answer my question and provide me some guidance.
    Thanks in advance.

  • Seagate Crystal Reports ActiveX Designer error '80043ac4'

    Website slows down when users are running reports. Users start getting errors when running any crystal report. After sometime main page itself stops loading and only static html is visible. Following is one of the errors users see:
    Seagate Crystal Reports ActiveX Designer error '80043ac4'
    Invalid directory.
    /opera_mort2/report/AlwaysRequiredSteps.asp, line 54
    Other errors seen on reporting site at that time are
    Active Server pages error 'ASP 0115'
    Unexpected error
    /opera_mort2/report/rpt_level.asp
    A trappable error (C00000005) occurred in an external object. The script cannot continue running.
    authentication and network errors.
    Rebooting the Web Server temporarily fixes the issue however the error recurs again after a day or two. We are seeing this problem in both our PROD and DR server. There was no change done to either of these boxes recently.
    Also at this pint IIS was crashing. Microsoft Support analyzed the crash dumps created from IIS and came up with the following:
    "All the memory dumps captured showed the same DLL that was accessing corrupted memory. This same DLL would also be the one that had originally written to those addresses. The DLL was craxdrt.dll from Crystal Reports 8.0 ActiveX Designer, which was version 8.0.1.0 from 1/28/2000. This DLL should be updated to see if this issue has already been fixed. Other options are to recycle IIS more frequently and move to a new version of Crystal Reports."
    Here is a detailed analysis from Microsoft Support:
    The issue appears to be heap corruption. Normally these are difficult to troubleshoot, however, in this case every memory dump that I looked at had the same component involved.
    start end module name
    42b30000 4307f000 craxdrt (export symbols) craxdrt.dll
    Loaded symbol image file: craxdrt.dll
    Image path: C:\Program Files\Seagate Software\Report Designer Component\craxdrt.dll
    Image name: craxdrt.dll
    Timestamp: Fri Jan 28 15:16:46 2000 (3892235E)
    CheckSum: 0055446A
    ImageSize: 0054F000
    File version: 8.0.0.371
    Product version: 8.0.1.0
    File flags: 22 (Mask 3F) Pre-release Special
    File OS: 40004 NT Win32
    File type: 2.0 Dll
    File date: 00000000.00000000
    Translations: 1009.04b0
    CompanyName: Seagate Software, Inc.
    ProductName: Crystal Reports 8.0 ActiveX Designer.
    InternalName: CRAXDRT
    OriginalFilename: CRAXDRT.DLL
    ProductVersion: 8.0.1.0
    FileVersion: 8.0.0.371
    PrivateBuild: 8.0.0.371
    SpecialBuild: 8.0.0.371
    FileDescription: Crystal Reports ActiveX Designer Runtime Support
    LegalCopyright: Copyright (c) 1991-1999 Seagate Software, Inc. All rights reserved.
    LegalTrademarks: Copyright (c) 1991-1999 Seagate Software, Inc. All rights reserved.
    Comments: Crystal Reports for Visual Basic
    This component is from the year 2000 and needs to be updated. I searched our old cases and found several where old version of this component caused the same heap corruption.
    Please help as this is a production issue. Please let me know if you need any more information.
    thanks and regards
    sudatta soman

    Something must have changed. Were any patches or auto updates done to the OS?
    CR 8.0 has been out of the support cycle for some time now.
    As Microsoft suggested please log in and download the patches for CR 8.0 from:
    https://www.sdn.sap.com/irj/sdn/businessobjects-support
    If that does not resolve the issue the only option will be to schedule sn IIS restart each night.

Maybe you are looking for

  • 8600 and ATI Rage 128

    Hello all. I have an 8600/200 with a Sonnet G3 400 upgrade card running OS 9.1. I installed an ATI Rage 128 video card from a PM G3 (blue and white, I think). It works OK but when I'm surfing the web and I scroll up/down the page doesn't scroll smoot

  • Unsharp Mask

    I have Photoshop Elements 10 on my Mac Mini, and the unsharp mask feature, which originally worked fine, no longer works. When you click on it all you get is a little square that replaces the curser and doesn't do anything, while most of the menu bar

  • Search Term 2 missing in BDC for customer Master

    Hi, Iam creating a BDC program for Uploading Customer Master Data. While Recording, i found that Search Term 2 (Search Term B) is missing.   I am trying to record using tcode FD01. Thanks Kuna

  • IP Address restrictions by MAC

    I have some users in my network. I have a Dual WAN in my network with a Policy Based Routing. All this is working fine and I get routed to the correct WAN. My question is can the ISA restrict/not allow/block users which have not been registered in my

  • My CC desktop fails during installation? Please help?

    My CC Desktop Errors during installationand I cannot find a solution?