PrimeFaces 5.1 requires Atmosphere 2.2.x

UI Components for JSF
Post Reply
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

23 Sep 2014, 19:36

When I first tried PrimeFaces 5.1 Push with Atmosphere 2.1.8,

Code: Select all

Sep 22, 2014 6:22:24 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere is using async support: org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket running under container: Apache Tomcat (TomEE)/7.0.55 (1.7.1) using javax.servlet/3.0
Sep 22, 2014 6:22:24 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere Framework 2.1.8 started.
I got the following error in the server log file:

Code: Select all

Sep 22, 2014 6:23:34 PM org.atmosphere.websocket.DefaultWebSocketProcessor dispatch
WARNING: Failed invoking AtmosphereFramework.doCometSupport()
java.lang.NoSuchMethodError: org.atmosphere.util.IOUtils.readEntirely(Lorg/atmosphere/cpr/AtmosphereResource;)Ljava/lang/Object;
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onRequest(PushEndpointHandlerProxy.java:150)
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:187)
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:98)
	at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154)
	at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62)
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1818)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:434)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:187)
	at org.atmosphere.container.TomcatWebSocketHandler.onOpen(TomcatWebSocketHandler.java:69)
	at org.apache.catalina.websocket.StreamInbound.onUpgradeComplete(StreamInbound.java:251)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:646)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
When I added Atmosphere runtime 2.2.1, then I did not see this error any more.

Also, see the following:

Re: [ANN] 2.2.1 released; PrimeFaces 5.1RC1 Push errors
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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 59 guests