JDK-4426761 : Multiple, unnecessary, GET requests to the web server for a Property file
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.3.0,1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,solaris_8
  • CPU: generic
  • Submitted: 2001-03-16
  • Updated: 2003-05-19
  • Resolved: 2003-05-19
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description

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) 
======================================================================

Comments
WORK AROUND Name: ssT124754 Date: 03/16/2001 Pacify your web administrator as best as you can. ======================================================================
11-06-2004

EVALUATION This bug was filed in the wrong category; it basically describes the same problem as 4668479. ###@###.### 2003-04-29
29-04-2003