[mapguide-users] Connection Problem

manav dayal manav_dayal85 at yahoo.co.in
Tue Dec 8 01:24:42 EST 2009


Jason Sir,

I tried to access the page using Firefox with firebug

It is showing an error in the script tag which says:

Failed
to load source for sourceFile top-level
about:neterror?e=connectionFailure&u=http%3A//localhost%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 )


Is this call hardwired to refer localhost?

Can I modify it in the file /mapguide/mapviewerajax ?

Thanks and Regards


--- On Tue, 8/12/09, Jason Birch <jason at jasonbirch.com> wrote:

From: Jason Birch <jason at jasonbirch.com>
Subject: Re: [mapguide-users] Connection Problem
To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
Date: Tuesday, 8 December, 2009, 11:34 AM

Use something like fiddler2 to figure out what its trying to redirect
you to. Maybe a host name or ip that is unreachable from your client.

On 2009-12-07, manav dayal <manav_dayal85 at yahoo.co.in> wrote:
> 192.168.224.135 - - [08/Dec/2009:11:00:58 +0530] "GET
> /mapguide/mapviewerajax/?SESSION=ca1ee218-ffff-ffff-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/ms/Layouts/ms.WebLayout
> HTTP/1.1" 302 472
>
>
> This is the 3rd entry in the access log of apache.
> All further entries are missing.
>
> Where can I find the file to which this 302 redirection is taking place
> /mapguide/mapviewerajax/
>
>
> I have ran out of options to resolve the issue.
> Desperately seeking help!!
>
> Thanks and Regards.
>
>
>
>
> --- On Mon, 7/12/09, manav dayal <manav_dayal85 at yahoo.co.in> wrote:
>
>
> From: manav dayal <manav_dayal85 at yahoo.co.in>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Monday, 7 December, 2009, 1:06 PM
>
>
>
>
>
>
>
> Zac
> I am unable to view any map using different machine.
>
>
> Thanks and Regards.
>
>
> --- On Mon, 7/12/09, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>
>
> From: Zac Spitzer <zac.spitzer at gmail.com>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Monday, 7 December, 2009, 12:42 PM
>
>
> looking at yourscreenshot again, it appears the problem is the sample code
> is hardwired to refer to
> localhost:8008 hence the problem...
>
> can you view a normal map without using the javasamples from another
> machine?
>
>
>
> 2009/12/7 Zac Spitzer <zac.spitzer at gmail.com>
>
> ok, can you install the firebox addon and enable the net tab,
> often is can be a missing file, which should show up in red
> under the net tab
>
>
>
>
> z
>
>
>
>
> 2009/12/7 manav dayal <manav_dayal85 at yahoo.co.in>
>
>
>
>
>
>
> I tried it on Firefox
> It is showing the following error on the console:
>
> Error: parent.parent.mapFrame is undefined
> Source File:
> http://192.168.224.24:8008/mapguide/javasamples/common/pageLoadFunctions.js
> Line: 25
>
> Rest of them are warnings.
>
> I am attaching the ScreenShot as well.
>
>
> Thanks and Regards.
>
>
>
>
>
> --- On Mon, 7/12/09, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>
>
>
> From: Zac Spitzer <zac.spitzer at gmail.com>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Monday, 7 December, 2009, 11:25 AM
>
>
>
>
>
> 302 is a just a redirect, not an error, so I wouldn't worry so much about
> that
>
> I note you mentioned using IE, does using Firefox make any difference?
> Anything show up in the firefox error console?
>
> z
>
>
> 2009/12/7 manav dayal <manav_dayal85 at yahoo.co.in>
>
>
>
>
>
>
>
>
> When I try the link
> http://192.168.224.24:8008/mapguide/javasamples/main.jsp
>
> from the machine with ip 192.168.224.135 it is giving the error ( IE cannot
> display the webpage)
>
>
> it gives only 3 entries in the access log of apache installed on my machine
> with ip 192.168.224.24
>
> Following are the entries:
>
> 192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET
> /mapguide/javasamples/main.jsp HTTP/1.1" 200 880
> 192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET
> /mapguide/gis1/styles/globalStyles.css HTTP/1.1" 404 1066
> 192.168.224.135 - - [07/Dec/2009:10:34:31 +0530] "GET
> /mapguide/mapviewerajax/?SESSION=edc0ff8a-ffff-ffff-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/ms/Layouts/ms.WebLayout
> HTTP/1.1" 302 472
>
>
>
>
> But When I try the link
> http://192.168.224.24:8008/mapguide/javasamples/main.jsp
>
> from my machine it is creating lot of entries in the access log of apache.
>
> Comparing the entries is not helping the cause.
>
>
> I could not figure out where the problem is?
>
> Plz help!!!
>
> Thanks and Regards.
>
>
>
>
> --- On Fri, 4/12/09, manav dayal <manav_dayal85 at yahoo.co.in> wrote:
>
>
>
> From: manav dayal <manav_dayal85 at yahoo.co.in>
>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Friday, 4 December, 2009, 4:43 PM
>
>
>
>
>
>
>
>
>
>
>
> There is an entry in the access logs of apache which says:
>
> 192.168.224.135 - - [04/Dec/2009:14:58:51 +0530] "GET
> /mapguide/mapviewerajax/?SESSION=5b777a88-0000-1000-8000-0018f319f820_en_7F0000010AFC0AFB0AFA&WEBLAYOUT=Library://Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout
> HTTP/1.1" 302 489
>
>
> How can I resolve this status code 302  error.
>
> Googling hasn't helped.
>
> I haven't found any relevant entry in the Logs of  Tomcat and MGOS 2.0.
>
>
> Still stuck!!
> I am in my learning stage Zac.
> Pardon me.
>
> Thanks for all the help!!
> Regards.
>
>
>
>
>
>
>
>
> --- On Fri, 4/12/09, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>
>
> From: Zac Spitzer <zac.spitzer at gmail.com>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Friday, 4 December, 2009, 10:45 AM
>
>
> time for you to do some debugging, if your using the java samples,
> I'd assume you know a bit about programming jsp
>
> there are error logs from both your webserver, servlet container
>
>
> 2009/12/4 manav dayal <manav_dayal85 at yahoo.co.in>
>
>
>
>
>
>
> Oops! This link appears to be broken.
> is the error I am getting Zac.
>
>
> The link  http://ip:8008/mapguide/  is working fine.
>
>
> and showing the list of the directories.
>
>
> But when I try the link http://ip:8008/mapguide/javasamples/main.jsp
>
>
> is giving the above error.
>
>
> Help!!
>
> --- On Fri, 4/12/09, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>
>
> From: Zac Spitzer <zac.spitzer at gmail.com>
> Subject: Re: [mapguide-users] Connection Problem
>
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Friday, 4 December, 2009, 9:44 AM
>
>
>
>
>
> how about a little more detail that just saying it 'errors' ?
>
>
> 2009/12/4 manav dayal <manav_dayal85 at yahoo.co.in>
>
>
>
>
>
>
>
> Hi everyone.
>
> I am stuck with this.
>
> Plz help!!
>
> Thanks in advance.
> Regards.
>
>
>
> --- On Thu, 3/12/09, manav dayal <manav_dayal85 at yahoo.co.in> wrote:
>
>
> From: manav dayal <manav_dayal85 at yahoo.co.in>
> Subject: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Thursday, 3 December, 2009, 6:08 PM
>
>
>
>
>
>
>
>
>
>
> I have MGOS 2.0 installed on my machine and my sample application is running
> fine
> on my machine using apache and tomcat.
>
>
> When I try to access the same application from another machine by providing
> the
> IP Address  of the my machine in the url
>
>
> it gives link broken type of errors.
>
> http://ip/   gives a page which shows It works!
>
> even
>
> http://ip/mapguide/  shows the listing of the directories.
>
>
> but when i try to access
>
>
> http://ip/mapguide/javasamples/main.jsp
>
>
> it gives errors but works on my machine.
>
>
> can anyone help!!!
>
> Thanks and Regards.
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
>
>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>       The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091208/4a1233a0/attachment.html


More information about the mapguide-users mailing list