Unable to perform GWT compilation on eclipse

174 views
Skip to first unread message

San

unread,
Mar 3, 2012, 9:46:56 PM3/3/12
to google-we...@googlegroups.com
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

mukarev

unread,
Mar 5, 2012, 11:48:06 AM3/5/12
to google-we...@googlegroups.com
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

Saravanan Vijayappan

unread,
Mar 6, 2012, 12:00:39 AM3/6/12
to google-we...@googlegroups.com
Thanks for your reply. "nestat -a" command resulted me below  127.0.0.1 server ports. Do you know which port number is needed during GWT compilation?

  TCP    127.0.0.1:843          User-ADMIN:0           LISTENING
  TCP    127.0.0.1:4664         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:6498         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:6499         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:49257        User-ADMIN:0           LISTENING
  TCP    127.0.0.1:49355        plugin:49356           ESTABLISHED
  TCP    127.0.0.1:49356        plugin:49355           ESTABLISHED
  TCP    127.0.0.1:49357        plugin:49358           ESTABLISHED
  TCP    127.0.0.1:49358        plugin:49357           ESTABLISHED
  TCP    127.0.0.1:49359        plugin:49360           ESTABLISHED
  TCP    127.0.0.1:49360        plugin:49359           ESTABLISHED
  TCP    127.0.0.1:49920        plugin:49921           ESTABLISHED
  TCP    127.0.0.1:49921        plugin:49920           ESTABLISHED
  TCP    127.0.0.1:49922        plugin:49923           ESTABLISHED
  TCP    127.0.0.1:49923        plugin:49922           ESTABLISHED

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/49zg3hrB7aAJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

San

unread,
Mar 6, 2012, 12:02:04 AM3/6/12
to google-we...@googlegroups.com
Thanks for your reply. "nestat -a" command resulted me below  127.0.0.1 server ports. Do you know which port number is needed during GWT compilation?

  TCP    127.0.0.1:843          User-ADMIN:0           LISTENING
  TCP    127.0.0.1:4664         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:6498         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:6499         User-ADMIN:0           LISTENING
  TCP    127.0.0.1:49257        User-ADMIN:0           LISTENING
  TCP    127.0.0.1:49355        plugin:49356           ESTABLISHED
  TCP    127.0.0.1:49356        plugin:49355           ESTABLISHED
  TCP    127.0.0.1:49357        plugin:49358           ESTABLISHED
  TCP    127.0.0.1:49358        plugin:49357           ESTABLISHED
  TCP    127.0.0.1:49359        plugin:49360           ESTABLISHED
  TCP    127.0.0.1:49360        plugin:49359           ESTABLISHED
  TCP    127.0.0.1:49920        plugin:49921           ESTABLISHED
  TCP    127.0.0.1:49921        plugin:49920           ESTABLISHED
  TCP    127.0.0.1:49922        plugin:49923           ESTABLISHED
  TCP    127.0.0.1:49923        plugin:49922           ESTABLISHED

Reply all
Reply to author
Forward
0 new messages