[mapguide-users] Connection Problem

Zac Spitzer zac.spitzer at gmail.com
Mon Dec 7 02:12:22 EST 2009


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<http://in.mc941.mail.yahoo.com/mc/compose?to=manav_dayal85@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<http://: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<http://in.mc941.mail.yahoo.com/mc/compose?to=manav_dayal85@yahoo.co.in>
>>> >* wrote:
>>>
>>>
>>> From: manav dayal <manav_dayal85 at yahoo.co.in<http://in.mc941.mail.yahoo.com/mc/compose?to=manav_dayal85@yahoo.co.in>
>>> >
>>> 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: 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<http://in.mc941.mail.yahoo.com/mc/compose?to=zac.spitzer@gmail.com>
>>> >* wrote:
>>>
>>>
>>> From: Zac Spitzer <zac.spitzer at gmail.com<http://in.mc941.mail.yahoo.com/mc/compose?to=zac.spitzer@gmail.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: 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<http://in.mc941.mail.yahoo.com/mc/compose?to=manav_dayal85@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<http://in.mc941.mail.yahoo.com/mc/compose?to=zac.spitzer@gmail.com>
>>>> >* wrote:
>>>>
>>>>
>>>> From: Zac Spitzer <zac.spitzer at gmail.com<http://in.mc941.mail.yahoo.com/mc/compose?to=zac.spitzer@gmail.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: 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<http://mc/compose?to=manav_dayal85@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<http://mc/compose?to=manav_dayal85@yahoo.co.in>
>>>>> >* wrote:
>>>>>
>>>>>
>>>>> From: manav dayal <manav_dayal85 at yahoo.co.in<http://mc/compose?to=manav_dayal85@yahoo.co.in>
>>>>> >
>>>>> Subject: [mapguide-users] Connection Problem
>>>>> To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org<http://mc/compose?to=mapguide-users@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<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>
>>>>> .
>>>>>
>>>>> -----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://mc/compose?to=mapguide-users@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://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://in.mc941.mail.yahoo.com/mc/compose?to=mapguide-users@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://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/>
>>> .
>>>
>>> -----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://in.mc941.mail.yahoo.com/mc/compose?to=mapguide-users@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://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
>
>
>
>


-- 
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/20091207/9f4a552c/attachment.html


More information about the mapguide-users mailing list