tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48097] NoClassDefFoundError on first access of first jsp
Date Thu, 12 Nov 2009 19:13:08 GMT

Konstantin Kolinko <> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #13 from Konstantin Kolinko <> 2009-11-12 11:13:01
UTC ---

The WebappClassLoader$PrivilegedFindResourceByName class (added in rev.834814)
has to be preloaded in

That can be demonstrated by the following:
1. Deploy the sample ROOT application, as described in comment #6
2. Copy default conf/web.xml to webapps/ROOT/WEB-INF/
3. Remove all content from the default conf/web.xml and leave just the root XML
tag and its attributes.
4. Start  catalina.bat start -security
5. Access http://localhost:8080/
6. Observe the exception

Usually the first calls to WebappClassLoader#findResourceInternal() are to load
JspServlet and DefaultServlet. In this configuration those are avoided.

This is already fixed in trunk. I will propose a backport soon.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message