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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -