Re: Plugin fails to connect to hosted mode server

2011-01-19 Thread Aim
I also have upgraded my application to GWT 2.1.1 and plugin on chrome
has started failing. Although it's working on IE. Strange as most of
the time it's IE which is trouble maker :)

Thanks,

On Dec 24 2010, 9:20 am, Sethu writetose...@googlemail.com wrote:
 Not seeing any alternative. I have raised an issue for 
 thishttp://code.google.com/p/google-web-toolkit/issues/detail?id=5815

 On Dec 23, 8:17 am, Sethu writetose...@googlemail.com wrote:







  Hi Chris,

  I did what you told me. I added both 127.0.0.1 and localhost to the
  allowed hosts in the GWT plugin of chrome. Actually it says you need
  to add one only if you are doing some cross machine debugging. I am
  connecting from localhost only.

  Not sure what more to do. I have started up tomcat within eclipse and
  pointed the war folder to it and I am somehow working with it. I need
  to deploy the code everytime to test and no it does not help in
  debugging client code.

  Sethu

  On Dec 22, 8:32 pm, Chris Conroy con...@google.com wrote:

   You don't need to add entries for localhost since those are allowed by
   default.

   When you get the error do you see the GWT toolbox turn gray? Click it, 
   then
   click Update Your Configuration. It will autofill the options page with
   the host it detected and you can add it to your whitelist. Once added,
   refresh and you should connect and see the toolbox turn red.

   On Wed, Dec 22, 2010 at 10:18 AM, Sethu writetose...@googlemail.com 
   wrote:
Unfortunately I dont have an entry in my hosts file. I added a
localhost 127.0.0.1 for an extra measure and tried and still got the
same error.
Does anyone know why this is happening? The plug ins on chrome,
firefox, and IE all of them consistently give me the same error.

On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
 ...and it turns out that there's a simple answer.

 We use a hosts file entry (e.g. app.local.com) which resolves to
127.0.0.1
 so we can use a development SSL certificate on all dev machines. 
 Although
 this host is 127.0.0.1, you need to add app.local.com to the list of
allowed
 hosts in the Chrome dev mode plugin as it seems the check is on the 
 host
 name not the IP address to which the host name resolves - which is 
 fair
 enough I suppose.

 Glenn

--
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
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2011-01-19 Thread Aneublav
*PLEASE MAKE SURE NO PROPRIETARY, SENSITIVE OR PRIVATE INFORMATION IS
SENT/POSTED HERE*

if you dont mind and have no restrictions on sending some debugging
data, you may want to:

open a command line shell (cmd.exe) as admin and run:

netstat -ano  info.txt

netsh advfirewall firewall show rule name=all verbose  info.txt

if you can, please download ProcMon from technet.microsoft.com,
collect a snapshot.
make sure you start procmon before you open the browser (you probably
want to filter it)
and send us info.txt and procmon snapshot.

*PLEASE MAKE SURE NO PROPRIETARY, SENSITIVE OR PRIVATE INFORMATION IS
SENT/POSTED HERE*

On Jan 19, 11:42 am, Aim aim.ra...@gmail.com wrote:
 I also have upgraded my application to GWT 2.1.1 and plugin on chrome
 has started failing. Although it's working on IE. Strange as most of
 the time it's IE which is trouble maker :)

 Thanks,

 On Dec 24 2010, 9:20 am, Sethu writetose...@googlemail.com wrote:







  Not seeing any alternative. I have raised an issue for 
  thishttp://code.google.com/p/google-web-toolkit/issues/detail?id=5815

  On Dec 23, 8:17 am, Sethu writetose...@googlemail.com wrote:

   Hi Chris,

   I did what you told me. I added both 127.0.0.1 and localhost to the
   allowed hosts in the GWT plugin of chrome. Actually it says you need
   to add one only if you are doing some cross machine debugging. I am
   connecting from localhost only.

   Not sure what more to do. I have started up tomcat within eclipse and
   pointed the war folder to it and I am somehow working with it. I need
   to deploy the code everytime to test and no it does not help in
   debugging client code.

   Sethu

   On Dec 22, 8:32 pm, Chris Conroy con...@google.com wrote:

You don't need to add entries for localhost since those are allowed by
default.

When you get the error do you see the GWT toolbox turn gray? Click it, 
then
click Update Your Configuration. It will autofill the options page 
with
the host it detected and you can add it to your whitelist. Once added,
refresh and you should connect and see the toolbox turn red.

On Wed, Dec 22, 2010 at 10:18 AM, Sethu writetose...@googlemail.com 
wrote:
 Unfortunately I dont have an entry in my hosts file. I added a
 localhost 127.0.0.1 for an extra measure and tried and still got the
 same error.
 Does anyone know why this is happening? The plug ins on chrome,
 firefox, and IE all of them consistently give me the same error.

 On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
  ...and it turns out that there's a simple answer.

  We use a hosts file entry (e.g. app.local.com) which resolves to
 127.0.0.1
  so we can use a development SSL certificate on all dev machines. 
  Although
  this host is 127.0.0.1, you need to add app.local.com to the list of
 allowed
  hosts in the Chrome dev mode plugin as it seems the check is on the 
  host
  name not the IP address to which the host name resolves - which is 
  fair
  enough I suppose.

  Glenn

 --
 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
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
  cr...@googlegroups.com
 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-24 Thread Sethu
Not seeing any alternative. I have raised an issue for this
http://code.google.com/p/google-web-toolkit/issues/detail?id=5815


On Dec 23, 8:17 am, Sethu writetose...@googlemail.com wrote:
 Hi Chris,

 I did what you told me. I added both 127.0.0.1 and localhost to the
 allowed hosts in the GWT plugin of chrome. Actually it says you need
 to add one only if you are doing some cross machine debugging. I am
 connecting from localhost only.

 Not sure what more to do. I have started up tomcat within eclipse and
 pointed the war folder to it and I am somehow working with it. I need
 to deploy the code everytime to test and no it does not help in
 debugging client code.

 Sethu

 On Dec 22, 8:32 pm, Chris Conroy con...@google.com wrote:







  You don't need to add entries for localhost since those are allowed by
  default.

  When you get the error do you see the GWT toolbox turn gray? Click it, then
  click Update Your Configuration. It will autofill the options page with
  the host it detected and you can add it to your whitelist. Once added,
  refresh and you should connect and see the toolbox turn red.

  On Wed, Dec 22, 2010 at 10:18 AM, Sethu writetose...@googlemail.com wrote:
   Unfortunately I dont have an entry in my hosts file. I added a
   localhost 127.0.0.1 for an extra measure and tried and still got the
   same error.
   Does anyone know why this is happening? The plug ins on chrome,
   firefox, and IE all of them consistently give me the same error.

   On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
...and it turns out that there's a simple answer.

We use a hosts file entry (e.g. app.local.com) which resolves to
   127.0.0.1
so we can use a development SSL certificate on all dev machines. 
Although
this host is 127.0.0.1, you need to add app.local.com to the list of
   allowed
hosts in the Chrome dev mode plugin as it seems the check is on the host
name not the IP address to which the host name resolves - which is fair
enough I suppose.

Glenn

   --
   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Glenn Davies
I have exactly the same problem on Vista 32-bit, Chrome (Stable
8.0.552.224), Java 6 u23, GWT 2.1.1.

I get the unable to connect dialog. There are no errors in the
Eclipse console - nothing at all, in fact, to indicate that anything
has connected.

The same application on the same machine works fine in Firefox. I
can't try IE - I've never been able to get the plugin to run properly
on it.

Glenn

