Re: Invalid version number null when using the hosted mode

2008-10-01 Thread Dominik Steiner

Ok,

i have something to add here too. I had the same issue and my maven
build was using the correct new gwt vars, but i wasn't able to connect
to a remote url as i was before moving to gwt 1.5.2.

What helped for me was to load the hosted.html url directly in the gwt
shell, so something like this


http://urlToConnectTo:8080/webapp/hosted.html

(the same url loaded into a browser did show that it was using the
1.5 string, so that it was the correct one)

And then at least here on Mac i could make a right mouse click on the
page and select Element-Information which brought up the source code
of the hosted html page, where i could see that the 1.5 was missing
and thus the GWT shell was still loading a stale one. So i had to make
another right mouse click on the GWT shell and select Reload which
then after again inspecting the source code brought up the correct
hosted.html page with the correct 1.5 string.

After this reload of the hosted.html I could connect to the remote url
without problems. So it seems that the GWT shell is doing some caching
that could only be fixed like this.

HTH

Dominik

On 21 Sep., 11:28, Marco  Mustapic [EMAIL PROTECTED] wrote:
 Yes, it works now, thanks!

 On Sep 20, 1:12 pm, rakesh wagh [EMAIL PROTECTED] wrote:

  Symptoms:
  - You switched to 1.5.2 from some older version of gwt.
  - You are running hosted mode with -noserver flag for your app/
  module.
  - During war generation, your build scripts compiles the gwt
  moudule(GWTCompile).

  Cause:
  You are using older version of gwt jars in your ant build, while you
  have updated your those files in eclipse/run/debug-configuration

  Cure:
  Make sure you use 1.5.2 in your ant build as well.

  Hope it works for you!

  Rakesh Wagh

  On Sep 17, 3:57 pm, Marco  Mustapic [EMAIL PROTECTED] wrote:

   I'm having the same problem, on os x, using -noserver and tomcat, .
   How do I load hosted.html from the classpath? I also tried loading the
   app from 127.0.0.1 and still get the same error.

   thanks,

   Marco

   On Sep 16, 6:30 pm, Daniel [EMAIL PROTECTED] wrote:

One more thing.  I'm using JBoss and have tried clearing out all tmp/
work directories to no avail.  Also, when looking at the access log in
jboss you don't see a request for the hosted.html file.

On Sep 16, 2:28 pm, Daniel [EMAIL PROTECTED] wrote:

 I'm getting this same problem.  I'm using osx and noserver mode.  I
 have tried force refreshing from within the hosted mode, and also
 tried clearing the cache/history from within safari (not sure if they
 are linked).  I also noticed the comment earlier about loading the
 hosted.html file from the classpath, but the wierd thing is that if I
 use 127.0.0.1 instead of localhost, it works; so I don't think it's a
 problem with an old hosted.html file in my classpath.  It's not an IDE
 thing either as I get the problem when running from IDEA or from the
 command line.

 Any help would be greatly appreciated!!!

 Daniel

 On Sep 15, 12:58 pm, WildWarrior03 [EMAIL PROTECTED] wrote:

  anybody found any solution? I am not using tomcat..I am not sure 
  what
  is wrong..I also get the same error..

  On Sep 5, 7:17 am, Noé [EMAIL PROTECTED] wrote:

   It works now. I think it was because of the cache on tomcat.

   To achieve this, I erased all the temporary files on the web 
   server.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-21 Thread Marco Mustapic

Yes, it works now, thanks!

On Sep 20, 1:12 pm, rakesh wagh [EMAIL PROTECTED] wrote:
 Symptoms:
 - You switched to 1.5.2 from some older version of gwt.
 - You are running hosted mode with -noserver flag for your app/
 module.
 - During war generation, your build scripts compiles the gwt
 moudule(GWTCompile).

 Cause:
 You are using older version of gwt jars in your ant build, while you
 have updated your those files in eclipse/run/debug-configuration

 Cure:
 Make sure you use 1.5.2 in your ant build as well.

 Hope it works for you!

 Rakesh Wagh

 On Sep 17, 3:57 pm, Marco  Mustapic [EMAIL PROTECTED] wrote:

  I'm having the same problem, on os x, using -noserver and tomcat, .
  How do I load hosted.html from the classpath? I also tried loading the
  app from 127.0.0.1 and still get the same error.

  thanks,

  Marco

  On Sep 16, 6:30 pm, Daniel [EMAIL PROTECTED] wrote:

   One more thing.  I'm using JBoss and have tried clearing out all tmp/
   work directories to no avail.  Also, when looking at the access log in
   jboss you don't see a request for the hosted.html file.

   On Sep 16, 2:28 pm, Daniel [EMAIL PROTECTED] wrote:

