https://issues.apache.org/bugzilla/show_bug.cgi?id=55120
Bug ID: 55120 Summary: ISA exception is thrown during application start when there is annotated ServerEndpoint POJO Product: Tomcat 8 Version: trunk Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: nick...@gmail.com Created attachment 30462 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30462&action=edit Patch in PojoMethodMapping When there is ServerEndpoint annotated Pojo with OnOpen method accepting two parameters @OnOpen public void onOpen(Session session, EndpointConfig config) ISA is thrown. The case is valid according the javadoc http://docs.oracle.com/javaee/7/api/javax/websocket/OnOpen.html The problem is in the getPathParams of PojoMethodMapping as it considers only Session for valid type that could not have PathParam annotation. When EndpointConfig parameter is checked current implementation require presence of PathParam annotation. Here is the patch and extended test TestPojoEndpointBase case -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org