2015-07-10 21:39 GMT+03:00 Jason Ricles <jgr...@alum.lehigh.edu>:
> I have an application that uses the websocket jars from tomcat and
> sometimes get this error,
>
> java.util.ServiceConfigurationError:
> javax.websocket.ContainerProvider: Provider
> org.apache.tomcat.websocket.WsContainerProvider not found
>
> Then it gets the error for a while and magically finds the jars and
> runs which is weird. What may be causing this behavior to not find the
> jars then magically find the jars?


Duplicate classes?  Note that the order of jars in WEB-INF/lib is
arbitrary and may change between runs.

Different Thread classloaders (Thread.getContextClassLoader()) ?

What is the full stacktrace of that error?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to