PrimeFaces 4.0 Push is no longer working for me while using Tomcat 7.0.42 (TomEE 1.6.0 snapshot).
PrimeFaces 4.0.RC1 Push works fine with Atmosphere (runtime) 2.0.0, and I experienced a few errors with Atmosphere 2.0.1.
I see no error messages when using PrimeFaces 4.0 Push. anyone else seeing this behavior on Glassfish 3.1.2.2 or Glassfish 4.0, jboss, or other containers?
I think there were a few changes to PrimeFaces Push between PrimeFaces 4.0.RC1 and PrimeFaces 4.0 release, and now it is not working for me. I tried to change my PrimeFaces Push config in web.xml and tried to use Atmosphere 2.0.0, 2.0.1, and 2.0.2 snapshot, but PrimeFaces 4.0.RC1 does not work...anymore.
PrimeFaces 4.0 Push not working; need Atmosphere 2.0.2
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Last edited by smithh032772 on 06 Nov 2013, 06:25, edited 2 times in total.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Jeanfrancois upgraded to atmosphere 2.0.1 - the JS and the java dependency.
Maybe you can ask him.
Maybe you can ask him.
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
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Yes. We are discussing at URL below.
https://groups.google.com/forum/?fromgr ... XIWNu5Wu-w
The conversation discusses one exception and then we start discussing PrimeFaces 4.0 Push.
https://groups.google.com/forum/?fromgr ... XIWNu5Wu-w
The conversation discusses one exception and then we start discussing PrimeFaces 4.0 Push.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
I can't (yet) test with JBoss, but at least the showcase counter/FacesMessage examples are not working. I tested with Firefox 23.0.1 on OS X 10.8.4. There were no errors in browser console, developer tools show that POST requests were submitted but there were no FacesMessages and counter didn't increment.
But if I refresh the page, then the counter shows right number.
But if I refresh the page, then the counter shows right number.
PrimeNG 2.0.0
Angular 2.4.5
Angular 2.4.5
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Correct. That is what I experienced and those were my test results, too, for/with Chrome.
Of course, ajax post from client to server, is working (to update value on server), but server push to client, is broke (some regression , somewhere).
That is why browser refresh showed the updated counter value, which did an http get, and referenced bean getter method.
Of course, ajax post from client to server, is working (to update value on server), but server push to client, is broke (some regression , somewhere).
That is why browser refresh showed the updated counter value, which did an http get, and referenced bean getter method.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Confirmed,jfarcand wrote:Use Atmosphere 2.0.2 with PF 4.0. Previous version of Atmosphere won't work.
-- Jeanfrancois
atmosphere-runtime-2.0.2-20131004.133732-13.jar
works with PrimeFaces 4.0. Thanks!
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
really? interesting!rikup wrote:Funny, it seemed to work fine with JBoss AS 7.2
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
If this is the case the documentation seems to suggest using 2.0.1. From the Push chapter in the PDF doc:jfarcand wrote:Use Atmosphere 2.0.2 with PF 4.0. Previous version of Atmosphere won't work.
-- Jeanfrancois
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>2.0.1</version>
</dependency>
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 29 guests