On Dec 22, 2:41 am, Sethu writetose...@googlemail.com wrote:
 Hi Alan,

 Thanks for helping..

 I tried telnetting and it was successful. I tried  and I got a
 blank screen. I also tried 9997 and I got some weird characters
 printed on the screen.
 I tried deleting the directories under the war created by GWT,
 restarted the server - same response
 I tried deleting the classes under web-inf, restarted the server -
 same response

 I changed the debug level to All and got a warning saying no
 favicon.ico. I put an icon file in there and then I got a 200. The
 icon also appears on the tab image on Chrome. But the plugin fails to
 connect never goes!

 Sethu

 On Dec 21, 9:50 pm, a...@mechnicality.com a...@mechnicality.com
 wrote:







  Following my previous comment - you can easily check by using a windows 
  command prompt and telnet
  , e.g.

  telnet 127.0.0.1     

  if the firewall is blocking it, you'll get a 'can't connect to server' 
  error, otherwise the screen
  will go blank and you'll get a weird prompt (the gwt rpc connection doesn't 
  print any kind of
  message.) Not very elegant, but its a quick and dirty check.

  HTH again

  Alan

  On 12/21/2010 8:37 AM, Sethu wrote:

   There isn't any. In the development mode, I dont see anything in red.
   In the console of the started application there is nothing printed
   either.  This is while running the sample project.
   I have another project that I had developed which suffers from the
   same problem. This project works fine on the PC that is running XP (32
   bit). But when I move to the 64 bit win 7 machine, the server starts
   up (i have a start up servlet that inialises stuff and logs to the
   console). But when I go to the browser and try to connect, it throws
   the failed to connect to the hosted mode error.
   Actually, it fails to connect to any of the other servlets I had
   written as well.

   On Dec 21, 9:11 pm, a...@mechnicality.coma...@mechnicality.com
   wrote:
   Please show us the stack trace

   Thanks

   - Reply message -
   From: Sethuwritetose...@googlemail.com
   Date: Tue, Dec 21, 2010 2:36 am
   Subject: Plugin fails to connect to hosted mode server
   To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com

   Hi,

   When I try to run the GWTs sample application project in the hosted
   mode on chrome, the static parts of the page load and then it throws
   an error saying plug in fails to connect to the hosted mode web
   server.

   My system config is below:
   OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
   on)
   JDK: java 6 update 23 (64 bit JVM)
   Eclipse Helios: 64 bit
   GWT SDK : 2.1

   I have installed the 32 bit jdk and in the run configurations I am
   ensuring that the JVM that its running on is 32 bit.

   The same thing works on my other PC running windows XP on a 32 bit
   JVM.

   I am not sure what I am doing wrong. Could someone please help...

   Thanks
   Sethu

   --
   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to 
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/google-web-toolkit?hl=en.

  --
  Alan Chaney
  CTO and Founder, Mechnicality, Inc.www.mechnicality.com

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Glenn Davies
...and it turns out that there's a simple answer.

We use a hosts file entry (e.g. app.local.com) which resolves to 127.0.0.1 
so we can use a development SSL certificate on all dev machines. Although 
this host is 127.0.0.1, you need to add app.local.com to the list of allowed 
hosts in the Chrome dev mode plugin as it seems the check is on the host 
name not the IP address to which the host name resolves - which is fair 
enough I suppose.

Glenn

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Sethu
Unfortunately I dont have an entry in my hosts file. I added a
localhost 127.0.0.1 for an extra measure and tried and still got the
same error.
Does anyone know why this is happening? The plug ins on chrome,
firefox, and IE all of them consistently give me the same error.


On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
 ...and it turns out that there's a simple answer.

 We use a hosts file entry (e.g. app.local.com) which resolves to 127.0.0.1
 so we can use a development SSL certificate on all dev machines. Although
 this host is 127.0.0.1, you need to add app.local.com to the list of allowed
 hosts in the Chrome dev mode plugin as it seems the check is on the host
 name not the IP address to which the host name resolves - which is fair
 enough I suppose.

 Glenn

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Chris Conroy
You don't need to add entries for localhost since those are allowed by
default.

When you get the error do you see the GWT toolbox turn gray? Click it, then
click Update Your Configuration. It will autofill the options page with
the host it detected and you can add it to your whitelist. Once added,
refresh and you should connect and see the toolbox turn red.

