Google Groups

Re: Unable to perform GWT compilation on eclipse


mukarev Mar 5, 2012 8:48 AM
Posted in group: Google Web Toolkit
Hi San,

did you ensure that no other server process is using the port? Have a look at the task manager processes to be sure about this.

Maybe you have another server running for some reason or it's not stopped correctly?

Have a look at your ports with "netstat -a" in your console.

Greetz,
Markus

Am Sonntag, 4. März 2012 03:46:56 UTC+1 schrieb San:
Hi, I am getting below exception during GWT compilation on my eclipse generated sample GWT application. However, I am able to run the same GWT application in GWT development mode without any issues.


Compiling module test.Test
   Compiling 6 permutations
      Creating PermutationWorkerFactory instances
         [ERROR] Unable to create socket
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.bind(ServerSocket.java:286)
at com.google.gwt.dev.ExternalPermutationWorkerFactory.init(ExternalPermutationWorkerFactory.java:383)
at com.google.gwt.dev.PermutationWorkerFactory.createAll(PermutationWorkerFactory.java:314)
at com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:355)
at com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267)
at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:207)
at com.google.gwt.dev.Compiler.run(Compiler.java:242)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)



I confirm that there is no other GWT application is running on my system. I restarted my system, tried to compile the same application and getting the same exception.

Version: eclipse Indigo Service Release 2
Build id: 20120216-1857
GWT Plugin/Version: /eclipse-jee-indigo-SR2-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201201120043-rel-r37/gwt-2.4.0 

OS: Windows 7 64-bit

If you could advise me to solve this issue that would be great.

Thanks
San