I'm getting this same problem.  I'm using osx and noserver mode.  I
have tried force refreshing from within the hosted mode, and also
tried clearing the cache/history from within safari (not sure if they
are linked).  I also noticed the comment earlier about loading the
hosted.html file from the classpath, but the wierd thing is that if I
use 127.0.0.1 instead of localhost, it works; so I don't think it's a
problem with an old hosted.html file in my classpath.  It's not an IDE
thing either as I get the problem when running from IDEA or from the
command line.

Any help would be greatly appreciated!!!

Daniel

On Sep 15, 12:58 pm, WildWarrior03 [EMAIL PROTECTED] wrote:

 anybody found any solution? I am not using tomcat..I am not sure what
 is wrong..I also get the same error..

 On Sep 5, 7:17 am, Noé [EMAIL PROTECTED] wrote:

  It works now. I think it was because of the cache on tomcat.

  To achieve this, I erased all the temporary files on the web server.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-17 Thread mzachar

I had the same problem as well. And I found that in my hosted.html I
had external.gwtOnLoad(window, modName); and it was not working.
Then I made some changes (I made them a lot so I am not realy sure
which one was correct) and then the result in hosted.html was
external.gwtOnLoad(window, modName, 1.5);. So maby if your builder
is building all the time wrong hosted.html you can try to chnage it
manualy. Maybe it will helps.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-16 Thread WildWarrior03

anybody found any solution? I am not using tomcat..I am not sure what
is wrong..I also get the same error..



On Sep 5, 7:17 am, Noé [EMAIL PROTECTED] wrote:
 It works now. I think it was because of the cache on tomcat.

 To achieve this, I erased all the temporary files on the web server.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-16 Thread Daniel

I'm getting this same problem.  I'm using osx and noserver mode.  I
have tried force refreshing from within the hosted mode, and also
tried clearing the cache/history from within safari (not sure if they
are linked).  I also noticed the comment earlier about loading the
hosted.html file from the classpath, but the wierd thing is that if I
use 127.0.0.1 instead of localhost, it works; so I don't think it's a
problem with an old hosted.html file in my classpath.  It's not an IDE
thing either as I get the problem when running from IDEA or from the
command line.

Any help would be greatly appreciated!!!

Daniel



On Sep 15, 12:58 pm, WildWarrior03 [EMAIL PROTECTED] wrote:
 anybody found any solution? I am not using tomcat..I am not sure what
 is wrong..I also get the same error..

 On Sep 5, 7:17 am, Noé [EMAIL PROTECTED] wrote:

  It works now. I think it was because of the cache on tomcat.

  To achieve this, I erased all the temporary files on the web server.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-16 Thread Daniel

One more thing.  I'm using JBoss and have tried clearing out all tmp/
work directories to no avail.  Also, when looking at the access log in
jboss you don't see a request for the hosted.html file.

On Sep 16, 2:28 pm, Daniel [EMAIL PROTECTED] wrote:
 I'm getting this same problem.  I'm using osx and noserver mode.  I
 have tried force refreshing from within the hosted mode, and also
 tried clearing the cache/history from within safari (not sure if they
 are linked).  I also noticed the comment earlier about loading the
 hosted.html file from the classpath, but the wierd thing is that if I
 use 127.0.0.1 instead of localhost, it works; so I don't think it's a
 problem with an old hosted.html file in my classpath.  It's not an IDE
 thing either as I get the problem when running from IDEA or from the
 command line.

 Any help would be greatly appreciated!!!

 Daniel

 On Sep 15, 12:58 pm, WildWarrior03 [EMAIL PROTECTED] wrote:

  anybody found any solution? I am not using tomcat..I am not sure what
  is wrong..I also get the same error..

  On Sep 5, 7:17 am, Noé [EMAIL PROTECTED] wrote:

   It works now. I think it was because of the cache on tomcat.

   To achieve this, I erased all the temporary files on the web server.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-05 Thread Noé

It works now. I think it was because of the cache on tomcat.

To achieve this, I erased all the temporary files on the web server.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-03 Thread Joonas

I have the same problem. It seems that the hosted mode browser somehow
manages to load an old version of hosted.html. When I use web
inspector to see the URL of hosted.html and try to load this file
directly (also in hosted mode browser), it loads the correct up-to-
date version.

The problem is even more annoying as all the other guys in our
development team managed to upgrade to 1.5.2 without this problem ;)

- Joonas

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-03 Thread Joonas

Couple of more notes:

1.5.2 release notes state that hosted.html is now loaded from
classpath. Is this true even for -noserver? Just in case, I tried to
make sure that my classpath don't have hosted.html

If I remove myapp.nocache.js from the server, hosted mode browser can
not load the application. BUT, when I remove hosted.html, the hosted
mode browser still loads (old version of) hosted.html from somewhere.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Invalid version number null when using the hosted mode

2008-09-03 Thread Noé

Hummm... Today, the version number passed null to 1.4 in the
error:

[ERROR] Invalid version number 1.4 passed to external.gwtOnLoad(),
expected 1.5; your hosted mode bootstrap file may be out of date; if
you are using -noserver try recompiling and redeploying your app

And I don't know why... but it still does not work.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---