Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185571

PrinterJob.lookupPrintServices() fails to detect print services

XMLWordPrintable

    • 2d
    • x86
    • linux

      FULL PRODUCT VERSION :
      JAVA_VERSION="1.8.0_31"
      OS_NAME="Linux"
      OS_VERSION="2.6"
      OS_ARCH="amd64"

      ADDITIONAL OS VERSION INFORMATION :
      JAVA_VERSION="1.8.0_31"
      OS_NAME="Linux"
      OS_VERSION="2.6"
      OS_ARCH="amd64"

      A DESCRIPTION OF THE PROBLEM :
      PrintService[] services = PrinterJob.lookupPrintServices(); is sometimes giving no results.Not sure what mights be the issue is. We already have check the CUPS printers.conf file and confirmed that there is no issues with that. Also some of the Printers got lost after we had restarted server - Weblogic 12c

      REGRESSION. Last worked in version 8u121

      ADDITIONAL REGRESSION INFORMATION:
      JAVA_VERSION="1.8.0_31"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      This should give list of all the network printer where application is deployed
      ACTUAL -
      Sometimes printers list is not getting returned.

      REPRODUCIBILITY :
      This bug can be reproduced often.

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: