Okay..
Created Issue - https://code.google.com/p/primefaces/is ... il?id=6834
Regards
PF5 RC1 - Push Showcase chat - EventBusFactory NPE..
Hi JF.. Are you planning to wrap this by PF 5 Final (this week). Just thinking to wait for this fix or try the Atmosphere Spring class injection option that you have mentioned in the link.
priyaesh
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
Oh is it ? I didnt understand what he refers to FCS..
https://github.com/Atmosphere/atmospher ... -Injection
So then I will post the group after testing the option provided in the below and let you guys know..jfarcand wrote:@priyaesh Please file an issue, I will make sure it works properly with Spring in 5.0 FCS
https://github.com/Atmosphere/atmospher ... -Injection
priyaesh
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
+1 yes, do that, please.priyaesh wrote:So then I will post the group after testing the option provided in the below and let you guys know..
https://github.com/Atmosphere/atmospher ... -Injection
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
Please note that the subject of this discussion topic is changed.
Okay.. Just wanted to update you (those who have this issue can benefit by following) on the latest development around the issue of unable to run basic PF push example counter & chat example in our application (CDI inject instead of ManagedBean).
https://code.google.com/p/primefaces/is ... %20Summary
The alternate (latest) option provided in url (https://github.com/Atmosphere/atmospher ... -Injection) didn't worked and JF (Atmosphere lead) would be helping to solve it.
The current error that we face is below.
WARN o.a.c.AtmosphereFramework.info No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
ERROR o.p.p.PushServlet.configureFramework No Annotated class using @PushEndpoint found. Push will not work.
If any one have this scenario or facing this issue, please wait for some time.
Okay.. Just wanted to update you (those who have this issue can benefit by following) on the latest development around the issue of unable to run basic PF push example counter & chat example in our application (CDI inject instead of ManagedBean).
https://code.google.com/p/primefaces/is ... %20Summary
The alternate (latest) option provided in url (https://github.com/Atmosphere/atmospher ... -Injection) didn't worked and JF (Atmosphere lead) would be helping to solve it.
The current error that we face is below.
WARN o.a.c.AtmosphereFramework.info No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
ERROR o.p.p.PushServlet.configureFramework No Annotated class using @PushEndpoint found. Push will not work.
If any one have this scenario or facing this issue, please wait for some time.
priyaesh
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
Primefaces 4, JSF 2.1, Spring 3.2, SpringSecurity 3, JPA 2.0, Tomcat 7
Hi Guys, this is all I did in my web.xml. I added this to it.
Pros
It eliminated the NEP at EventBusFactory and the chat app ran
Cons
.1st. It did not log me in when i clicked Login button
.2nd. It gave rise to another error again
ChatUser:43
ChatView;108
I hope this sheds some light.
Code: Select all
<servlet>
<servlet-name>Push Servlet</servlet-name>
<servlet-class>org.primefaces.push.PushServlet</servlet-class>
<init-param>
<param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name>
<param-value>org.atmosphere.cache.UUIDBroadcasterCache</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
<async-supported>true</async-supported>
</servlet>
It eliminated the NEP at EventBusFactory and the chat app ran
Cons
.1st. It did not log me in when i clicked Login button
.2nd. It gave rise to another error again
Code: Select all
evere: java.lang.NullPointerException
at kchat.ChatUsers.contains(ChatUsers.java:43)
at kchat.ChatView.login(ChatView.java:108)
Code: Select all
return this.users.contains(user);
Code: Select all
if(users.contains(username)) {...}
Primefaces 6.0 | Glassfish 4.1 | JSF 2.1 |Chrome 58.0
MySQL | Netbeans 8.0.2 |JavaEE | Atmosphere 2.4.2 |
Firefox 53.0.2
MySQL | Netbeans 8.0.2 |JavaEE | Atmosphere 2.4.2 |
Firefox 53.0.2
Thanks "bademba" so much!bademba wrote:Hi Guys, this is all I did in my web.xml. I added this to it.ProsCode: Select all
<servlet> <servlet-name>Push Servlet</servlet-name> <servlet-class>org.primefaces.push.PushServlet</servlet-class> <init-param> <param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name> <param-value>org.atmosphere.cache.UUIDBroadcasterCache</param-value> </init-param> <load-on-startup>1</load-on-startup> <async-supported>true</async-supported> </servlet>
It eliminated the NEP at EventBusFactory and the chat app ran
Cons
.1st. It did not log me in when i clicked Login button
.2nd. It gave rise to another error againChatUser:43Code: Select all
evere: java.lang.NullPointerException at kchat.ChatUsers.contains(ChatUsers.java:43) at kchat.ChatView.login(ChatView.java:108)
ChatView;108Code: Select all
return this.users.contains(user);
I hope this sheds some light.Code: Select all
if(users.contains(username)) {...}
Good boy. i was fix it 2 days, but it didnt work. i dont think it so easy -> Just coppy and paste to web.xml.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 42 guests