https://issues.apache.org/bugzilla/show_bug.cgi?id=51396

--- Comment #6 from Mark Thomas <ma...@apache.org> 2011-06-20 22:11:25 UTC ---
Bugs opened shortly after almost identical reports on the users list and
containing statements that are clearly wrong (the jsp servlet is defined) do
tend to get closed as invalid quickly to keep the noise down.

There is a bug here but a simpler test case would have made tracking it down a
lot easier.

org.apache.catalina.startup.Tomcat.initWebappDefaults(Context) is a red
herring. That code is fine. The problem is around where the NPE occurs. Because
the JSP has been set up programmatically, the definition of the init parameters
isn't where it would be if read from the default web.xml and that triggers the
NPE.

I have a fix and the test case gets to the point where the app starts but I get
500 errors and the message java.lang.RuntimeException: Can't find resource
'solrconfig.xml' in classpath or 'D:\solr_webapp\.\conf/. I don't see a file
with that name in testcase.

I'll commit that fix shortly and I'm going to assume that the 500 error is a
problem with the webapp rather than another bug.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to