I'm wondering if it is some sort of network issue - the Maps API has to load
from a server at google.

Also, even though you shouldn't need a key, you could go to
http://code.google.com/apis/maps and get one for localhost.  IIRC, some
parts of the API (Geocoding maybe?) do need a key, even if its localhost.

On Wed, Sep 17, 2008 at 1:17 PM, Einstein0970 <[EMAIL PROTECTED]> wrote:

>
> Hi Eric,
>
> I have installed the latest and greatest JVM32bit and still fails on
> the same error.
> Any other ideas?
>
> - Erick
>
> On Sep 15, 8:46 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
> > We have had reports of GWT being used sucessfully on Ubuntu 8 and 9.  One
> > more thing - I think you must be using the 32 bit JVM or you probably
> > wouldn't even see hosted mode, but just to be certain, are you using a 32
> > bit JVM?   We've had reports of a bad version of the 1.6 JVM causing
> > problems in one distro.  Can you try upgrading or changing your JVM
> > version?  Any 32 bit 1.5.x or 1.6.x should work.
> >
> > All these things aside, it still looks to me like the Maps API script is
> not
> > loading. I can't tell you why it would all of a sudden start to fail.
> >
> >
> >
> > On Mon, Sep 15, 2008 at 8:35 PM, Eric Ayers <[EMAIL PROTECTED]> wrote:
> > > What happens when you try to compile and run in web mode?
> >
> > > On Mon, Sep 15, 2008 at 7:31 PM, Einstein0970 <[EMAIL PROTECTED]>
> wrote:
> >
> > >> Ran the HelloMaps demo and works great when deployed on my localhost
> > >> tomcat but same error when ran from the Eclipse IDE host-mode. BTW,
> > >> the same app ran well in GWT1.4, Ubuntu 7 and Eclipse 3.3...
> > >> Can you guys reproduce my errors using HelloMaps in Ubuntu 8.04?
> >
> > >> On 15 sep, 16:33, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
> > >> > When you ran the tutorial, did the application in the tutorial work
> for
> > >> you
> > >> > (the world's largest ball of twine)?
> >
> > >> > Can you show a small segment of code that reproduces the problem?
> >
> > >> > On Mon, Sep 15, 2008 at 4:26 PM, Einstein0970 <[EMAIL PROTECTED]>
> wrote:
> >
> > >> > > I use: gwt-maps.jar (0.0.290) from (http://code.google.com/p/gwt-
> > >> > > google-apis/wiki/Downloads<
> > >>http://code.google.com/p/gwt-google-apis/wiki/Downloads>
> > >> > > )
> >
> > >> > > On Sep 15, 3:50 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
> > >> > > > When you say you are using the latest gwt-maps.jar file, can you
> > >> tell me
> > >> > > > what version you downloaded?
> >
> > >> > > > On Mon, Sep 15, 2008 at 3:46 PM, Einstein0970 <[EMAIL PROTECTED]
> >
> > >> wrote:
> >
> > >> > > > > Still fails:
> >
> > >> > > > > Here's my gwt.xml file: (followed the tut:
> > >> > > > >
> http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted)
> >
> > >> > > > > <module>
> >
> > >> > > > >  <inherits name="com.google.gwt.maps.GoogleMaps"/>
> > >> > > > >   <inherits name="com.jarics.gwt.Widgets" />
> > >> > > > >   <!-- You can run under localhost without a key -->
> > >> > > > >  <script src="http://maps.google.com/maps?
> > >> > > > > gwt=1&amp;file=api&amp;v=2.x<
> > >> > >http://maps.google.com/maps?gwt=1&file=api&v=2.x>"
> > >> > > > > />
> > >> > > > >   <entry-point class="com.mobigolf.gwt.client.MobiGolf"/>
> >
> > >> > > > > </module>
> >
> > >> > > > > On Sep 15, 1:44 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
> > >> > > > > > Try loading the Maps API before your GWT script.  Or move
> the
> > >> loading
> > >> > > of
> > >> > > > > the
> > >> > > > > > Maps script into your .gwt.xml file.  There is an example of
> the
> > >> > > latter
> > >> > > > > in
> > >> > > > > > the online documentation at:
> > >> > >http://code.google.com/p/gwt-google-apis/
> >
> > >> > > > > > On Mon, Sep 15, 2008 at 12:55 PM, Einstein0970 <
> > >> [EMAIL PROTECTED]>
> > >> > > wrote:
> >
> > >> > > > > > > Hi,
> >
> > >> > > > > > > I have tried all possibilities:
> >
> > >> > > > > > > 1- <scrip in my html file
> > >> > > > > > > 2- <cript in my web.xml file
> >
> > >> > > > > > > Still receive same error.
> >
> > >> > > > > > > Here are my files:
> > >> > > > > > > <html>
> > >> > > > > > >        <head>
> >
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <!-- Any title is fine
> > >> -->
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <title>Wrapper HTML for MobiGolf</title>
> >
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <!-- The module reference below is the link
> > >>  -->
> > >> > > > > > >                <!-- between html and your Web Toolkit
> module
> > >>  -->
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <meta name='gwt:module'
> > >> > > > > > > content='com.mobigolf.gwt.MobiGolf'/>
> >
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <!-- Link CSS file
> > >> -->
> > >> > > > > > >                <!--
> > >> -->
> > >> > > > > > >                <link type="text/css" rel='stylesheet'
> > >> > > > > href='MobiGolf.css'/>
> >
> > >> > > > > > >        </head>
> >
> > >> > > > > > >        <!--                                           -->
> > >> > > > > > >        <!-- The body can have arbitrary html, or      -->
> > >> > > > > > >        <!-- we leave the body empty because we want   -->
> > >> > > > > > >        <!-- to create a completely dynamic ui         -->
> > >> > > > > > >        <!--                                           -->
> > >> > > > > > >        <body>
> >
> > >> > > > > > >                <!--
> > >>  -->
> > >> > > > > > >                <!-- This script is required bootstrap
> stuff.
> > >> -->
> > >> > > > > > >                <!-- You can put it in the HEAD, but
> startup
> > >>  -->
> > >> > > > > > >                <!-- is slightly faster if you include it
> here.
> > >> -->
> > >> > > > > > >                <!--
> > >>  -->
> > >> > > > > > >                <script language="javascript"
> > >> > > > > > > src="com.mobigolf.gwt.MobiGolf.nocache.js"></script>
> >
> > >> > > > > > >                <!-- OPTIONAL: include this if you want
> history
> > >> > > support
> > >> > > > > -->
> > >> > > > > > >                <iframe id="__gwt_historyFrame"
> > >> > > > > > > style="width:0;height:0;border:0"></
> > >> > > > > > > iframe>
> >
> > >> > > > > > >  <!-- You can run under localhost without a key -->
> > >> > > > > > >  <script src="http://maps.google.com/maps?
> > >> > > > > > > gwt=1&amp;file=api&amp;v=2.x<
> > >> > > > >http://maps.google.com/maps?gwt=1&file=api&v=2.x>"
> > >> > > > > > > />
> >
> > >> > > > > > >        </body>
> > >> > > > > > > </html>
> >
> > >> > > > > > > And:
> >
> > >> > > > > > > <module>
> >
> > >> > > > > > >  <inherits name="com.google.gwt.i18n.I18N"/>
> > >> > > > > > >  <inherits name="com.google.gwt.user.User"/>
> > >> > > > > > >  <inherits name="com.google.gwt.maps.GoogleMaps"/>
> > >> > > > > > >  <inherits name="com.google.gwt.i18n.I18N"/>
> > >> > > > > > >  <extend-property name="locale" values="en_CA,fr_CA"/>
> > >> > > > > > >  <inherits name="com.jarics.gwt.Widgets" />
> >
> > >> > > > > > >        <entry-point
> class="com.mobigolf.gwt.client.MobiGolf"/>
> >
> > >> > > > > > > </module>
> >
> > >> > > > > > > Thanks
> >
> > >> > > > > > > On Sep 15, 11:54 am, "Eric Ayers" <[EMAIL PROTECTED]>
> wrote:
> > >> > > > > > > > Hello,
> >
> > >> > > > > > > > It looks like the Maps API script is not really being
> > >> loaded.
> > >> > >  Check
> > >> > > > > the
> > >> > > > > > > > <script> tag in your host file, or your .gwt.xml file.
> > >> Recent
> > >> > > > > versions
> > >> > > > > > > of
> > >> > > > > > > > the code will warn you about this issue.
> >
> > >> > > > > > > > -Eric.
> >
> > >> > > > > > > > On Mon, Sep 15, 2008 at 12:10 AM, Einstein0970 <
> > >> [EMAIL PROTECTED]
> >
> > >> > > > > wrote:
> >
> > >> > > > > > > > > Hi Guys,
> >
> > >> > > > > > > > > Recently moved on Ubuntu 8.04 (64bit) and GWT 1.5.
> >
> > >> > > > > > > > > I am using the latest gwt-maps.api and my very simple
> code
> > >> does
> > >> > > not
> > >> > > > > > > > > start on host mode but works perfectly when deployed
> under
> > >> > > tomcat.
> >
> > >> > > > > > > > > Here is the error I get:
> >
> > >> > > > > > > > > [ERROR] Unable to load module entry point class
> > >> > > > > > > > > com.mobigolf.gwt.client.MobiGolf (see associated
> exception
> > >> for
> > >> > > > > > > > > details)
> > >> > > > > > > > > com.google.gwt.core.client.JavaScriptException:
> > >> (TypeError):
> > >> > > > > > > > > $wnd.GLatLng is not a constructor
> > >> > > > > > > > >  fileName: transient source for
> > >> > > > > > > > > com.google.gwt.maps.client.impl.__LatLngImplImpl
> > >> > > > > > > > >  lineNumber: 14
> > >> > > > > > > > >  stack: (46.870989,-71.217155)@transient source for
> > >> > > > > > > > > com.google.gwt.maps.client.impl.__LatLngImplImpl:14
> > >> > > > > > > > > gwtOnLoad([object
> > >> Window],"com.mobigolf.gwt.MobiGolf","1.5")@:0
> > >> > > > > > > > > gwtOnLoad((function () {alert("Failed to load module
> > >> > > > > > > > > com.mobigolf.gwt.MobiGolf\".\nPlease see the log in
> the
> > >> > > development
> > >> > > > > > > > > shell for details.");}),"com.mobigolf.gwt.MobiGolf","
> > >> > > > >http://localhost:
> > >> > > > > > > > > 8888/com.mobigolf.gwt.MobiGolf/")@
> http://localhost:8888/
> >
> > >> > > com.mobigolf.gwt.MobiGolf/hosted.html?com_mobigolf_gwt_MobiGolf:20
> > >> > > > > > > > > maybeStartModule()@
> > >> > > > >http://localhost:8888/com.mobigolf.gwt.MobiGolf/
> > >> > > > > > > > > com.mobigolf.gwt.MobiGolf.nocache.js:100
> > >> > > > > > > > > ()@http://localhost:8888/com.mobigolf.gwt.MobiGolf/
> > >> > > > > > > > > com.mobigolf.gwt.MobiGolf.nocache.js:393
> > >> > > > > > > > > @
> > >>http://localhost:8888/com.mobigolf.gwt.MobiGolf/hosted.html?
> > >> > > > > > > > > com_mobigolf_gwt_MobiGolf:39<
> >
> > >> > >
> http://localhost:8888/com.mobigolf.gwt.MobiGolf/hosted.html?com_mobig
> > >> ..
> > >> > > > > .>
> >
> > >> > > > > > > > >        at
> >
> > >> com.google.gwt.maps.client.impl.__LatLngImplImpl.construct(Native
> > >> > > > > > > > > Method)
> > >> > > > > > > > >        at
> > >> > > > > com.google.gwt.maps.client.geom.LatLng.<init>(LatLng.java:65)
> > >> > > > > > > > >        at
> >
> > >>
> com.mobigolf.gwt.client.reservations.InfoWindowDemo.<clinit>(InfoWindowDemo.java:
> > >> > > > > > > > > 54)
> > >> > > > > > > > >        at
> > >> com.mobigolf.gwt.client.Tabs.<init>(Tabs.java:45)
> > >> > > > > > > > >        at
> >
> > >> com.mobigolf.gwt.client.MobiGolf.onModuleLoad(MobiGolf.java:51)
> >
> > >> > > > > > > > > Thanks for any help,
> >
> > >> > > > > > > > --
> > >> > > > > > > > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
> > >> > > > > > > code.google.com/webtoolkit/
> >
> > >> > > > > > --
> > >> > > > > > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
> > >> > > > > code.google.com/webtoolkit/
> >
> > >> > > > --
> > >> > > > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
> > >> > > code.google.com/webtoolkit/
> >
> > >> > --
> > >> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
> > >> code.google.com/webtoolkit/
> >
> > > --
> > > Eric Z. Ayers - GWT Team - Atlanta, GA USA
> > >http://code.google.com/webtoolkit/
> >
> > --
> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
> code.google.com/webtoolkit/
> >
>


-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to