Not able to run GWT Application

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Not able to run GWT Application

Postby rad » Tue Feb 23, 2010 4:05 pm

Hi,
I've Eclipse 3.4 and I've installed GWT Designer and I'm able to create the Login Manager without any issues. Howver when I try to run it as GWT Application, I get the following error on the console:

Port 127.0.0.1:8888 is already is use; you probably still have another session active

When I click on Run as GWT Application, it opens up a GWT Development Mode page with two tabs, Development Mode and Jetty and it has a StartUp URL with default value 'Computing' and after a few seconds, it gives Module Load Failure error
rad
 
Posts: 2
Joined: Tue Feb 23, 2010 3:57 pm

Re: Not able to run GWT Application

Postby Eric Clayberg » Tue Feb 23, 2010 8:04 pm

rad wrote:Port 127.0.0.1:8888 is already is use; you probably still have another session active

Sounds like it was already running and had not been closed yet.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Not able to run GWT Application

Postby rad » Mon Mar 08, 2010 3:22 pm

I'm still facing this issue and I don't see the port in use by anything else. What is the difference between the Run mode and the Test/Preview mode (in design tab). I'm able to run in Test/Preview mode but my rpc calls don't seem to work in this mode.

I'm attaching the screen shot of the error. Any help is greatly appreciated.

Thanks.
GWT1.GIF
Error on running as GWT Application
GWT1.GIF (37.89 KiB) Viewed 1900 times
GWT2.GIF
Error on Jetty tab
GWT2.GIF (30.74 KiB) Viewed 1900 times
rad
 
Posts: 2
Joined: Tue Feb 23, 2010 3:57 pm

Re: Not able to run GWT Application

Postby Eric Clayberg » Mon Mar 08, 2010 4:15 pm

Unfortunately, those screen shots don't mean anything to me. Send a complete test case, if you want us to look into this for you.

Run mode is GWT hosted mode / development mode (design time = false).

Test/Preview is just a quick simulation showing the various widgets in your app and their resizing behavior (design time = true). Your RPC code won't work in this mode and should not be run.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Not able to run GWT Application

Postby gunnar-mobimation » Mon Jan 03, 2011 12:50 am

In case of a Mac (OSX) I found a way to see what process occupies a port by running this command in the console:

lsof | grep ddi-tcp

In my case this returns a line such as:

java 2851 gunnarforsgren 50u IPv6 0x076980e0 0t0 TCP [::127.0.0.1]:ddi-tcp-1 (LISTEN)

In this case by killing process 2851 I can free the port:

kill 2851
gunnar-mobimation
 
Posts: 1
Joined: Mon Jan 03, 2011 12:44 am

Re: Not able to run GWT Application

Postby Eric Clayberg » Mon Jan 03, 2011 5:00 am

Good to know.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest