Problem with Primefaces running glassfish

Asked

Viewed 245 times

2

I am developing a Java Web application using Primefaces to run on the Glassfish server on a Windows Server 2008. When running on my notebook as localhost works perfectly. Then I deploy on the remote server (Windows Server) all correctly. The problem is when my machine or any other I try to access and nothing happens, no mistake. If I access as localhost on windows server also works normal. I also performed some tests with jsp pages on this remote server and it worked.

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

1 answer

1


Pedro, your problem, by description, has nothing to do with Primefaces (as you said, accessing locally everything works). With Glassfish default settings 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, follow some suggestions:

  • Check settings of firewall, see if the 8080 port (or the port you set up) is open and authorized for Glassfish (this is the problem most of the time).
  • If you use a proxy, check that it is not interfering (ie, check that your browser is actually coming to the server).
  • Make sure you can drip the server.
  • Check the listeners. In the Admin Console Glassfish check the settings on Configurations > server-config > HTTP Service > HTTP Listeners >; the listeners http-listener-1 and http-listener-2 must be listening in 0.0.0.0 or at the server address.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.