On Wed, Dec 22, 2010 at 10:18 AM, Sethu writetose...@googlemail.com wrote:

 Unfortunately I dont have an entry in my hosts file. I added a
 localhost 127.0.0.1 for an extra measure and tried and still got the
 same error.
 Does anyone know why this is happening? The plug ins on chrome,
 firefox, and IE all of them consistently give me the same error.


 On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
  ...and it turns out that there's a simple answer.
 
  We use a hosts file entry (e.g. app.local.com) which resolves to
 127.0.0.1
  so we can use a development SSL certificate on all dev machines. Although
  this host is 127.0.0.1, you need to add app.local.com to the list of
 allowed
  hosts in the Chrome dev mode plugin as it seems the check is on the host
  name not the IP address to which the host name resolves - which is fair
  enough I suppose.
 
  Glenn

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-22 Thread Sethu
Hi Chris,

I did what you told me. I added both 127.0.0.1 and localhost to the
allowed hosts in the GWT plugin of chrome. Actually it says you need
to add one only if you are doing some cross machine debugging. I am
connecting from localhost only.

Not sure what more to do. I have started up tomcat within eclipse and
pointed the war folder to it and I am somehow working with it. I need
to deploy the code everytime to test and no it does not help in
debugging client code.

Sethu

On Dec 22, 8:32 pm, Chris Conroy con...@google.com wrote:
 You don't need to add entries for localhost since those are allowed by
 default.

 When you get the error do you see the GWT toolbox turn gray? Click it, then
 click Update Your Configuration. It will autofill the options page with
 the host it detected and you can add it to your whitelist. Once added,
 refresh and you should connect and see the toolbox turn red.







 On Wed, Dec 22, 2010 at 10:18 AM, Sethu writetose...@googlemail.com wrote:
  Unfortunately I dont have an entry in my hosts file. I added a
  localhost 127.0.0.1 for an extra measure and tried and still got the
  same error.
  Does anyone know why this is happening? The plug ins on chrome,
  firefox, and IE all of them consistently give me the same error.

  On Dec 22, 7:53 pm, Glenn Davies glennats...@gmail.com wrote:
   ...and it turns out that there's a simple answer.

   We use a hosts file entry (e.g. app.local.com) which resolves to
  127.0.0.1
   so we can use a development SSL certificate on all dev machines. Although
   this host is 127.0.0.1, you need to add app.local.com to the list of
  allowed
   hosts in the Chrome dev mode plugin as it seems the check is on the host
   name not the IP address to which the host name resolves - which is fair
   enough I suppose.

   Glenn

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
Hi,

When I try to run the GWTs sample application project in the hosted
mode on chrome, the static parts of the page load and then it throws
an error saying plug in fails to connect to the hosted mode web
server.

My system config is below:
OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
on)
JDK: java 6 update 23 (64 bit JVM)
Eclipse Helios: 64 bit
GWT SDK : 2.1

I have installed the 32 bit jdk and in the run configurations I am
ensuring that the JVM that its running on is 32 bit.

The same thing works on my other PC running windows XP on a 32 bit
JVM.

I am not sure what I am doing wrong. Could someone please help...

Thanks
Sethu

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Please show us the stack trace 

Thanks




- Reply message -
From: Sethu writetose...@googlemail.com
Date: Tue, Dec 21, 2010 2:36 am
Subject: Plugin fails to connect to hosted mode server
To: Google Web Toolkit google-web-toolkit@googlegroups.com

Hi,

When I try to run the GWTs sample application project in the hosted
mode on chrome, the static parts of the page load and then it throws
an error saying plug in fails to connect to the hosted mode web
server.

My system config is below:
OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
on)
JDK: java 6 update 23 (64 bit JVM)
Eclipse Helios: 64 bit
GWT SDK : 2.1

I have installed the 32 bit jdk and in the run configurations I am
ensuring that the JVM that its running on is 32 bit.

The same thing works on my other PC running windows XP on a 32 bit
JVM.

I am not sure what I am doing wrong. Could someone please help...

