I went back to a snapshot from 2004-01-10 and I'm still not seeing the NPE on shutdown using a jbossweb-tomcat50.sar/server.xml config with:
<Engine name="jboss.web" defaultHost="localhost" autoDeploy="false" deployOnStartup="false"> What else does it take to produce this error? xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Elrod Sent: Thursday, January 08, 2004 12:06 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Web integration (clustering) updates I am able to reproduce the problem, but after spending a good bit of time trying to find the bug, I am at a loss. Here is what I have found so far (Scott maybe you would be able to figure it out based on this info?). The LoaderRepository variable, repository, within UnifiedClassLoader is null when loadClassImpl() is called. Best I can tell, this probably happens because UnifiedClassLoader::setRepository() is called with a null value or UnifiedClassLoader::unregister() is called (am guessing it is the later). The MainDeployer does call the unregister() method on the UnifiedClassLoader, but not until after it calls stop(), which is where the NPE occurs (so has not gotten to the unregister() call yet). My best guess is that the problem stems from destroying one of the sub deployments (which happens before the NPE and will call unregister(), but not familiar enough with classloader/deployment stuff to know if would be using same UnifiedClassLoader instance). I did notice an exception in the log before the NPE (am attaching snippet of the log). I also checked the MainDeployer, UnifiedClassLoader, and UnifiedClassLoader3 for recent code changes. The MainDeployer had only one change related to using a HashSet for the waitingForClasses collection. The UnifiedClassLoader3 did not have any changes. The UnifiedClassLoader had a lot of changes, but don't seem related to this (but could be missing something). ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development