jBox - Returning Grey Image instead of Map
Shanton, James A
James.Shanton2 at NSCORP.COM
Tue Nov 23 07:18:56 PST 2004
I've noticed that I'm getting this message when I run my mouse over the
window.
Exception: com.ms.security.SecurityExceptionEx[jBox.get_image]: unable to
check hostname "itraxdev.nscorp.comhttp".
This is my hostname: "jimbobmap.comhttp" .
But it is being appended with 'http'
Where is that http coming from ?
Jim
-----Original Message-----
From: Ethan Alpert [mailto:ealpert at digitalglobe.com]
Sent: Tuesday, November 23, 2004 9:35 AM
To: Shanton, James A; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: RE: [UMN_MAPSERVER-USERS] jBox - Returning Grey Image instead of
Map
Unfortunately that's what it looks like when you've made a mistake. There
are several things that could go wrong. The most important thing to do is
try to figure out what the URL you're passing to the mapserv executable.
Look in your httpd logs. Take that URL and type it into your browser with
mode=map. If that works and returns an image of what you expect then the
problem is most likely a path problem (imagepath,imageurl,etc). If it
doesn't work you should get an error message or another blank image. If you
get a blank image with mode=map then your extents, projections, paths to
your data or mapfile have a problem. Finally if there's nothing in your
httpd log then it's likely you have your initial URL wrong.
-e
_____
From: UMN MapServer Users List on behalf of Shanton, James A
Sent: Tue 11/23/2004 7:07 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] jBox - Returning Grey Image instead of Map
I'm trying to get jBox to work, but all it is returning is grey where the
map image used to be.
The maps are being generated in my tmp directory, but they just do not show
up. I'm using Windows XP, and IE 6.0
I've added my code below.
Thanks!
Jim Shanton
Here is what I get when I view the source...
the resulting image path is a valid one.
codebase='/java/jbox'
archive='jBox.jar'
code='jBox.class'
width='600'
height='496'
name='jBox'
MAYSCRIPT>
<param name='img'
value='http://jimbobmap.com/tmp/iTrax11012219451472.gif'
<http://jimbobmap.com/tmp/iTrax11012219451472.gif'> >
<param name='drag' value=[DRAG]>
<param name='box' value=[BOX]>
<param name='verbose' value='false'>
<param name='thickness' value='2'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041123/cd5dfa63/attachment.htm>
More information about the MapServer-users
mailing list