Ok, when jboss boots it needs port 1098 and 1099 to boot successfully but anything above 1024 is used for dynamic port in TCP/IP application. It only by random chance you can successful boot JBoss on a reboot. It seems to be a design problem in my opinion. Trying to get JBoss to run as service works if you having nothing running the box. Btw, alg.exe and oracle.exe can randomly take these ports after a reboot. You can just restart oracle but alg.exe is very dangerous to reboot. What is the current thinking for this problem?
correctly set up your system to reserve those ports, so they're not handed out to just anyone.