[mapguide-users] Connection Problem

Zac Spitzer zac.spitzer at gmail.com
Tue Dec 8 04:44:26 EST 2009


great news, can you describe the fix?

2009/12/8 manav dayal <manav_dayal85 at yahoo.co.in>

> Issue is resolved.
>
> *Thanks* from the bottom of my heart* *to *Kenneth, Jason and Zac.*
> You people are great.
>
>
> Regards
>
>
> --- On *Tue, 8/12/09, Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>*wrote:
>
>
> From: Kenneth Skovhede, GEOGRAF A/S <ks at geograf.dk>
>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
> Date: Tuesday, 8 December, 2009, 1:33 PM
>
>
> There should be a redirect in your apache setup that redirects:
> /mapguide/mapviewerajax/
> to
> /mapguide/mapviewerjava/ajaxviewer.jsp
>
> For some reason the redirect appears to throw in "localhost".
> If it is non-obvious from looking at your apache config where this is,
> you may have some url-rewriting module or other item installed.
>
> Try locating any "localhost" items in the apache config.
>
> Alternatively, see if this is the method used:
> http://webdesign.about.com/od/htaccess/ht/ht302redirect.htm
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> manav dayal skrev:
>
>   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><http://in.mc941.mail.yahoo.com/mc/compose?to=jason@jasonbirch.com>
> * wrote:
>
>
> From: Jason Birch <jason at jasonbirch.com><http://in.mc941.mail.yahoo.com/mc/compose?to=jason@jasonbirch.com>
> Subject: Re: [mapguide-users] Connection Problem
> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org><http://in.mc941.mail.yahoo.com/mc/compose?to=mapguide-users@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/   <http://ip/%C2%A0%C2%A0> gives a page which shows It works!
> >
> > even
> >
> > http://ip/mapguide/  <http://ip/mapguide/%C2%A0> 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.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>.
>
>
> ------------------------------
>
> _______________________________________________
> mapguide-users mailing listmapguide-users at lists.osgeo.org <http://in.mc941.mail.yahoo.com/mc/compose?to=mapguide-users@lists.osgeo.org>http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org<http://in.mc941.mail.yahoo.com/mc/compose?to=mapguide-users@lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> ------------------------------
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>
> .
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091208/d4a657ca/attachment.html


More information about the mapguide-users mailing list