I made a servlet that load on server startup and accept socket connections through an applet.
Problem is that this works fine in Tomcat but in Jboss this is not working. Applet shows Connection refused exception.
To my mind, This can happen for two reasons. First Jboss does not allow socket connection as i have done nothing in jBoss configuration for socket connections. Second servlet does not load on Jboss start up. For this I am using same web.xml which i use in tomcat.