Good point!!
I've put a fix in so that the ServletHandler get's started as part of the FilterHandler startup. That should be synced with JBoss cvs shortly. Jules Gosnell wrote: > I'm forwarding this from JBoss-dev. > > Jules > > > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> > Sponsored by VeriSign - The Value of Trust > Do you need to encrypt all your online transactions? Find > the perfect solution in this FREE Guide from VeriSign. > http://us.click.yahoo.com/vCuuSA/UdiDAA/yigFAA/CefplB/TM > ---------------------------------------------------------------------~-> > > For the latest information about Jetty, please see http://jetty.mortbay.org > > To alter your subscription to this list goto >http://groups.yahoo.com/group/jetty-discuss > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > > > ------------------------------------------------------------------------ > > Subject: > > [JBoss-dev] do filter set in web.xml work? > From: > > Roman Kunert <[EMAIL PROTECTED]> > Date: > > Mon, 18 Feb 2002 14:00:49 -0600 > To: > > [EMAIL PROTECTED] > > > Hi, > > While playing with Sun's waf-framework I encountered the following error: > > 20:18:15,494 ERROR [Jetty] problem deploying >file:/home/roman/jboss_src/3.0/jboss-all/build/output/jboss-3.0.0beta/tmp/deploy/68.einfa.war > to /einfa > java.lang.NullPointerException > at >org.mortbay.jetty.servlet.ServletHandler$Context.getResource(ServletHandler.java:867) > at de.meldebehoerde.einfa.signon.web.SignOnFilter.init(Unknown Source) > at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:88) > at org.mortbay.jetty.servlet.FilterHandler.start(FilterHandler.java:152) > at org.mortbay.http.HttpContext.startHandlers(HttpContext.java:1370) > at >org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebApplicationContext.java:220) > at org.mortbay.http.HttpContext.start(HttpContext.java:1341) > at >org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:428) > at org.jboss.jetty.Jetty.deploy(Jetty.java:273) > at org.jboss.jetty.JettyService.performDeploy(JettyService.java:284) > ... > > > The corresponding lines from SignOnFilter.java: > > public void init(FilterConfig config) throws ServletException { > this.config = config; > URL protectedResourcesURL = null; > > try { > protectedResourcesURL = >config.getServletContext().getResource("/WEB-INF/signon-config.xml"); > ... > > It seems to me as if the ServletContext hasn't been created at this stage of >deployment ('config.getServletContext()' returns null)? > > Any ideas? > > _________________________________________________________ > View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=9052 > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > -- Greg Wilkins<[EMAIL PROTECTED]> GB Phone: +44-(0)7092063462 Mort Bay Consulting Australia and UK. Mbl Phone: +61-(0)4 17786631 http://www.mortbay.com AU Phone: +61-(0)2 98107029 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development