Yeah, just saw a NPE when I quickly redeployed my app without accessing it first.
On Wed, 1 Sep 2004 14:16:24 -0400, Shishir K. Singh <[EMAIL PROTECTED]> wrote: > Ben, > > One small thingy...on line 94 of FilterToBeanProxy, you may want to > check if the delegate is not null before destroying. > > Thanks > Shishir > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Shishir K. Singh > Sent: Wednesday, September 01, 2004 1:38 PM > To: [EMAIL PROTECTED] > Subject: RE: [Acegisecurity-developer] Problems when trying to deploy > contacts.war on JRun > > Ben, > > Thanks. It works fine. > > Shishir > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Ben Alex > Sent: Tuesday, August 31, 2004 10:39 PM > To: [EMAIL PROTECTED] > Subject: Re: [Acegisecurity-developer] Problems when trying to deploy > contacts.war on JRun > > Shishir K. Singh wrote: > > >Ben, > > > >Even if I use ContextLoaderServlet, won't the filters get created > >before ContextLoaderListener. In that case, the "init" of the filters > >will be called even before the Spring context is available and thus, > >the WebApplicationContextUtils.getRequiredWebApplicationContext will > >fail in the filters. > > > >I changed the ContextLoaderListener to ContextLoaderServlet in > >contacts's web.xml and got the same error when deploying in tomcat now. > > > > > > > > > Yes, you're right. I've just committed to CVS HEAD an enhancement to > FilterToBeanProxy which enables it to lazily initialize the proxied > Filter (ie on the first HTTP request, not at filter initialization > time). Just set initialization property "init" to "lazy". Please let me > know if this works OK. > > Ben > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java > Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Acegisecurity-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java > Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick > _______________________________________________ > Acegisecurity-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=click > _______________________________________________ > Acegisecurity-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Acegisecurity-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer