The equivalent basic scheme worked perfectly fine in tomcat6. In
Tomcat7, it looks like:
solrContext = tomcat.addWebapp(/solr,
solrWebapp.getCanonicalPath());
WebappLoader solrLoader = new
WebappLoader(LSHDemoLauncher.class.getClassLoader());
On 22/06/2011 14:47, Benson Margulies wrote:
The equivalent basic scheme worked perfectly fine in tomcat6. In
Tomcat7, it looks like:
solrContext = tomcat.addWebapp(/solr,
solrWebapp.getCanonicalPath());
WebappLoader solrLoader = new
Solr has a particularly bizarre class loading environment. The class
causes the problem is the FileUploadServlet from commons-fileupload. I
doubt that the problem is validation, but I'll check.
My experience is that, in the stock Tomcat class, the new context gets
called through .start() before
On 22/06/2011 15:18, Benson Margulies wrote:
Solr has a particularly bizarre class loading environment. The class
causes the problem is the FileUploadServlet from commons-fileupload. I
doubt that the problem is validation, but I'll check.
My experience is that, in the stock Tomcat class, the
I agree with your preference. Patch to follow later today.
On Wed, Jun 22, 2011 at 10:27 AM, Mark Thomas ma...@apache.org wrote:
On 22/06/2011 15:18, Benson Margulies wrote:
Solr has a particularly bizarre class loading environment. The class
causes the problem is the FileUploadServlet from