Are you sure you're getting a 404 error?
If you are, your PC is connecting to your server without any problems, but there is a problem with your jBoss setup (I would guess that it's not set up to respond to requests on the main domain, just the www 'subdomain'.)
Did you hire somebody to write the jBoss for you? If so, it's probably best to speak to them about the problem.