geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: [jira] Commented: (GERONIMO-1621) [Daytrader] TradeWSAction class is not a Servlet
Date Sat, 11 Feb 2006 17:53:03 GMT
Thanks David.

So you're saying that it's allowed to declare a <servlet> in web.xml that is
a POJO class and not extending the Servlet interface?

Thanks
-Vincent

PS: I wanted to answer in JIRA but apparently it's busted on
issues.apache.org/jira. I'm seeing a weird thing: the HTML rendering is
wrong and I'm seeing a jira issue displayed nested within the same jira
issue... (not sure how to express this ;-)).

> -----Original Message-----
> From: David Jencks (JIRA) [mailto:dev@geronimo.apache.org]
> Sent: samedi 11 février 2006 18:34
> To: dev@geronimo.apache.org
> Subject: [jira] Commented: (GERONIMO-1621) [Daytrader] TradeWSAction class
> is not a Servlet
> 
>     [ 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


Mime
View raw message