Error on Start a Idempiere Server after materialized a new workspace.

160 views
Skip to first unread message

Tiago Ferreira Ceridorio

unread,
May 17, 2017, 4:02:53 PM5/17/17
to iDempiere
Hi,
I have a problem when materialize a new workspace and try to start a Idempiere Server because a wrong version of the atmosphere jar.
See the error below when I try to start the server.

16:33:52.688-----------> DefaultAsyncSupportResolver.newCometSupport: Failed to create AsyncSupport class: class org.atmosphere.container.Jetty9AsyncSupportWithWebSocket, error: java.lang.reflect.InvocationTargetException [18]
16:33:52.688===========> DefaultAsyncSupportResolver.newCometSupport: Real error: org.eclipse.jetty.websocket.server.WebSocketServerFactory.<init>(Ljavax/servlet/ServletContext;Lorg/eclipse/jetty/websocket/api/WebSocketPolicy;)V [18]
java.lang.NoSuchMethodError: org.eclipse.jetty.websocket.server.WebSocketServerFactory.<init>(Ljavax/servlet/ServletContext;Lorg/eclipse/jetty/websocket/api/WebSocketPolicy;)V
    at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket$1.<init>(Jetty9AsyncSupportWithWebSocket.java:45)
    at org.atmosphere.container.Jetty9AsyncSupportWithWebSocket.<init>(Jetty9AsyncSupportWithWebSocket.java:45)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.atmosphere.cpr.DefaultAsyncSupportResolver.newCometSupport(DefaultAsyncSupportResolver.java:237)
    at org.atmosphere.cpr.DefaultAsyncSupportResolver.resolveWebSocket(DefaultAsyncSupportResolver.java:308)
    at org.atmosphere.cpr.DefaultAsyncSupportResolver.resolve(DefaultAsyncSupportResolver.java:294)
    at org.atmosphere.cpr.AtmosphereFramework.autoDetectContainer(AtmosphereFramework.java:2083)
    at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:914)
    at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:838)
    at org.atmosphere.cpr.AtmosphereFrameworkInitializer.configureFramework(AtmosphereFrameworkInitializer.java:75)
    at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:84)
    at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:80)
    at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:75)
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:640)
    at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:419)
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:875)
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
    at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)

My solution:
Remove the org.atmosphere.runtime_2.4.11.jar from the targetPlatform and put the org.atmosphere.runtime_2.4.9.jar in same location.
The version 2.4.11 have a bug, see the link below for more details.
The problem has corrected only in 2.4.2 version of the plugin.

Regards.
Tiago Ceridorio.

Hiep Lq

unread,
May 19, 2017, 10:45:49 AM5/19/17
to Mohemmed Bilal Ilyas

Esta mensagem é reservada. Sua divulgação, distribuição, reprodução ou qualquer forma de uso é proibida e depende de prévia autorização desta Instituição. O remetente utiliza o correio eletrônico no exercício do seu trabalho ou em razão dele, eximindo esta Instituição de qualquer responsabilidade por utilização indevida. Se você recebeu esta mensagem por engano, favor eliminá-la imediatamente. This message is reserved. Its disclosure, distribution, reproduction, or any other form of use is prohibited and shall depend upon previous proper authorization. The sender uses electronic mail in the exercise of his/her work or by virtue thereof, and the Institution accepts no liability for its undue use. If you have received this e-mail by mistake, please delete it immediately. 

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/e407b611-e4c4-41cc-91b9-cbd38e71d7c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam
Reply all
Reply to author
Forward
0 new messages