I'm working on prime faces. I've started primefaces push. Now when I attempt to publish some data to channels, got no answer showing it's working! After some googling, found that it might need a separate webapp from jsf webapp: primefaces push server config
Also I've noticed that in PF users guide mentioned about proxies and use of primefaces.PUSH_SERVER_URL; so set this param in web.xml to "http://localhost:8080"
; because before setting this param browser said that can't stablish a connection to push server(Error 404)!
I write some examples and also used primefaces show case. but facing the problem:
The connection to ws://localhost:8080//Chat-App/primepush/public;jsessionid=41A411605908EAD0B1C3EB353856AF4D/public/*?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.2.0-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&X-atmo-protocol=true was interrupted while the page was loading.
I guess there is some problems with tomcat itself(I mean configurations). I'd like to know if it's needed to create and config a new web app. if so how? if not what am I doing wrong?
Apache Tomcat 7.0.34 + primefaces 5.0 + atmosphere-runtime 2.2.3