I have an issue with JBoss running as a service. We use JBoss 4.2. Registered it as a Windows service using following
JBossService.exe -install JBoss422 "C:\Program Files\Java\jdk1.6.0_16\jre\bin\server\jvm.dll" -Djava.class.path="C:\Program
Files\Java\jdk1.6.0_16\lib\tools.jar;C:\jboss-4.2.2\bin\run.jar" -Xms768m -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=128m -
start org.jboss.Main -params -b 0.0.0.0 -stop org.jboss.Main -method systemExit -out C:\jboss-4.2.2\bin\stdout.log -err C:
\jboss-4.2.2\bin\stderr.log -current C:\jboss-4.2.2\bin
Now, this has been running fine for couple of years but we cannot get to our applications hosted on this server since last
couple of days.
We can open our web applications from the server itself using http://localhost but when we try from another computer using IP
Address, it says time out.
Now, there is one more thing. If I stop the service and run the run.bat file from bin folder, I can get to my applications
both from the server as well as from other computers using the IP address.
Not sure what's going on. Any help or suggestions are greatly appreciated.
Sounds like that the start options are not correct.
Do you see a difference if you check the open connections for both via netstat?