In tomcat's svn history I see that looked method was added to InstanceManager
(tomcat-api) when Back-porting JSR-356:
+ public Object newInstance(Class clazz)
+ throws IllegalAccessException, InvocationTargetException, NamingException,
+ InstantiationException;
+
However, I solved the problem
While debuging I see that
httpUpgradeHandlerClass in upgrade of org.apache.catalina.connector.Request
is
class org.apache.tomcat.websocket.server.WsHttpUpgradeHandler
InstanceManager is org.apache.catalina.core.DefaultInstanceManager
in the source code of my maven dependency of tomcat-api-7.0.47
I think I moved forward. I changed version of javaee-web-api from 6.0 to
7.0:
javaxjavaee-
web-api6.0provided
to:
javaxjavaee-
web-api7.0provided
However now I get an error on the server side:
SEVERE: Servlet.service() for servlet [default] in context with path []
threw exception [Filter execution
Hello,
I am migrating my websocket application to the new API with version 7.0.47.
How can correctly make a configuration of tomcat7-maven-plugin to use
tomcat7-websocket on localhost.
Here what I have in my pom:
...
...
org.apache.tomcattomcat-catalina
org.apache.tomcattomcat-coyote
org.apac