jsf - Primefaces Push not work after deploy but work after restart glassfish 4.1 -



jsf - Primefaces Push not work after deploy but work after restart glassfish 4.1 -

i have jsf project uses primefaces push. when bundle war file , deploy glassfish 4.1, force desn't work,

<p:socket onmessage="handlemessage" channel="/mychannel" />

there chart page , when other event occurs, below code runs.

eventbus eventbus = eventbusfactory.getdefault().eventbus(); eventbus.publish("/mychannel", map);

the expected updating chart info map's data.

above code runs expected if restart server after deployment. if redeploy or (undeploy , deploy) project. chart not updated eventbus anymore.

comet back upwards , websocket back upwards enabled on glassfish.

any idea?

jsf primefaces glassfish push primefaces-push

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -