primepush

Primefaces 5.3 push fails on GlassFish 4.1

落花浮王杯 提交于 2019-12-25 11:35:17
问题 My web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp

Primefaces 5.3 push fails on GlassFish 4.1

谁说我不能喝 提交于 2019-12-25 11:34:18
问题 My web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp

primepush on Tomcat 7 not working

落花浮王杯 提交于 2019-12-13 16:58:08
问题 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: <dependency> <groupId>org.atmosphere</groupId> <artifactId>atmosphere-runtime</artifactId> <version>1.0.1</version> </dependency> <dependency> <groupId>org.atmosphere</groupId> <artifactId>atmosphere-annotations</artifactId> <version>1.0.1</version> </dependency> The web.xml is like following: <servlet> <servlet-name>Push

PrimePush ClassNotFoundException

若如初见. 提交于 2019-12-13 06:08:23
问题 I have been trying to get PrimePush working on my web application that runs on Tomcat 7. I have spent the whole day searching threads and StackOverFlow but have not yet came across a solution! Some of these include, this and this aswell as several others! Any help would be appreciated! I followed the PrimeFaces User Guide on setting up PrimePush. My setup is Tomcat7, PrimeFaces 3.5, Atmosphere 1.0.0.RC1 , GlassFish 2.1.17 / WEB 2.2. As such, I have the following dependencies; <dependency>

NullPointerException when using PrimePush [duplicate]

被刻印的时光 ゝ 提交于 2019-11-28 08:34:50
问题 This question already has answers here : What is a NullPointerException, and how do I fix it? (12 answers) Closed 2 years ago . 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 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at