MapTools.org

[rosa-users] RE: [mapserver-users] Rosa and Mozilla - revisited

Hankley, Chip Chip.Hankley@GASAI.Com
Thu, 21 Nov 2002 14:42:17 -0600
I had some time to play around with this. Forgive my ignorance of Java, but
hopefully this helps.

It looks to me like the process is hanging in Rosa2000.java, at line 501:

theTracker.waitForAll();

I came to this conclusion by turning the debug flag on from the applet, then
sequentially putting in 'System.out.println("something");' until I found the
line that was not executing.

If I understand this right, this method should load the image that we
specify in the previous line. Why this apparently only happens when using
SetImageURL is beyond me. The correct string location of the image is being
passed into the loadImage function (line 458 yields the correct URL to the
new image).

Anyway... hopefully this might be useful in figuring out why this doesn't
work on Netscape / Mozilla.

Chip Hankley


ORIGINAL MESSAGE:
-----------------------------------------
YES! I thought I was going crazy! I'm getting the same problem with Netscape
7 and Mozilla... I think the key here is the Java Plug-in version:

  Java(TM) Plug-in: Version 1.4.1_01
  Using JRE version 1.4.1_01 Java HotSpot(TM) Client VM
  User home directory = C:\Documents and Settings\hankleydw
  Proxy Configuration: Browser Proxy Configuration

This function works fine in IE when using the MS VM, but if I switch over to
the one above (the latest Sun JRE), it does exactly what you're saying... it
hangs the browser.

Interestingly, the image DOES get created, it's just not loading it.

To demo the problem, go to:

http://www.gasai.com/gisapps/world/worldview.html

and try to zoom in. My hunch is that if you're using an older JRE, it'll
work fine, but with a newer one, it'll bomb. I'd be interested to know if
this is a windows only phenomenon.

Chip


This archive was generated by Pipermail.