[Mapserver-users] load class: jBox not found

Michael Smith msmith at sanangelompo.org
Wed Jun 30 08:06:31 PDT 2004


 I changed the path in the codebase to a url like you mentioned and that did
it.  Thanks for the help.

-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Richard
Greenwood
Sent: Tuesday, June 29, 2004 5:42 PM
To: Michael Smith
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] load class: jBox not found

Michael Smith wrote:

> Does anyone know what causes this error message.  I have jBox 
> installed on Win2000 and it was running.  Not sure what I did to cause 
> this.  I have a folder on the C:\inetpub\wwwroot\java\jBox that contains
the jbox.class.
> When I run Mapserver everythings seems to be working and images of the 
> maps are being put into my tmp folder but only grey area is displayed.  
> Thanks for any input.

Check your CODEBASE attribute. It can be a full URL, or (more commonly) just
the path from the root of your server. In your case, it should be:
    codebase='/java/jBox'

For example:

<applet codebase='/java/jBox'
         code='jBox.class'
         archive='jBox.jar'
         width=[mapwidth]
         height=[mapheight]
         name='jBox' MAYSCRIPT>
     <param name='image' value='http://[host][img]'>
     <param name='drag' value=[DRAG]>
     <param name='box' value=[BOX]>
     <param name='verbose' value='false'>
     <param name='thickness' value='2'>
</applet>

--
Richard Greenwood
www.greenwoodmap.com
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list