You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Stan <st...@energycontrolsystems.com> on 2009/01/20 14:02:50 UTC
Cache entry not found - slows drawing display
I am getting numerous "cache entry not found" for JavaPackage.class and
SVGDoc.class in the Java console every time a new drawing is displayed
by Batik. This is slowing the display of each drawing. Am I missing a
jar file in the cache_archive_ex parameter?
Thanks
Stan
Java Plug-in 1.6.0_11, Batik-1.7
Part of index.html:
<PARAM name="java_code" value="ecs.utils.MainMenu.class">
<PARAM name="java_codebase" value="java/">
<PARAM name="cache_archive_ex" value="ECS_Remote.jar;preload;1.0.1.3
,utils.jar;preload;1.0.1.5 ,constants.jar;preload;1.0.1.3
,data.jar;preload;1.0.1.3 ,funcs.jar;preload;1.0.1.3
,jta25b.jar;preload;1.0.1.3 ,lib/batik-all.jar;preload;1.0.1.3
,lib/js.jar;preload;1.0.1.3 ,lib/xerces_2_5_0.jar;preload;1.0.1.3
,lib/xml-apis.jar;preload;1.0.1.3 ,lib/xml-apis-ext.jar;preload;1.0.1.3,
lib/xbean.jar;preload;1.0.1.3">
from Java console:
network: Cache entry not found [url:
http://192.0.0.118/java/org/w3c/dom/smil/SVGDoc.class, version: null]
network: Connecting
http://192.0.0.118/java/org/w3c/dom/smil/SVGDoc.class with proxy=DIRECT
network: Connecting http://192.0.0.118:80/ with proxy=DIRECT
network: Cache entry not found [url:
http://192.0.0.118/java/org/w3c/dom/stylesheets/SVGDoc.class, version: null]
network: Connecting
http://192.0.0.118/java/org/w3c/dom/stylesheets/SVGDoc.class with
proxy=DIRECT
network: Connecting http://192.0.0.118:80/ with proxy=DIRECT
network: Cache entry not found [url:
http://192.0.0.118/java/org/w3c/dom/svg/SVGDoc.class, version: null]
network: Connecting http://192.0.0.118/java/org/w3c/dom/svg/SVGDoc.class
with proxy=DIRECT
network: Connecting http://192.0.0.118:80/ with proxy=DIRECT
network: Cache entry not found [url:
http://192.0.0.118/java/org/w3c/dom/views/SVGDoc.class, version: null]
network: Connecting
http://192.0.0.118/java/org/w3c/dom/views/SVGDoc.class with proxy=DIRECT
network: Connecting http://192.0.0.118:80/ with proxy=DIRECT
network: Cache entry not found [url:
http://192.0.0.118/java/org/w3c/dom/xpath/SVGDoc.class, version: null]
network: Connecting
http://192.0.0.118/java/org/w3c/dom/xpath/SVGDoc.class with proxy=DIRECT
from Apache httpd log:
192.0.0.18 - - [19/Jan/2009:15:43:42 -0500] "GET
/java/org/w3c/dom/smil/SVGDoc.class HTTP/1.1" 404 309 "-" "Mozilla/4.0
(Windows XP 5.1) Java/1.6.0_11"
192.0.0.18 - - [19/Jan/2009:15:43:42 -0500] "GET
/java/org/w3c/dom/stylesheets/SVGDoc.class HTTP/1.1" 404 316 "-"
"Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_11"
192.0.0.18 - - [19/Jan/2009:15:43:42 -0500] "GET
/java/org/w3c/dom/svg/SVGDoc.class HTTP/1.1" 404 308 "-" "Mozilla/4.0
(Windows XP 5.1) Java/1.6.0_11"
192.0.0.18 - - [19/Jan/2009:15:43:42 -0500] "GET
/java/org/w3c/dom/views/SVGDoc.class HTTP/1.1" 404 310 "-" "Mozilla/4.0
(Windows XP 5.1) Java/1.6.0_11"
192.0.0.18 - - [19/Jan/2009:15:43:42 -0500] "GET
/java/org/w3c/dom/xpath/SVGDoc.class HTTP/1.1" 404 310 "-" "Mozilla/4.0
(Windows XP 5.1) Java/1.6.0_11"
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: Cache entry not found - slows drawing display
Posted by Helder Magalhães <he...@gmail.com>.
> Am I missing a jar file
> in the cache_archive_ex parameter?
Two things occur to me:
1. You are using scripting within SVG and not declaring an ECMAScript
variable "SVGDoc" before using it. Please refer to a recent thread [1]
for more information;
2. As far as I know, no class named "SVGDoc" exists within Batik [2]
so, if a Jar file is missing, probably it's not from Batik...
Hope this helps,
Helder Magalhães
[1] http://www.nabble.com/FW%3A-Strange-applet-delay-revisited-to21494010.html
[2] http://xmlgraphics.apache.org/batik/javadoc/
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org