<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Jason Sir,<br><br>I tried to access the page using Firefox with firebug<br><br>It is showing an error in the script tag which says:<br><br><span class="sourceRowText" role="presentation">Failed
to load source for sourceFile top-level
about:neterror?e=connectionFailure&u=http%3A//<span style="font-weight: bold;">localhost</span>%3A8008/mapguide/mapviewerjava/ajaxviewer.jsp%3FSESSION%3D0b920dc6-0000-1000-8000-0018f319f820_en_7F0000010AFC0AFB0AFA%26WEBLAYOUT%3DLibrary%3A//Samples/ms/Layouts/ms.WebLayout&c=UTF-8&d=Firefox%20can%27t%20establish%20a%20connection%20to%20the%20server%20at%20localhost%3A8008.
script.tags( X| 220 221 222 223 224 225 226 227 )</span><br><br><br>Is this call hardwired to refer localhost?<br><br>Can I modify it in the file /mapguide/mapviewerajax ?<br><br>Thanks and Regards<br><br><br>--- On <b>Tue, 8/12/09, Jason Birch <i><jason@jasonbirch.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jason Birch <jason@jasonbirch.com><br>Subject: Re: [mapguide-users] Connection Problem<br>To: "MapGuide Users Mail List" <mapguide-users@lists.osgeo.org><br>Date: Tuesday, 8 December, 2009, 11:34 AM<br><br><div class="plainMail">Use something like fiddler2 to figure out what its trying to redirect<br>you to. Maybe a host name or ip that is unreachable from your client.<br><br>On 2009-12-07, manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>> wrote:<br>>
192.168.224.135 - - [08/Dec/2009:11:00:58 +0530] "GET<br>> /mapguide/mapviewerajax/?SESSION=ca1ee218-ffff-ffff-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/ms/Layouts/ms.WebLayout<br>> HTTP/1.1" 302 472<br>><br>><br>> This is the 3rd entry in the access log of apache.<br>> All further entries are missing.<br>><br>> Where can I find the file to which this 302 redirection is taking place<br>> /mapguide/mapviewerajax/<br>><br>><br>> I have ran out of options to resolve the issue.<br>> Desperately seeking help!!<br>><br>> Thanks and Regards.<br>><br>><br>><br>><br>> --- On Mon, 7/12/09, manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>> wrote:<br>><br>><br>> From: manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in"
href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>> Subject: Re: [mapguide-users] Connection Problem<br>> To: "MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Monday, 7 December, 2009, 1:06 PM<br>><br>><br>><br>><br>><br>><br>><br>> Zac<br>> I am unable to view any map using different machine.<br>><br>><br>> Thanks and Regards.<br>><br>><br>> --- On Mon, 7/12/09, Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>> wrote:<br>><br>><br>> From: Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>><br>> Subject: Re: [mapguide-users] Connection Problem<br>> To:
"MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Monday, 7 December, 2009, 12:42 PM<br>><br>><br>> looking at yourscreenshot again, it appears the problem is the sample code<br>> is hardwired to refer to<br>> localhost:8008 hence the problem...<br>><br>> can you view a normal map without using the javasamples from another<br>> machine?<br>><br>><br>><br>> 2009/12/7 Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>><br>><br>> ok, can you install the firebox addon and enable the net tab,<br>> often is can be a missing file, which should show up in red<br>> under the net tab<br>><br>><br>><br>><br>> z<br>><br>><br>><br>><br>> 2009/12/7 manav dayal <<a
ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>><br>><br>><br>><br>><br>><br>> I tried it on Firefox<br>> It is showing the following error on the console:<br>><br>> Error: parent.parent.mapFrame is undefined<br>> Source File:<br>> <a href="http://192.168.224.24:8008/mapguide/javasamples/common/pageLoadFunctions.js" target="_blank onclick="return" themainwindow.showlinkwarning(this)="">http://192.168.224.24:8008/mapguide/javasamples/common/pageLoadFunctions.js</a><br>> Line: 25<br>><br>> Rest of them are warnings.<br>><br>> I am attaching the ScreenShot as well.<br>><br>><br>> Thanks and Regards.<br>><br>><br>><br>><br>><br>> --- On Mon, 7/12/09, Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>>
wrote:<br>><br>><br>><br>> From: Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>><br>> Subject: Re: [mapguide-users] Connection Problem<br>> To: "MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Monday, 7 December, 2009, 11:25 AM<br>><br>><br>><br>><br>><br>> 302 is a just a redirect, not an error, so I wouldn't worry so much about<br>> that<br>><br>> I note you mentioned using IE, does using Firefox make any difference?<br>> Anything show up in the firefox error console?<br>><br>> z<br>><br>><br>> 2009/12/7 manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in"
href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>><br>><br>><br>><br>><br>><br>><br>><br>> When I try the link<br>> <a href="http://192.168.224.24:8008/mapguide/javasamples/main.jsp" target="_blank onclick="return" themainwindow.showlinkwarning(this)="">http://192.168.224.24:8008/mapguide/javasamples/main.jsp</a><br>><br>> from the machine with ip 192.168.224.135 it is giving the error ( IE cannot<br>> display the webpage)<br>><br>><br>> it gives only 3 entries in the access log of apache installed on my machine<br>> with ip 192.168.224.24<br>><br>> Following are the entries:<br>><br>> 192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET<br>> /mapguide/javasamples/main.jsp HTTP/1.1" 200 880<br>> 192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET<br>> /mapguide/gis1/styles/globalStyles.css HTTP/1.1" 404 1066<br>>
192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET<br>> /mapguide/mapviewerajax/?SESSION=edc0ff8a-ffff-ffff-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/ms/Layouts/ms.WebLayout<br>> HTTP/1.1" 302 472<br>><br>><br>><br>><br>> But When I try the link<br>> <a href="http://192.168.224.24:8008/mapguide/javasamples/main.jsp" target="_blank onclick="return" themainwindow.showlinkwarning(this)="">http://192.168.224.24:8008/mapguide/javasamples/main.jsp</a><br>><br>> from my machine it is creating lot of entries in the access log of apache.<br>><br>> Comparing the entries is not helping the cause.<br>><br>><br>> I could not figure out where the problem is?<br>><br>> Plz help!!!<br>><br>> Thanks and Regards.<br>><br>><br>><br>><br>> --- On Fri, 4/12/09, manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in"
href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>> wrote:<br>><br>><br>><br>> From: manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>><br>> Subject: Re: [mapguide-users] Connection Problem<br>> To: "MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Friday, 4 December, 2009, 4:43 PM<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> There is an entry in the access logs of apache which says:<br>><br>> 192.168.224.135 - - [04/Dec/2009:14:58:51 +0530] "GET<br>>
/mapguide/mapviewerajax/?SESSION=5b777a88-0000-1000-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout<br>> HTTP/1.1" 302 489<br>><br>><br>> How can I resolve this status code 302 error.<br>><br>> Googling hasn't helped.<br>><br>> I haven't found any relevant entry in the Logs of Tomcat and MGOS 2.0.<br>><br>><br>> Still stuck!!<br>> I am in my learning stage Zac.<br>> Pardon me.<br>><br>> Thanks for all the help!!<br>> Regards.<br>><br>><br>><br>><br>><br>><br>><br>><br>> --- On Fri, 4/12/09, Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>> wrote:<br>><br>><br>> From: Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>><br>> Subject:
Re: [mapguide-users] Connection Problem<br>> To: "MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Friday, 4 December, 2009, 10:45 AM<br>><br>><br>> time for you to do some debugging, if your using the java samples,<br>> I'd assume you know a bit about programming jsp<br>><br>> there are error logs from both your webserver, servlet container<br>><br>><br>> 2009/12/4 manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>><br>><br>><br>><br>><br>><br>> Oops! This link appears to be broken.<br>> is the error I am getting Zac.<br>><br>><br>> The link <a href="http://ip:8008/mapguide/" target="_blank">http://ip:8008/mapguide/</a> is working
fine.<br>><br>><br>> and showing the list of the directories.<br>><br>><br>> But when I try the link <a href="http://ip:8008/mapguide/javasamples/main.jsp" target="_blank">http://ip:8008/mapguide/javasamples/main.jsp</a><br>><br>><br>> is giving the above error.<br>><br>><br>> Help!!<br>><br>> --- On Fri, 4/12/09, Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>> wrote:<br>><br>><br>> From: Zac Spitzer <<a ymailto="mailto:zac.spitzer@gmail.com" href="/mc/compose?to=zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>><br>> Subject: Re: [mapguide-users] Connection Problem<br>><br>> To: "MapGuide Users Mail List" <<a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Friday, 4 December, 2009, 9:44
AM<br>><br>><br>><br>><br>><br>> how about a little more detail that just saying it 'errors' ?<br>><br>><br>> 2009/12/4 manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>><br>><br>><br>><br>><br>><br>><br>> Hi everyone.<br>><br>> I am stuck with this.<br>><br>> Plz help!!<br>><br>> Thanks in advance.<br>> Regards.<br>><br>><br>><br>> --- On Thu, 3/12/09, manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>> wrote:<br>><br>><br>> From: manav dayal <<a ymailto="mailto:manav_dayal85@yahoo.co.in" href="/mc/compose?to=manav_dayal85@yahoo.co.in">manav_dayal85@yahoo.co.in</a>><br>> Subject: [mapguide-users] Connection Problem<br>> To: "MapGuide Users Mail List" <<a
ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>><br>> Date: Thursday, 3 December, 2009, 6:08 PM<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> I have MGOS 2.0 installed on my machine and my sample application is running<br>> fine<br>> on my machine using apache and tomcat.<br>><br>><br>> When I try to access the same application from another machine by providing<br>> the<br>> IP Address of the my machine in the url<br>><br>><br>> it gives link broken type of errors.<br>><br>> <a href="http://ip/%C2%A0%C2%A0" target="_blank">http://ip/ </a> gives a page which shows It works!<br>><br>> even<br>><br>> <a href="http://ip/mapguide/%C2%A0" target="_blank">http://ip/mapguide/ </a> shows the listing of the directories.<br>><br>><br>> but when i try to
access<br>><br>><br>> <a href="http://ip/mapguide/javasamples/main.jsp" target="_blank">http://ip/mapguide/javasamples/main.jsp</a><br>><br>><br>> it gives errors but works on my machine.<br>><br>><br>> can anyone help!!!<br>><br>> Thanks and Regards.<br>><br>><br>><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your
Yahoo! Homepage.<br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>> --<br>> Zac Spitzer<br>> Solution Architect / Director<br>> Ennoble Consultancy Australia<br>> <a href="http://www.ennoble.com.au" target="_blank">http://www.ennoble.com.au</a><br>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>> +61 405 847 168<br>><br>><br>><br>><br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a
ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>> --<br>> Zac Spitzer<br>> Solution Architect / Director<br>> Ennoble Consultancy Australia<br>> <a
href="http://www.ennoble.com.au" target="_blank">http://www.ennoble.com.au</a><br>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>> +61 405 847 168<br>><br>><br>><br>><br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a
ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>> --<br>> Zac Spitzer<br>> Solution Architect / Director<br>> Ennoble Consultancy Australia<br>> <a
href="http://www.ennoble.com.au" target="_blank">http://www.ennoble.com.au</a><br>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>> +61 405 847 168<br>><br>><br>><br>><br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org"
href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>><br>> --<br>> Zac Spitzer<br>> Solution Architect / Director<br>> Ennoble Consultancy Australia<br>> <a href="http://www.ennoble.com.au" target="_blank">http://www.ennoble.com.au</a><br>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>> +61 405 847 168<br>><br>><br>><br>><br>><br>><br>> --<br>> Zac Spitzer<br>> Solution Architect / Director<br>> Ennoble Consultancy Australia<br>> <a href="http://www.ennoble.com.au" target="_blank">http://www.ennoble.com.au</a><br>> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>> +61 405 847
168<br>><br>><br>><br>><br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> -----Inline Attachment Follows-----<br>><br>><br>> _______________________________________________<br>> mapguide-users mailing list<br>> <a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>><br>><br>><br>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.<br>> <a href="http://in.yahoo.com/" target="_blank">http://in.yahoo.com/</a><br>_______________________________________________<br>mapguide-users mailing list<br><a ymailto="mailto:mapguide-users@lists.osgeo.org" href="/mc/compose?to=mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br></div></blockquote></td></tr></table><br>
<!--1--><hr size=1></hr>
The INTERNET now has a personality. YOURS! <a href="http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/" target="_blank">See your Yahoo! Homepage</a>.