Thanks
Sethu

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
There isn't any. In the development mode, I dont see anything in red.
In the console of the started application there is nothing printed
either.  This is while running the sample project.
I have another project that I had developed which suffers from the
same problem. This project works fine on the PC that is running XP (32
bit). But when I move to the 64 bit win 7 machine, the server starts
up (i have a start up servlet that inialises stuff and logs to the
console). But when I go to the browser and try to connect, it throws
the failed to connect to the hosted mode error.
Actually, it fails to connect to any of the other servlets I had
written as well.


On Dec 21, 9:11 pm, a...@mechnicality.com a...@mechnicality.com
wrote:
 Please show us the stack trace

 Thanks

 - Reply message -
 From: Sethu writetose...@googlemail.com
 Date: Tue, Dec 21, 2010 2:36 am
 Subject: Plugin fails to connect to hosted mode server
 To: Google Web Toolkit google-web-toolkit@googlegroups.com

 Hi,

 When I try to run the GWTs sample application project in the hosted
 mode on chrome, the static parts of the page load and then it throws
 an error saying plug in fails to connect to the hosted mode web
 server.

 My system config is below:
 OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
 on)
 JDK: java 6 update 23 (64 bit JVM)
 Eclipse Helios: 64 bit
 GWT SDK : 2.1

 I have installed the 32 bit jdk and in the run configurations I am
 ensuring that the JVM that its running on is 32 bit.

 The same thing works on my other PC running windows XP on a 32 bit
 JVM.

 I am not sure what I am doing wrong. Could someone please help...

 Thanks
 Sethu

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com

Hmm...

Have you checked that port  (if that's what you are using) is blocked in 
the Windows firewall?

The times I've seen this there has been a networking problem such that the client can't reach the 
server. That would explain why it works on one m/c and not the other. I think the 32 bit vs 64 bit 
is a red herring - I use Win 7 X64 with a 64 bit JVM all the time and have no problems.


HTH

Alan


On 12/21/2010 8:37 AM, Sethu wrote:

There isn't any. In the development mode, I dont see anything in red.
In the console of the started application there is nothing printed
either.  This is while running the sample project.
I have another project that I had developed which suffers from the
same problem. This project works fine on the PC that is running XP (32
bit). But when I move to the 64 bit win 7 machine, the server starts
up (i have a start up servlet that inialises stuff and logs to the
console). But when I go to the browser and try to connect, it throws
the failed to connect to the hosted mode error.
Actually, it fails to connect to any of the other servlets I had
written as well.


On Dec 21, 9:11 pm, a...@mechnicality.coma...@mechnicality.com
wrote:

Please show us the stack trace

Thanks

- Reply message -
From: Sethuwritetose...@googlemail.com
Date: Tue, Dec 21, 2010 2:36 am
Subject: Plugin fails to connect to hosted mode server
To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com

Hi,

When I try to run the GWTs sample application project in the hosted
mode on chrome, the static parts of the page load and then it throws
an error saying plug in fails to connect to the hosted mode web
server.

My system config is below:
OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
on)
JDK: java 6 update 23 (64 bit JVM)
Eclipse Helios: 64 bit
GWT SDK : 2.1

I have installed the 32 bit jdk and in the run configurations I am
ensuring that the JVM that its running on is 32 bit.

The same thing works on my other PC running windows XP on a 32 bit
JVM.

I am not sure what I am doing wrong. Could someone please help...

Thanks
Sethu

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/google-web-toolkit?hl=en.



--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.com

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Following my previous comment - you can easily check by using a windows command prompt and telnet 
, e.g.


telnet 127.0.0.1 

if the firewall is blocking it, you'll get a 'can't connect to server' error, otherwise the screen 
will go blank and you'll get a weird prompt (the gwt rpc connection doesn't print any kind of 
message.) Not very elegant, but its a quick and dirty check.


HTH again

Alan



On 12/21/2010 8:37 AM, Sethu wrote:

