Questions tagged [primepush]

PrimePush is a server-push framework for the PrimeFaces JSF component suite.

21 questions
6
votes
1 answer

Is it ok to have multiple primefaces socket tag on a page

Is it fine to have multiple tags with different channel on a page, for me it never worked. Is it a good use of prime push, Or is there any alternative to receive server push messages from multiple channels on a page. Here is piece of sample code…
Amit P
  • 467
  • 6
  • 20
4
votes
2 answers

NullPointerException when using PrimePush

When I try to initialize my eventBus I'm getting a NullPointerException: java.lang.NullPointerException at de.mrsfinster.web.livefeed.bean.FeedBean.init(FeedBean.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at …
acidowl
  • 103
  • 1
  • 10
4
votes
0 answers

(PrimePush) com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes

I am new to PrimePush and want to try it out. I followed this tutorial However, when I run the register.xhtml file, I hit the error of com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource…
Lin
  • 736
  • 1
  • 8
  • 20
2
votes
1 answer

NullPointerException when using PrimePush EventBus - Primefaces 6.0

When I tried send a EventBus like showed below: public void send() { EventBus eventBus = EventBusFactory.getDefault().eventBus(); eventBus.publish(CHANNEL, new FacesMessage(StringEscapeUtils.escapeHtml4(summary), …
John Mendes
  • 781
  • 3
  • 9
  • 18
2
votes
0 answers

Primepush + Wildfly not work. Atmosphere can not find annotated classes

I'm using next configuration: Application Server - Wildfly 9.0 Primefaces 5.1 RC1, Atmosphere 2.2.2 - added as modules (all dependencies were added). I've stopped on this configuration, because any other is falling down with heap of errors. I'm…
astrofed
  • 21
  • 4
2
votes
0 answers

PrimePush not received from client but no errors

I have successfully configured my webapp with PrimePush, which builds & deploys with no errors. When I attempt to 'push' from my backing bean, I do not get any errors however my client, from what I can tell, never receives it. My setup:…
Stu Whyte
  • 758
  • 5
  • 19
2
votes
2 answers

PrimePush counter implementation

I am trying to implement prime push counter in my project. I am using PrimeFaces3.5, Jboss7.0 and Eclipse Indigo version. I have added jars related to prime…
2
votes
1 answer

primepush on Tomcat 7 not working

I am new to primepush and have a question. The whole project is based on maven and the server is Tomcat 7.0.27, so I add the dependence into pom.xml file as following: org.atmosphere
hyd198471
  • 105
  • 2
  • 10
2
votes
1 answer

PrimePush chat is not working

my target is on page load to subscribe two users in chat (teacher and student), and they can send messages to each others, so here's what i did: 1- BackingBean: package com.myapp.beans; import org.primefaces.context.RequestContext; import…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
1
vote
1 answer

Is the PrimeFaces socket supposed to append every connection to the URL?

I'm running the latest PrimeFaces showcase demo on GlassFish 4 and I'm running into the problem where every time the socket.connect("/user") is called, "/user" is simply being appended to the exiting…
gordon m
  • 11
  • 2
1
vote
0 answers

Using Primefaces Push to Update Datatable

I'm trying to update a datatable after a row is added using primepush. Meaning, I want user1 to update the datatable and user2 should see the added row without refreshing the page. My Primefaces version is 5.2 and Atmosphere runtime version is…
tankucukoglu
  • 455
  • 6
  • 20
1
vote
1 answer

PrimeFaces Push 5.0 with Wildfly 8.1 not working

I'm planning to start using PrimeFaces Push coming with PrimeFaces 5.0. I've tried to run the same example found here http://www.primefaces.org/showcase/push/notify.xhtml using Wildfly 8.1 but I can't receive any push message from backend…
A. Shaheen
  • 105
  • 13
1
vote
0 answers

nullpointerexception in primepush mobile chat

I am very new to PrimeFaces mobile. I am developing a mobile chat example application with PrimePush technology. I am using…
1
vote
0 answers

how to share data between jsf bean and restful resource bean?

Using JBoss 7.1.1.Final and running a very basic restful web service. I have a linux dream plug box running a node js http client that connects to the web service at port 8080. It sends a request and gets back JSON data from the webservice just…
zoroloco
  • 51
  • 3
0
votes
0 answers

p:push with Apache 24 and AJP

I got issue on primefaces push in my Tomcat with Apache 24. Below is the error shown : java.lang.UnsupportedOperationException: HTTP upgrade is not supported by the AJP protocol Belows is the error in the web chrome console WebSocket connection to…
leafy
  • 156
  • 1
  • 8
1
2