tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <>
Subject Adding a webapp to a running embedded tomcat 7 with an 'improved' class loader results in missing classes?
Date Wed, 22 Jun 2011 13:47:55 GMT
The equivalent basic scheme worked perfectly fine in tomcat6. In
Tomcat7, it looks like:

            solrContext = tomcat.addWebapp("/solr",
            WebappLoader solrLoader = new

I am pulling my hair out because some classes sitting in the
WEB-INF/lib dir of the solr webapp are not found. I've debugged into
the class loader sufficiently to see that the right jars are in the
right place.

It occurs to me that this might be just as silly as that I need to get
the class loader set inside of addWebapp so that it is in place before
the call to host.addChild(). If anyone happens to have any advice, I'd
be grateful, else I'll be going ahead to perform experiments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message