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

JPI appears to send an extra http request when using PrintServiceLookup

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      x86, sparc
    • OS:
      solaris_9, windows_2000

      Description


      Java Plug-in 1.4.1_x appears to send an extra http request, when printing a doc
      from a client applet, from IE 6.0 SP1:
      Connecting http://129.149.141.73/META-INF/services
      /javax.print.PrintServiceLookup

      This causes the (web) server side to reject the http request and log errors.
      The applet does run fine, and the applet printing goes fine as well, except for
      this server side logging of the unneeded error request (for each applet print
      request).

      The attached small standalone reproducible sample test case (file:
      testcase_021103.tar) reproduces this problem at will. We have reproduced the
      problem using:
      SunOne Web Server 6.0 SP4 (prob happens using IBM webserver as well)
      IE 5.5 SP2, IE 6.0, IE 6.0 SP1 on Windows 2000 client
      JPI 1.4.1_01 & JPI 1.4
      (attached test case has a README with detailed steps)

      We see the following from the JPI console with trace level 5 enabled:
      Loading applet ...
      Initializing applet ...
      Starting applet ...
      Connecting http://129.149.141.73/PrintApplet.class with proxy=129.149.247.58:8080
      Loading http://129.149.141.73/PrintApplet.class from cache
      Connecting http://129.149.141.73/cherry08.jpg with proxy=129.149.247.58:8080
      Loading http://129.149.141.73/cherry08.jpg from cache
      Finding information ...
      Releasing classloader: sun.plugin.ClassLoaderInfo@3e97df, refcount=0
      Done ...
      800 564
      Modality pushed
      Modality popped
      User selected: 0
      start printing
      Connecting http://129.149.141.73/META-INF/services/javax.print.PrintServiceLookup with proxy=129.149.247.58:8080
      <...snip...>

      And the web server logs an error as follows:
      [05/Feb/2003:18:21:50] security ( 1959): for host 129.149.247.58 trying
      to HEAD /META-INF/services/javax.print.PrintServiceLookup,
      deny-existence reports:
      denying existence of
      /export/iplanetprod/iws_60sp4/docs/META-INF/services/javax
      .print.PrintServiceLookup

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: