Hello,

Running various versions of TomEE with Primefaces 5 all results in this
problem: ERROR  org.primefaces.push.PushServlet: No Annotated class using
@PushEndpoint found. Push will not work.

Full boot log is here:
https://gist.github.com/karlkilden/5b7c1dfe7ba5e5c2bd99

I tried various configurations of Primepush and I had it working with
primefaces 4. I also tried various versions of the atmosphere runtime.
Anyone using this that would care to share configuration? I will try to get
a minimal demo app together soon.

This is what I tried most recently:

        <dependency>
            <groupId>org.atmosphere</groupId>
            <artifactId>atmosphere-runtime</artifactId>
            <version>2.1.8</version>
        </dependency>


    <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>
        <init-param>
            <param-name>org.atmosphere.annotation.packages</param-name>
            <param-value>org.primefaces.push</param-value>
        </init-param>
        <init-param>
            <param-name>org.atmosphere.cpr.packages</param-name>
            <param-value>com.kildeen.ref</param-value>
        </init-param>
        <async-supported>true</async-supported>
    </servlet>

    <servlet-mapping>
        <servlet-name>Push Servlet</servlet-name>
        <url-pattern>/primepush/*</url-pattern>
    </servlet-mapping>



cheers

Reply via email to