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

Multiple, unnecessary, GET requests to the web server for a Property file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0, 1.4.0
    • deploy
    • generic
    • generic, solaris_8



      Name: ssT124754 Date: 03/16/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      I have an applet bundled into a JAR file and running in the plugin.

      I have .properties files used by the application included within the JAR.

      When I query the ResourceBundle I get multiple requests to the web server

      File does not exist: .../LogIn_en.class
      File does not exist: .../LogIn_en.properties
      File does not exist: .../LogIn_en_US.class
      File does not exist: .../LogIn_en_US.properties
      ...
      ..
      .

      before the acrual LogIn.properties file is correctly found.

      I realise that the correct locale is correctly being sought, but why is it
      making all these additional requests to the *web server* after searching the
      JAR file.

      Is there a way to limit the search to the JAR file and nowhere else?

      I have a *very* irate web administrator who is getting *thousands* of "File
      does not exist" error messages in his web server (apache) log file. Thus making
      real error messages hard to track down.

      Please help.
      Thanks very much.
      (Review ID: 118957)
      ======================================================================

            zgu Zhengyu Gu
            ssultanasunw Shaheen Sultana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: