Hi all,

I've got the following errors when running the development mode code
server as described in this tutorial: 
http://code.google.com/webtoolkit/doc/latest/tutorial/create.html,
either using eclipse or webAppcreator ant.

When using Eclipse, the following message is displayed in the
console :
"Could not connect to remote UI listening at localhost:52134. Using
default UI instead."
The GWT development Mode window is displayed. According to the Web
Server tab, AppEngine seems to be started. The Development mode tab
shows a Communications error -- exception SocketException the detailed
trace is :

java.net.SocketException: Invalid argument
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.bind(ServerSocket.java:277)
  at
com.google.gwt.dev.shell.BrowserListener.<init>(BrowserListener.java:
67)
  at
com.google.gwt.dev.DevModeBase.ensureCodeServerListener(DevModeBase.java:
898)
  at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:888)
  at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1030)
  at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783)
  at com.google.gwt.dev.DevMode.main(DevMode.java:275)


When using webAppCreator (from the GWT eclipse plugin installation
folder) and then "ant devmode" to test, I've got:
devmode:
     [java] Unable to start embedded HTTP server
     [java] java.net.SocketException: Invalid argument
     [java]     at sun.nio.ch.Net.bind(Native Method)
     [java]     at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
119)
     [java]     at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:
59)
     [java]     at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:
205)
     [java]     at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:
304)
     [java]     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
39)
     [java]     at org.mortbay.jetty.Server.doStart(Server.java:
233)
     [java]     at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
39)
     [java]     at
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:
543)
     [java]     at
com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:
421)
     [java]     at
com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:
1035)
     [java]     at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:
783)
     [java]     at com.google.gwt.dev.DevMode.main(DevMode.java:275)

Do you have an idea where these errors come from ?

My environment:
* Eclipse Galileo 3.5.2 with Java EE IDE Feature 1.2.2
* Google App Engine Java SDK 1.3.1
* Google Plugin for Eclipse 1.3.1
* Google Web Toolkit SDK 2.0.3
* Debian Testing amd64, Linux 2.6.32
* Java version "1.6.0_16" (Java HotSpot(TM) 64-Bit Server VM (build
14.2-b01, mixed mode))
* Apache Ant version 1.8.0

Thanks !

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

Reply via email to