[mapserver-users] Mapplet and Browsers

David Graham dgraham at i3.com
Mon Jun 10 13:43:30 EDT 2002


Greetings Mapplet users:

I was wondering about peoples experience with use of the Mapplet with 
different browsers.

I have been developing a new site.  Currently only available on our 
internal network.  But I have found that I am having problems with 
various Browsers hanging with use of the Mapplet applet.  Now it may 
simply be issues of browser configuration/maturity but I was wondering 
what other peoples experience is.

IE 5.0.1 on Windows 2000 - Works
Mozilla 1.0 release candidate 3 on Windows 2000 - Hangs
Netscape 4.77 on Windows 2000 - Applet runs but does not load maps
Netscape 6.2 on Windows 2000 - Hangs

Mozilla 1.0 release candidate 3 on Linux - Hangs (Message is: Allocating 
more space for read msg 816 )
Netscape 4.77.1 on Linux - Works
Netscape 6.2.3 on Linux - Hangs  (Message is: Allocating more space for 
read msg 806  )
Konqueror 2.1.1 on Linux - Fails with exceptions (see below)

The reason I bring this up is if I run against another applet like the 
one at
http://www.crh.noaa.gov/radar/loop/DS.p19r0/si.kftg.shtml
Most everything works fine

IE 5.0.1 on Windows 2000 - Works Fine
Mozilla 1.0 release candidate 3 on Windows 2000 - Works Fine
Netscape 4.77 on Windows 2000 - Works Fine
Netscape 6.2 on Windows 2000 - Works Fine

Mozilla 1.0 release candidate 3 on Linux - Works Fine
Netscape 4.77.1 on Linux - Works Fine
Netscape 6.2.3 on Linux - Works Fine
Konqueror 2.1.1 on Linux - Runs applet does not display images

Now I tried hitting the Landview site also, and it has similar 
problems.  This is not surprising since I was using there compilation of 
the mapplet. 

I went to the MapServer web site and downloaded the mapplet.zip file 
from the Utilities section and installed class files in the web server 
but did not get any better results.  I am currently unable to compile 
them since I do not have the javascript package.  But I wonder if that 
is not where the problem is.  Below is the Java Console Output form the 
Konqueror web browser.  The ClassFormatErrors occur right before it 
hangs up.  That has to do with the Javascript Object libraries.

Has anyone else been having or working on these problems?  Any input 
would be appreciated.

Dave Graham

Konqueror Java Console Output
---------------------------------
Java VM version: 1.3.0
Java VM vendor:  IBM Corporation
Unable to load JSSE SSL stream handler, https support not available
java.lang.ClassFormatError: netscape/javascript/JSObject (Bad magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
    at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
    at 
org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:314)
    at 
org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:335)
    at mapplet.init(mapplet.java:74)
    at 
org.kde.kjas.server.KJASAppletStub.initApplet(KJASAppletStub.java:145)
    at org.kde.kjas.server.KJASAppletStub$1.run(KJASAppletStub.java:98)
    at java.lang.Thread.run(Thread.java:498)
java.lang.ClassFormatError: netscape/javascript/JSObject (Bad magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
    at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
    at 
org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:289)
    at 
org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:335)
    at mapplet.init(mapplet.java:74)
    at 
org.kde.kjas.server.KJASAppletStub.initApplet(KJASAppletStub.java:145)
    at org.kde.kjas.server.KJASAppletStub$1.run(KJASAppletStub.java:98)
    at java.lang.Thread.run(Thread.java:498)
------------------------------------

-- 
David W. Graham
Director of Geospatial Applications Development
information integration and imaging, LLC
201 Linden St, Third Floor
Fort Collins, CO 80524
(970) 482-4400
dgraham at i3.com
http://www.i3.com




More information about the mapserver-users mailing list