[ http://issues.apache.org/jira/browse/GERONIMO-1621?page=comments#action_12366089 ]
Vincent Massol commented on GERONIMO-1621: ------------------------------------------ Thanks Matt. I didn't know about this JSR-181. No this is different from the JBoss issue I raised. As I mentioned above it happened when trying to deploy in Jetty (Jetty 5.x to be precise). I'm checking with the Jetty team why it is happening. > [Daytrader] TradeWSAction class is not a Servlet > ------------------------------------------------ > > Key: GERONIMO-1621 > URL: http://issues.apache.org/jira/browse/GERONIMO-1621 > Project: Geronimo > Type: Bug > Components: sample apps > Versions: 1.0 > Reporter: Vincent Massol > > When trying to deploy the web/ module to Jetty I'm getting the following > error: > Servlet class org.apache.geronimo.samples.daytrader.TradeWSAction is not a > javax.servlet.Servlet > Indeed, looking at the TradeWSAction.java class reveals that it's not a > Servlet and thus it shouldn't be declared as a Servlet in web.xml: > <servlet id="Servlet_30"> > > <display-name>org_apache_geronimo_samples_daytrader_TradeWSAction</display-name> > > <servlet-name>org_apache_geronimo_samples_daytrader_TradeWSAction</servlet-name> > > <servlet-class>org.apache.geronimo.samples.daytrader.TradeWSAction</servlet-class> > </servlet> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
