PF Push counter/chat
Push examples ( chat/counter) is working at examples but when i test them to my site aren't working ...;/ can you tell me what can i do whrong ?
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You need to setup pushserver via context param in web.xml, one easy way to setup is using online one.
Code: Select all
ws://www.primefaces.org:9090/prime-pushserver
I tested it to ..but i will test it to again thanks i will post if works
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
<context-param>
<param-name>primefaces.PUSH_SERVER</param-name>
<param-value>ws://www.primefaces.org:9090/prime-pushserver</param-value>
</context-param>
i write this on web.xml and again doesn't work ;/ i tested with all scopes on controller ( application , view , request ) doesnt work ;/ i have the save state to server , i tested with client too , isnt working too ;/
<param-name>primefaces.PUSH_SERVER</param-name>
<param-value>ws://www.primefaces.org:9090/prime-pushserver</param-value>
</context-param>
i write this on web.xml and again doesn't work ;/ i tested with all scopes on controller ( application , view , request ) doesnt work ;/ i have the save state to server , i tested with client too , isnt working too ;/
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Sorry can't help more, same setup works for me.
Hi kataras,
Are you sure your browser support WebSocket? You nothing told about your browser. Check it at first online here http://websocketstest.com/
Are you sure your browser support WebSocket? You nothing told about your browser. Check it at first online here http://websocketstest.com/
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
yeah i made the test , firefox is ok with ws , http://websocketstest.com/result/142406 .
hmmm ... the push is working for u .?
look my web.xml :
http://pastebin.com/nbxA0bcC
look my index.xhtml :
http://pastebin.com/xdNc2crz
look my GloabalCounter.java controller :
http://pastebin.com/RGjd0RPj
IDE: NETBEANS 7.0.1
BROWSER : FIREFOX 6.0.2
WEBSERVER : APACHE TOMCAT 7.0.19
PRIMEFACES VERSION : 22/09/2011 RC1
hmmm ... the push is working for u .?
look my web.xml :
http://pastebin.com/nbxA0bcC
look my index.xhtml :
http://pastebin.com/xdNc2crz
look my GloabalCounter.java controller :
http://pastebin.com/RGjd0RPj
IDE: NETBEANS 7.0.1
BROWSER : FIREFOX 6.0.2
WEBSERVER : APACHE TOMCAT 7.0.19
PRIMEFACES VERSION : 22/09/2011 RC1
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
can't help me ? i realy need it ;/
can you help me with teamviewer (remote desktop) or something like this ?
can you help me with teamviewer (remote desktop) or something like this ?
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
OUF I DID IT it works !!
leader , optimus , you tell me whrong info :p
the web.xml is :
<context-param>
<param-name>primefaces.PUSH_SERVER_URL</param-name>
<param-value>ws://www.primefaces.org:9090/prime-pushserver</param-value>
</context-param>
i searched and found on : http://code.google.com/p/primefaces/sou ... 469&r=5469
. but thanks you for your help ! very good work !
But now i have to learn web services on java too ( i knew on C# soap .. ) here is ws .. i will learn and i am thanking u again
leader , optimus , you tell me whrong info :p
the web.xml is :
<context-param>
<param-name>primefaces.PUSH_SERVER_URL</param-name>
<param-value>ws://www.primefaces.org:9090/prime-pushserver</param-value>
</context-param>
i searched and found on : http://code.google.com/p/primefaces/sou ... 469&r=5469
. but thanks you for your help ! very good work !
But now i have to learn web services on java too ( i knew on C# soap .. ) here is ws .. i will learn and i am thanking u again
PrimeFaces 3.0 RC1 version . Netbeans 7.0.1 . Apache Tomcat 7.0.22 . Firefox 7.0.1 & Google Chrome ,
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
Mandriva 2011 & Windows Home Server 2011 & Windows 8 Developer Preview .
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
websocket has nothing to do with soap and else. SOAP exists in java too
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests