SAP Knowledge Base Article - Preview

1766220 - A problem in print system causes Java Printing Service API hang

Symptom

  • Error: "Error Saving Report" in Crystal Reports Enterprise 4.0 Designer when trying to save reports to Enterprise folder.
  • Some processes are not attached to jvmmon.
  • In CrystalReportsProcessingServer Child trace log i.e., "crproc_*_child_JRC-VIEW1_trace.*.glf", A Java API called "lookupDefaultPrintService()" appears to hang.
  • When the sample code below is executed a default printer value is returns when it is executed with a non-SAPJVM.
  • When the sample code below is executed it hangs when it is executed with a SAPJVM.

import javax.print.PrintService;
import javax.print.PrintServiceLookup;


public class TestPrintServiceLookup
{
    public static void main( String[] args )
    {
        System.out.println( "Getting PrintService" );
        PrintService printService = PrintServiceLookup.lookupDefaultPrintService();
        if (null == printService) {
            System.out.println( "Got no PrintService" );
        }
        else {
            System.out.println( "Got PrintService " + printService.getName() );
        }
    }
}

 


Read more...

Environment

  • AIX 6.1
  • SAP BusinessObjects Business Intelligence Platform 4.0 (BI4.0)
  • Over 2,000 printers installed on the AIX

 

Product

SAP BusinessObjects Business Intelligence platform 4.0 ; SAP BusinessObjects Business Intelligence platform 4.0, feature pack 3 ; SAP BusinessObjects Business Intelligence platform 4.1

Keywords

jvm, jre, java, virtual machine, upgrade, reinstall TE: 5050081522 , KBA , BI-BIP-ADM , BI Servers, security, Crystal Reports in Launchpad , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.