[ovirt-devel] problem debugging gwt

Gilad Chaplik gchaplik at redhat.com
Thu Apr 17 14:56:56 UTC 2014


----- Original Message -----
> From: "Vojtech Szocs" <vszocs at redhat.com>
> To: "Tomas Jelinek" <tjelinek at redhat.com>
> Cc: "Gilad Chaplik" <gchaplik at redhat.com>, "Alexander Wels" <awels at redhat.com>, "Einav Cohen" <ecohen at redhat.com>
> Sent: Thursday, April 17, 2014 4:20:57 PM
> Subject: Re: problem debugging gwt
> 
> Hi Gilad,
> 
> I've seen this error many times before. Try this:
> 
> $ hostname
> vszocs.laptop
> 
> $ cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4 vszocs.laptop
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6 vszocs.laptop
> 
> Notice I've added 'vszocs.laptop' in /etc/hosts. For some reason, GWT
> debugger attempts to resolve the hostname.
> 
> The reason we have bindAddress=0.0.0.0 as default value is to support
> debugging browsers running outside the local machine (i.e. VM running IE).
> 
> BTW, in future (GWT 2.6 hopefully) we will put focus on abandoning 'classic'
> dev mode, and move towards 'super' dev mode.
> 
> Vojtech

Vojtech, you rock!
cc'ing devel-list. I'm 100% sure someone will google it :-)

Thanks, 
Gilad.

> 
> 
> ----- Original Message -----
> > From: "Tomas Jelinek" <tjelinek at redhat.com>
> > To: "Gilad Chaplik" <gchaplik at redhat.com>
> > Cc: "Vojtech Szocs" <vszocs at redhat.com>, "Alexander Wels"
> > <awels at redhat.com>
> > Sent: Thursday, April 17, 2014 1:06:37 PM
> > Subject: Re: problem debugging gwt
> > 
> > 
> > 
> > ----- Original Message -----
> > > From: "Gilad Chaplik" <gchaplik at redhat.com>
> > > To: "Tomas Jelinek" <tjelinek at redhat.com>
> > > Cc: "Vojtech Szocs" <vszocs at redhat.com>, "Alexander Wels"
> > > <awels at redhat.com>
> > > Sent: Thursday, April 17, 2014 12:50:59 PM
> > > Subject: Re: problem debugging gwt
> > > 
> > > ----- Original Message -----
> > > > From: "Tomas Jelinek" <tjelinek at redhat.com>
> > > > To: "Gilad Chaplik" <gchaplik at redhat.com>
> > > > Cc: "Vojtech Szocs" <vszocs at redhat.com>, "Alexander Wels"
> > > > <awels at redhat.com>
> > > > Sent: Thursday, April 17, 2014 1:14:48 PM
> > > > Subject: Re: problem debugging gwt
> > > > 
> > > > not sure if you need to enable the 0.0.0.0 - unless you are connecting
> > > > from
> > > > outside...
> > > > 
> > > > How do you run the debug mode?
> > > > 
> > > > I use only the
> > > > make gwt-debug DEBUG_MODULE=webadmin
> > > > (in "new" devel environment)
> > > > 
> > > > and than I reference the codeserver by 127.0.0.1 like this:
> > > > ...?gwt.codesvr=127.0.0.1:9997
> > > > 
> > > > If you need to connect from outside than something like this:
> > > > make gwt-debug DEBUG_MODULE=webadmin
> > > > DEV_EXTRA_BUILD_FLAGS="-Dgwt.bindAddress=0.0.0.0"
> > > 
> > > Thanks Tomas,
> > > 
> > > tried everything with no luck :(
> > > other ideas maybe?
> > 
> > just some random:
> > - maybe firewall blocks you
> > - maybe an issue of GWT version + browser you are using  - maybe try a
> > different browser/version (I'm using FF23 still and I'm pretty scared to
> > update it :) )
> > - if using chrome you need to explicitly enable the site you are visiting
> > (click the little GWT icon at the end of the browser's address bar and add
> > it)
> > 
> > > 
> > > > 
> > > > Tomas
> > > > 
> > > > ----- Original Message -----
> > > > > From: "Gilad Chaplik" <gchaplik at redhat.com>
> > > > > To: "Vojtech Szocs" <vszocs at redhat.com>, "Tomas Jelinek"
> > > > > <tjelinek at redhat.com>, "Alexander Wels" <awels at redhat.com>
> > > > > Sent: Thursday, April 17, 2014 11:16:43 AM
> > > > > Subject: problem debugging gwt
> > > > > 
> > > > > hi guys,
> > > > > 
> > > > > I'm installing my new T440s, and stumble across nagging issue:
> > > > > getting the following error when I connecting from ide to the remote
> > > > > app:
> > > > > 
> > > > > [ERROR] [AppClassLoader at 4b6e3f87] info register aspect
> > > > > org.ovirt.engine.ui.gwtextension.DontPrune
> > > > > [ERROR] -bindAddress host "0.0.0.0" unknown
> > > > > [ERROR] Google Web Toolkit 2.5.1
> > > > > 
> > > > > tried to add 0.0.0.0 to /etc/hosts (read about it somewhere) with no
> > > > > help,
> > > > > any ideas?
> > > > > 
> > > > > Thanks,
> > > > > Gilad.
> > > > > 
> > > > 
> > > 
> > 
> 



More information about the Devel mailing list