Didn't look in details but fear atmosphere design should be adapted.
Here a pointer to discuss with JF Arcand maybe tomee scanning doesn't
reuse tomcat scanning cache (so a ServletContainerInitializer is
needed).

Last point IIRC there is a tomcat integration: did you add it?


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-08-17 19:12 GMT+02:00 Karl Kildén <[email protected]>:
> 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