You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ralf Hauser <ra...@gmx.ch> on 2003/12/02 21:41:22 UTC

struts.init() dies silently after migration from struts 1.0 to struts 1.1

Hi,

Since we installed the new jars and dtd's we no longer can get our
Database.java servlet to start.

We did the move from GenericDataSource to BasicDataSource, but didn't really
change anything else.
We are doing exactly what Craig recommends in
http://marc.theaimsgroup.com/?l=struts-user&m=102948165216751&w=2 :

public class Database extends ActionServlet {

    public void init() throws ServletException {
	log.debug("before super.init()");
      // Perform standard Struts initialization
      super.init();
      log.debug("after super.init()");
      // Perform my extra initializations
      ...

When starting tomcat 4.1.27, I do see
 DEBUG [main] (Database.java:57) - before super.init()
but never the "after"

Some colleagues are suggesting that this may be due a mix-up in the jars -
how can one find out which jar is wrong?

Any hints would be highly appreciated!

   Thanks Ralf

In http://jakarta.apache.org/struts/faqs/eclipse.html, I see also
commons-resources.jar and commons-service.jar, but I guess I don't need
those.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org