When I deployed the web application using GlassFish 2.1 on my laptop with the “listener port” of http-listener-2 changed to 443, I can access my servlet with the URL: https://localhost/. However, when I uploaded the web app to SJSAS 9.1 and made the same change to http-listener-2, I cannot access my servlet with the URL: https://mydomain.com/.
To be more precise, when I tried to go to https://mydomain.com/, my browser still could receive the certificate from the app server but after I accepted the certificate, the page appeared to be blank. When I took a look at the server.log, it seems to me that my online servlet didn’t receive any requests.
I’d be very grateful if someone could give me an advice on how I should tackle this problem.
Best regards,
James Tran
After struggling with the problem for a while, I found out that I had to restart the app server for the changes to the http listener become effective. Everything works fine now! =]