iTunes blocks JBoss naming service port

Today I had problems with Eclipse and JBoss. Somehow Eclipse couldn't detect that JBoss had started and aborted the process after 420 seconds and i noticed the exception in the log.

2000-06-03 80:23:11,220 ERROR [Naming] Could not start on port 1099
java.net.BindException: Address already in use: JVM_Bind



After a quick check with Active Ports i saw that iTunesHelper.exe held the port. And when the process got killed, Eclipse started working as expected again. 1099 might have been assigned to iTunesHelper since it's inside Windows' ephemeral port range. Just to be sure this doesn't happens again I removed the auto start of iTunesHelper from the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\iTunesHelper 



And adjusted Windows' ephemeral port range so that some other service doesn't grab the port. There's a great guide over at ncftp.com on how you do this for different operating systems.

Comments

Shashi said…
Thanks. Start Jboss. then itunes, then it never acquire the port no 1099
123 said…
http://remind.com.br/projetos/criar-blog-gratis/replicahandbags69/
http://remind.com.br/projetos/criar-blog-gratis/ureplicawatches/
http://remind.com.br/projetos/criar-blog-gratis/ureplicawatches1987/
http://replbags.livejournal.com/
http://replcawatche.livejournal.com/
http://repldbags.livejournal.com/
http://replica69bags.insanejournal.com/
http://replicabag242.livejournal.com/
http://replicacheap.21classes.com/weblogCategory/1951uut1lrg4t
http://replicacheap.ayubd.com/

Popular posts from this blog

jQuery floating table header plugin

Cubing for charity #4

KB927917