[Mapserver-users] IMSEMU trouble with <GET_SERVICE_INFO>

Paul Ramsey pramsey at refractions.net
Wed Jul 28 14:40:44 EDT 2004


Yes, Lowell is right, the snippet below is the transaction that fails.  
The setImageType method is a perl mapscript method, and if it is being 
called on an undefined value, that probably means the $map object is 
not getting properly initialized.  Which in turn could mean that the 
path to the map file (/var/www/html/tutorial/example1-1.map) given in 
the imsemu is not correct.



    1380 [Wed Jul 28 09:15:16 2004] [error] [client 199.73.157.80]  
[09:15:16] Service: /var/www/html/tutorial/example1-1.map
    1381 [Wed Jul 28 09:15:16 2004] [error] [client 199.73.157.80]  
[09:15:16] XML: <?xml version="1.0" encoding="UTF-8"?><ARCXML 
version="1.0.1"><REQUEST><GET_SERVICE_INFO dpi="96" 
toc="true"/></REQUEST></ARCXML>!
    1382 [Wed Jul 28 09:15:16 2004] [error] [client 199.73.157.80]
    1383 [Wed Jul 28 09:15:16 2004] [error] [client 199.73.157.80]  
[09:15:16] Doc: ARRAY(0x843e0f8)
    1384 [Wed Jul 28 09:15:16 2004] [error] [client 199.73.157.80] Can't 
call method "setImageType" on an undefined value at 
/var/www/cgi-bin/com.esri.esrimap.Esrimap line 201, <> line 1.



On Wednesday, July 28, 2004, at 09:16 AM, Lowell Filak wrote:

> Are you using the default "/home/www/mapserv/maps/92k.map" mapfile 
> (line
>  21 in my version of imsemu)?
> It appears from the error log that there is a failure opening the 
> mapfile.
>
> Lowell
>
> The following message was sent by "Hancock, Eric"
> <Eric.Hancock at dep.state.fl.us> on Wed, 28 Jul 2004 09:43:47 -0400.
>
>> Hello all,
>>
>> I'm new to the list and I'm having a bit of a problem with IMSEMU.
>> I suppose I should introduce myself. My name is Eric Hancock and I
> work > for
>> the Florida State Department Of Environmental Protection in the 
>> BIS/GIS
>> section and am currently looking into open source solutions for our 
>> GIS
>> department.
>>
>> The problem:
>> We've installed mapserver and its serving maps and the demo we have >
> works
>> fine, however IMSEMU is giving us some problems. IMSEMU is returning a
>> version reply, so the perl script seems to be executing fine. However,
>> when
>> the client (in our case ArcMAP) sends a <GET_SERVICE_INFO> request >
> IMSEMU
>> crashes and returns an HTML error. I will attach the ngrep'd request 
>> and
>> response as well as the apache error log file. I know just a little
> perl > so
>> debugging perl is not completely out of the question. Has any of you
> ran > into
>> this problem? What steps could I take to troubleshoot it farther?
>>
>> Thanks for your help,
>>
>> Eric Hancock
>>  <<trouble.txt>>
>>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the mapserver-users mailing list