[ http://issues.apache.org/jira/browse/GERONIMO-1621?page=comments#action_12366013 ]
David Jencks commented on GERONIMO-1621: ---------------------------------------- The web.xml is correct, this is a POJO web service. Apparently there is a problem, but this is not it. > [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
