Problem with Primefaces running glassfish

2

I'm developing a Java Web application using Primefaces to run on the GlassFish server on a Windows Server 2008 server. When I run on my notebook as localhost it works perfectly. So I deploy to the remote server (Windows Server) all correctly. The problem is when my machine or any other try to access and nothing happens, nor error. If I login as localhost on windows server it also works normal. I also ran some tests with jsp pages on that remote server and it worked.

Can anyone tell me if there are any settings on the glassfish server to configure?

    
asked by anonymous 26.07.2014 / 06:19

1 answer

1

Pedro, your problem, by the description, has nothing to do with PrimeFaces (as you said, locally accessing everything works). With the default settings of GlassFish you should be able to access the server remotely without problems. Unfortunately, it is not possible to make an accurate diagnosis without further information. Even so, here are some suggestions:

  • Check firewall settings, see if port 8080 (or the port you set up) is open and authorized for GlassFish (this is a problem most of the time).
  • If you use a proxy , check that it is not interfering (ie check that your browser is actually reaching the server).
  • Verify that you can ping the server.
  • Check the listeners . In the Admin Console of GlassFish check the settings in Configurations > server-config > HTTP Service > HTTP Listeners > ; the listeners http-listener-1 and http-listener-2 should be listening on 0.0.0.0 or server address.
26.07.2014 / 06:47