When you debug an application eclipse will try to connect to it using JDWP.
 The target of the connection is probably something like
localhost:SOME_NUMBER.  I suspect that your machine cannot resolve an
address for localhost.  If you type:

nslookup localhost


at a command prompt, it will probably fail to resolve.  The following Sun
Forum link might be of use:
http://forums.sun.com/thread.jspa?threadID=5138855 .

On Mon, May 18, 2009 at 4:24 PM, sfeinst <[email protected]> wrote:

>
> I installed Eclipse 3.4.2.  I then installed the Eclipse plugin for
> GWT.  I followed the instructions to create my first web app.  When I
> right-click on the web app project and select Run As and then Web
> Application, the GWT Hosted Mode starts and the hosted browser window
> also starts.  Everything seems to work correctly.  But, when I try to
> Debug As Web Application, I get the following errors:
>
> ERROR: transport error 202: gethostbyname: unknown host
> ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT
> (510)
> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> initialized [../../../src/share/back/debugInit.c:690]
> FATAL ERROR in native method: JDWP No transports initialized,
> jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
>
> I saw some notes about firewalls possibly being an issue, but as far
> as I know, there is no local Firewall being run on my machine.
>
> Any ideas on what I can do to get this working?  I have not used
> Eclipse for debugging any kind of web app before so I don't even know
> if this is an Eclipse issue or a GWt plugin issue.
>
> Thanks.
>
> >
>


-- 
Miguel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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