DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30347>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30347 embedded:standardContext.addResource(string, string) throw npe [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [EMAIL PROTECTED] 2004-07-28 15:28 ------- If you do it the second way, you must ensure the JMX beans for the Context and its Container are properly initialized, via the preRegisterJMX and registerJMX method. I suggest using the first way with Tomcat 5.0.27. For Tomcat 5.1, this code has been seriously re-written and you will not run into this error again. So rather than muck with this piece of code knowing it's already re-written for Tomcat 5.1, I'm going to resolve this issue as WONTFIX. Thanks for reporting it, though. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]