[mapserver-users] Mapplet problem - SecurityExceptionEx[mappl et.init]

Kralidis, Tom Tom.Kralidis at ccrs.nrcan.gc.ca
Tue Nov 13 13:36:08 EST 2001


Beth,

You'd have to include the entire URL ('http://' included).  i.e:

<param name="image" value="http://[host]/tmp/file.png">

Using the MapServer CGI 'host' directive makes this more portable.

..in addition, I don't believe the mapplet supports PNG, unless you've
compiled them in yourself.  Someone correct me if I'm mistaken.

..Tom

=================================
Tom Kralidis
Systems Scientist
Canada Centre for Remote Sensing
Tel: (613) 947-1828
http://www.ccrs.nrcan.gc.ca/
45.42, -75.70
=================================


> -----Original Message-----
> From: Beth Baily [mailto:bbaily at CEMML.ColoState.EDU]
> Sent: Tuesday, November 13, 2001 12:22 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] Mapplet problem -
> SecurityExceptionEx[mapplet.init]
> 
> 
> I'm very new to MapServer and am trying to run the Demo with mapplet. 
> I'm getting the following error:
> 
> exception: com.ms.security.SecurityExceptionEx[mapplet.init]: 
> Unable to
> check hostname "myhost\tmp\DEMO1005669791352.png".
> 
> The page loads but doesn't show any images.  The images exist on the
> disk.
> 
> Does anyone have any ideas?
> 
> Thanks in advance,
> Beth Baily
> 
> E-mail: bbaily at cemml.colostate.edu
> 



More information about the mapserver-users mailing list