SAP Knowledge Base Article - Public

2158844 - Error: ' Java Server startup failure...' when attempting to connect to XML and Web Services, or using a JDBC connection in Crystal Reports

Symptom

  • Failed to create a new Crystal report using XML and Web services connection, or JDBC Connection.
  • When attempting to creating a report based on an XML and Web Services, or using a JDBC connection, Crystal Reports fails with the error:

    "Invalid Argument provided.
     Details: Java Server startup failure. Verify the PATH (JDK), CLASSPATH, and IORFileLocation properties
     In the CRConfig.xml file. In addition, verify that you are using JDK 1.5"

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, create a new report.
  2. In the Database Expert, under "New Connection", select "XML and Web Services", or "JDBC"
  3. It then fail with the error: Java Server startup failure...

Cause

  • JDBC, and XML and Web Services connection requires a Java server.
  • The error occur when the path to the Java engine is incorrect.

Resolution

  • Update the path to the Java server installed with Crystal Reports.
    1. Find the actual location of Java engine (java.exe)
        
    2. Modify the CRConfig.xml file with the corect path to the Java engine. Below is the default path to the Java engine.

      <JavaDir32>C:\Apps\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\sapjvm/bin</JavaDir32>

Keywords

Java Server startup failure. Verify the PATH (JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.xml file, CRConfig.xml, Crystal Reports, XML and Web services error , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2013

Attachments

PATH NOT FOUND error.jpg
XML And Web services.jpg