I am working on jboss 5.0. It was working pretty fine but some one started an another Jboss 4.0 that was also in the system and started an application on it. I closed down the 4.0 through kill -9 and then started my own jboss 5.0. This happened quite a few times. yesterday I started jboss 5 again and now jboss server log says : java.rmi.ConnectException: Connection refused to host:myMachine ; nested exception is:java.net.ConnectException: Connection timed out at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
It was working fine. When the jboss 4 was up i was able to access the jboss page so its not a network issue. I am able to ssh to that machine as well. Its just this jboss 5.0 that when ever i start after ten minutes it just says this. This Jboss was also configured to start some services and they are not starting as well. It just says that connection refused to this host.
I have changed all the ports in jboss 5 (in bindings.xml and server.xml) so its doesnot work on 8080 and the old rmi port..
Please I need help on this desperately and have done much to make this work.
Thanks in advance.
Which exact version of JBoss AS-5? And where do you see that exception? On client side? Or on server? Post the entire exception stacktrace. Does it happen when you are performing some operation? If yes, then please provide the details.