Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
Hi, This does not help - the class now implements Servlet, and also extends ActionServlet - still get Tomcat saying that this class is not a Servlet. import java.io.File; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import org.apache.str

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Michael Greer
I would manually declare that class to be implementing the Servlet interface. Can't hurt (can it?) if it already does so by its ancestry. At least it is quick to add and test. On Feb 21, 2005, at 10:28 AM, Adrian Wilford wrote: HTTPServlet ---

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
Well you are correct, it does not directly extend HTTPServlet, it extends the Struts ActionServlet (which extends HttpServlet). This Servlet worked previously, until I tried to package the war inside an ear file and move the classes into a common jar file inside the ear. (I have added a web servi

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Michael Greer
Could you post the class itself? Perhaps it does _not_ implement servlet (most likely scenario). On Feb 21, 2005, at 9:41 AM, Adrian Wilford wrote: Hi, I am having a problem with Tomcat - I am running JBOSS 4.0.1 using Tomcat as the web container, and I am getting this odd Exception thrown, it s

Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
] StandardContext[]Marking servlet Gtor as unavailable 14:47:51,812 ERROR [Engine] StandardContext[]Servlet threw load() exception javax.servlet.ServletException: Class GtorActionServlet is not a Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:991) at