<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>[UMN_MAPSERVER-USERS] jBox - Returning Grey Image instead of Map</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:.7in 1.25in .7in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I've noticed that I'm getting
this message when I run my mouse over the window. </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Exception: com.ms.security.SecurityExceptionEx[jBox.get_image]:
unable to check hostname "itraxdev.nscorp.comhttp".</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This is my hostname:  "jimbobmap.comhttp"
.  </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>But it is being appended with 'http'</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Where is that http coming from ? </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jim</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Ethan Alpert
[mailto:ealpert@digitalglobe.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 23, 2004
9:35 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Shanton, James A;
MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [UMN_MAPSERVER-USERS]
jBox - Returning Grey Image instead of Map</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div id=idOWAReplyText41351>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>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.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-e</span></font></p>

</div>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> UMN MapServer Users List on behalf
of Shanton, James A<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tue 11/23/2004 7:07 AM<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> [UMN_MAPSERVER-USERS]
jBox - Returning Grey Image instead of Map</span></font></p>

</div>

<div>

<p style='margin-left:.5in'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>I'm trying to get jBox to work, but all it is
returning is grey where the<br>
map image used to be.<br>
<br>
The maps are being generated in my tmp directory, but they just do not show<br>
up.  I'm using Windows XP, and IE 6.0<br>
<br>
I've added my code below.<br>
Thanks!<br>
Jim Shanton<br>
<br>
Here is what I get when I view the source...<br>
the resulting image path is a valid one.<br>
<br>
                 
codebase='/java/jbox'<br>
                 
archive='jBox.jar'<br>
                 
code='jBox.class'<br>
                 
width='600'<br>
                 
height='496'<br>
                 
name='jBox'<br>
                 
MAYSCRIPT><br>
             
<param name='img'<br>
value='<a href="http://jimbobmap.com/tmp/iTrax11012219451472.gif'">http://jimbobmap.com/tmp/iTrax11012219451472.gif'</a>><br>
             
<param name='drag' value=[DRAG]><br>
             
<param name='box' value=[BOX]><br>
             
<param name='verbose' value='false'><br>
             
<param name='thickness' value='2'></span></font></p>

</div>

</div>

</body>

</html>