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.

4 comments:

Shashi said...

Thanks. Start Jboss. then itunes, then it never acquire the port no 1099

longge said...

http://uggloveshoes.vox.com/
http://uggshoe.vox.com/
http://uggloveshoes.webs.com/apps/blog/
http://warmugg.webs.com/apps/blog/
http://uggloveshoes.weebly.com/
http://ugggg.weebly.com/
http://uggloveshoes.wordpress.com/
http://uggloveboots.wordpress.com/
http://pulse.yahoo.com/_AYKQMFYOZ26I3OTTDFMBU4QBDQ/blog/
http://pulse.yahoo.com/_RDDQ2DFI4RDOV4Y2L47DLPM6C4/blog/

longge said...

http://uggloveshoes.vox.com/
http://uggshoe.vox.com/
http://uggloveshoes.webs.com/apps/blog/
http://warmugg.webs.com/apps/blog/
http://uggloveshoes.weebly.com/
http://ugggg.weebly.com/
http://uggloveshoes.wordpress.com/
http://uggloveboots.wordpress.com/
http://pulse.yahoo.com/_AYKQMFYOZ26I3OTTDFMBU4QBDQ/blog/
http://pulse.yahoo.com/_RDDQ2DFI4RDOV4Y2L47DLPM6C4/blog/

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/