Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
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

Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
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

Re: tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
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

tomcat7-websocket - tomcat7-maven-plugin java.lang.ClassNotFoundException: javax.servlet.http.HttpUpgradeHandler

2013-11-07 Thread Marek Jagielski
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