There isn't any. In the development mode, I dont see anything in red.
In the console of the started application there is nothing printed
either.  This is while running the sample project.
I have another project that I had developed which suffers from the
same problem. This project works fine on the PC that is running XP (32
bit). But when I move to the 64 bit win 7 machine, the server starts
up (i have a start up servlet that inialises stuff and logs to the
console). But when I go to the browser and try to connect, it throws
the failed to connect to the hosted mode error.
Actually, it fails to connect to any of the other servlets I had
written as well.


On Dec 21, 9:11 pm, a...@mechnicality.coma...@mechnicality.com
wrote:

Please show us the stack trace

Thanks

- Reply message -
From: Sethuwritetose...@googlemail.com
Date: Tue, Dec 21, 2010 2:36 am
Subject: Plugin fails to connect to hosted mode server
To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com

Hi,

When I try to run the GWTs sample application project in the hosted
mode on chrome, the static parts of the page load and then it throws
an error saying plug in fails to connect to the hosted mode web
server.

My system config is below:
OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
on)
JDK: java 6 update 23 (64 bit JVM)
Eclipse Helios: 64 bit
GWT SDK : 2.1

I have installed the 32 bit jdk and in the run configurations I am
ensuring that the JVM that its running on is 32 bit.

The same thing works on my other PC running windows XP on a 32 bit
JVM.

I am not sure what I am doing wrong. Could someone please help...

Thanks
Sethu

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/google-web-toolkit?hl=en.



--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.com

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
Hi Alan,

Thanks for helping..

I tried telnetting and it was successful. I tried  and I got a
blank screen. I also tried 9997 and I got some weird characters
printed on the screen.
I tried deleting the directories under the war created by GWT,
restarted the server - same response
I tried deleting the classes under web-inf, restarted the server -
same response

I changed the debug level to All and got a warning saying no
favicon.ico. I put an icon file in there and then I got a 200. The
icon also appears on the tab image on Chrome. But the plugin fails to
connect never goes!

Sethu

On Dec 21, 9:50 pm, a...@mechnicality.com a...@mechnicality.com
wrote:
 Following my previous comment - you can easily check by using a windows 
 command prompt and telnet
 , e.g.

 telnet 127.0.0.1     

 if the firewall is blocking it, you'll get a 'can't connect to server' error, 
 otherwise the screen
 will go blank and you'll get a weird prompt (the gwt rpc connection doesn't 
 print any kind of
 message.) Not very elegant, but its a quick and dirty check.

 HTH again

 Alan

 On 12/21/2010 8:37 AM, Sethu wrote:









  There isn't any. In the development mode, I dont see anything in red.
  In the console of the started application there is nothing printed
  either.  This is while running the sample project.
  I have another project that I had developed which suffers from the
  same problem. This project works fine on the PC that is running XP (32
  bit). But when I move to the 64 bit win 7 machine, the server starts
  up (i have a start up servlet that inialises stuff and logs to the
  console). But when I go to the browser and try to connect, it throws
  the failed to connect to the hosted mode error.
  Actually, it fails to connect to any of the other servlets I had
  written as well.

  On Dec 21, 9:11 pm, a...@mechnicality.coma...@mechnicality.com
  wrote:
  Please show us the stack trace

  Thanks

  - Reply message -
  From: Sethuwritetose...@googlemail.com
  Date: Tue, Dec 21, 2010 2:36 am
  Subject: Plugin fails to connect to hosted mode server
  To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com

  Hi,

  When I try to run the GWTs sample application project in the hosted
  mode on chrome, the static parts of the page load and then it throws
  an error saying plug in fails to connect to the hosted mode web
  server.

  My system config is below:
  OS: Windows 7 Home Premium (Windows firewall off, Kaspersky firewall
  on)
  JDK: java 6 update 23 (64 bit JVM)
  Eclipse Helios: 64 bit
  GWT SDK : 2.1

  I have installed the 32 bit jdk and in the run configurations I am
  ensuring that the JVM that its running on is 32 bit.

  The same thing works on my other PC running windows XP on a 32 bit
  JVM.

  I am not sure what I am doing wrong. Could someone please help...

  Thanks
  Sethu

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Alan Chaney
 CTO and Founder, Mechnicality, Inc.www.mechnicality.com

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.