I use JBoss 4.0.3SP1. With Windows Firewall turned on, i run into the same problem. (Port 1098 already in use by alg.exe).
In my case, i turned windows firewall off.
Ideally, i would like to configure my jboss to work with the firewall. I briefly looked at this http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall.This refers to conf/jboss-service.xml. OTOH, in 4.0.3SP1 the RmiPort seems to live in deploy/naming-service.xml.
Is there an updated wiki page with the files to touch for 4.0.3SP1? [/url]
Im running to similar problems also. Im using JBOSS-4.0.4.GA that came up along with NetBeans 5.5 Beta 2 JBOSS Bundle..
Has anyone here overcome this problem? I sometime solve this problem by using the "run.bat -b 182.xxx.x.xxx" but what about running the JBOSS server in NetBeans? it produce an error, is there a way I can bind the port in NetBeans 5.5 Beta 2 JBOSS Bundle?
Its looks like the port is cached somewhere. A firewall maybe.. some suggest to disable the firwall. But it's risky.
Hope for a kind reply :)
Thankz
The solution to this problem is: setup the local machine IP into .bat installer of JBoss service. If you setup other IP into installer, JBoss can´t start correctly.(siegfried4110@hotmail.com)