Announcement Announcement Module
Collapse
No announcement yet.
Acegi works under JBoss, but not Websphere??? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Exactly.
    Add a line to your log4j.properties that says:
    log4j.logger.net.sf.acegisecurity=DEBUG

    Or, you can set the rootLogger (or rootCategory) to DEBUG

    Comment


    • #17
      I have this loaded through a startup servlet and the output looks the same. I am wondering if the log4j stuff isn't getting initialized until after this stuff is configured. Would you recommend initializing it a different way?





      [5/2/05 8:58:27:518 MDT] 5521a311 WebGroup E SRVE0026E: [Servlet Error]-[Filter [AcegiFilterChainProxy]: filter is unavailable.]: java.lang.NullPointerException
      at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
      at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
      at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
      at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
      at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
      at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at org.springframework.orm.hibernate.support.OpenSess ionInViewFilter.doFilterInternal(OpenSessionInView Filter.java:172)
      at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

      [5/2/05 8:58:27:541 MDT] 5521a311 TilesRequestP I org.apache.struts.tiles.TilesRequestProcessor Tiles definition factory found for request processor ''.
      [5/2/05 8:58:27:543 MDT] 5521a311 WebApp E SRVE0115E: Error occurred while invoking error reporter com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Filter [AcegiFilterChainProxy]: filter is unavailable.
      at com.ibm.ws.webcontainer.webapp.WebApp.sendError(We bApp.java:890)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:185)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
      ---- Begin backtrace for Nested Throwables
      javax.servlet.ServletException: Filter [AcegiFilterChainProxy]: filter is unavailable.
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:147)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at org.springframework.orm.hibernate.support.OpenSess ionInViewFilter.doFilterInternal(OpenSessionInView Filter.java:172)
      at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
      ---- Begin backtrace for Nested Throwables
      java.lang.NullPointerException
      at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
      at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
      at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
      at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
      at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
      at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
      at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
      at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at org.springframework.orm.hibernate.support.OpenSess ionInViewFilter.doFilterInternal(OpenSessionInView Filter.java:172)
      at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

      [5/2/05 8:58:27:546 MDT] 5521a311 WebGroup I SRVE0180I: [gpm-0.1.war] [/gpm] [Servlet.LOG]: Error page exception The server cannot use the error page specified for your application because of the exception printed below.
      [5/2/05 8:58:27:547 MDT] 5521a311 WebGroup I SRVE0181I: [gpm-0.1.war] [/gpm] [Servlet.LOG]: Error Page Exception: : com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Server caught unhandled exception from servlet [gpm]: null
      at com.ibm.ws.webcontainer.webapp.WebApp.handleError( WebApp.java:1079)
      at com.ibm.ws.webcontainer.webapp.WebApp.sendError(We bApp.java:897)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:185)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
      ---- Begin backtrace for Nested Throwables
      com.ibm.ws.webcontainer.servlet.exception.Uncaught ServletException: Server caught unhandled exception from servlet [gpm]: null
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:1024)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
      at com.ibm.ws.webcontainer.webapp.WebApp.handleError( WebApp.java:1035)
      at com.ibm.ws.webcontainer.webapp.WebApp.sendError(We bApp.java:897)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:185)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
      ---- Begin backtrace for Nested Throwables
      java.lang.NullPointerException
      at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
      at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
      at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
      at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
      at org.apache.struts.action.RequestProcessor.processL ocale(RequestProcessor.java:602)
      at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:179)
      at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1164)
      at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:397)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
      at com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServletInstance.java:110)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecycleServlet.java:174)
      at com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServlet.java:313)
      at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecycleServlet.java:116)
      at com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java:283)
      at com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidServletReferenceState.java: 42)
      at com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletInstanceReference.java:40)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:969)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
      at com.ibm.ws.webcontainer.webapp.WebApp.handleError( WebApp.java:1035)
      at com.ibm.ws.webcontainer.webapp.WebApp.sendError(We bApp.java:897)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:185)
      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
      at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
      at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
      at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
      at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
      at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

      Comment


      • #18
        Well actually it is doing it in the sample app too so I will change it there so we aren't trying to troubleshoot my app and Acegi.

        Comment


        • #19
          Stack trace from contacts sample

          Sorry, but here is the lengthy output from the logging set to debug:




          [5/2/05 11:55:54:844 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: Set web app root system property: 'webapp.root' = [/opt/WebSphere/App
          Server/installedApps/fmat-build/acegi-security-sample-contacts-filter_war.ear/acegi-security-sample-contacts-filter.war]
          [5/2/05 11:55:54:845 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: Initializing Log4J from [/WEB-INF/classes/log4j.properties]
          [5/2/05 11:55:55:163 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: JSP 1.2 Processor: init
          [5/2/05 11:55:55:387 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: SimpleFileServlet: init
          [5/2/05 11:55:55:440 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: contacts: init
          [5/2/05 11:55:55:441 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Initializing servlet 'contacts'
          [5/2/05 11:55:55:495 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'contacts': initialization started
          [5/2/05 11:55:55:496 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: Loading WebApplicationContext for Spring FrameworkServlet 'contacts'
          [5/2/05 11:55:55:498 MDT] 67c7a31b XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefin itionReader Loading XML bean definitions from ServletContext resource [/WEB-INF/contac
          ts-servlet.xml]
          [5/2/05 11:55:55:630 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Bean factory for application context [WebApplicationContext for namespa
          ce 'contacts-servlet']: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,publicIndexController,secureIndexCon troller,secureDeleteControlle
          r,adminPermissionController,deletePermissionContro ller,urlMapping,addValidator,addPermissionValidato r,secureAddForm,addPermissionForm,viewResolver]; parent: org.springframework.beans.facto
          ry.support.DefaultListableBeanFactory defining beans [filterChainProxy,authenticationManager,jdbcDaoImpl ,passwordEncoder,daoAuthenticationProvider,cacheMa nager,userCacheBackend,userCache,l
          oggerListener,basicProcessingFilter,basicProcessin gFilterEntryPoint,anonymousProcessingFilter,anonym ousAuthenticationProvider,httpSessionContextIntegr ationFilter,rememberMeProcessingFilter
          ,rememberMeServices,rememberMeAuthenticationProvid er,channelProcessingFilter,channelDecisionManager, secureChannelProcessor,insecureChannelProcessor,se curityEnforcementFilter,authentication
          ProcessingFilter,authenticationProcessingFilterEnt ryPoint,httpRequestAccessDecisionManager,filterInv ocationInterceptor,dataSource,transactionManager,t ransactionInterceptor,dataSourcePopula
          tor,contactDao,contactManager,contactManagerTarget ,net.sf.acegisecurity.acl.basic.SimpleAclEntry.ADM INISTRATION,net.sf.acegisecurity.acl.basic.SimpleA clEntry.READ,net.sf.acegisecurity.acl.
          basic.SimpleAclEntry.DELETE,roleVoter,aclContactRe adVoter,aclContactDeleteVoter,aclContactAdminVoter ,businessAccessDecisionManager,aclManager,basicAcl Provider,basicAclExtendedDao,afterInvo
          cationManager,afterAclCollectionRead,afterAclRead, contactManagerSecurity]; root of BeanFactory hierarchy
          [5/2/05 11:55:55:631 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext 12 beans defined in application context [WebApplicationContext for name
          space 'contacts-servlet']
          [5/2/05 11:55:55:632 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'messageSource'
          [5/2/05 11:55:55:655 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Using MessageSource [org.springframework.context.support.ResourceBundle
          MessageSource: basenames=[messages]]
          [5/2/05 11:55:55:655 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Unable to locate ApplicationEventMulticaster with name 'applicationEven
          tMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@7852a329]
          [5/2/05 11:55:55:656 MDT] 67c7a31b UiApplication I org.springframework.ui.context.support.UiApplicati onContextUtils No ThemeSource found for [WebApplicationContext for namespace 'contacts
          -servlet']: using ResourceBundleThemeSource
          [5/2/05 11:55:55:657 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Pre-instantiating singletons in factory [org.springframework.beans.
          factory.support.DefaultListableBeanFactory defining beans [messageSource,publicIndexController,secureIndexCon troller,secureDeleteController,adminPermissionCont roller,deletePermissionContro
          ller,urlMapping,addValidator,addPermissionValidato r,secureAddForm,addPermissionForm,viewResolver]; parent: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining bea
          ns [filterChainProxy,authenticationManager,jdbcDaoImpl ,passwordEncoder,daoAuthenticationProvider,cacheMa nager,userCacheBackend,userCache,loggerListener,ba sicProcessingFilter,basicProcessin
          gFilterEntryPoint,anonymousProcessingFilter,anonym ousAuthenticationProvider,httpSessionContextIntegr ationFilter,rememberMeProcessingFilter,rememberMeS ervices,rememberMeAuthenticationProvid
          er,channelProcessingFilter,channelDecisionManager, secureChannelProcessor,insecureChannelProcessor,se curityEnforcementFilter,authenticationProcessingFi lter,authenticationProcessingFilterEnt
          ryPoint,httpRequestAccessDecisionManager,filterInv ocationInterceptor,dataSource,transactionManager,t ransactionInterceptor,dataSourcePopulator,contactD ao,contactManager,contactManagerTarget
          ,net.sf.acegisecurity.acl.basic.SimpleAclEntry.ADM INISTRATION,net.sf.acegisecurity.acl.basic.SimpleA clEntry.READ,net.sf.acegisecurity.acl.basic.Simple AclEntry.DELETE,roleVoter,aclContactRe
          adVoter,aclContactDeleteVoter,aclContactAdminVoter ,businessAccessDecisionManager,aclManager,basicAcl Provider,basicAclExtendedDao,afterInvocationManage r,afterAclCollectionRead,afterAclRead,
          contactManagerSecurity]; root of BeanFactory hierarchy]
          [5/2/05 11:55:55:658 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'publicIndexController'
          [5/2/05 11:55:55:669 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'secureIndexController'
          [5/2/05 11:55:55:681 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'secureDeleteController'
          [5/2/05 11:55:55:692 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'adminPermissionControll
          er'
          [5/2/05 11:55:55:704 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'deletePermissionControl
          ler'
          [5/2/05 11:55:55:716 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'urlMapping'
          [5/2/05 11:55:55:766 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'addPermissionForm'
          [5/2/05 11:55:55:849 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'addPermissionValidator'
          [5/2/05 11:55:55:865 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'secureAddForm'
          [5/2/05 11:55:55:925 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'addValidator'
          [5/2/05 11:55:55:941 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean 'viewResolver'
          [5/2/05 11:55:55:994 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Using context class [org.springframework.web.context.support.XmlWebAppl icationContext]
          for servlet 'contacts'
          [5/2/05 11:55:55:995 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate MultipartResolver with name 'multipartResolver': no multipart request
          handling provided
          [5/2/05 11:55:56:001 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate LocaleResolver with name 'localeResolver': using default [org.springf
          ramework.web.servlet.i18n.AcceptHeaderLocaleResolv er@3723e35e]
          [5/2/05 11:55:56:013 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate ThemeResolver with name 'themeResolver': using default [org.springfra
          mework.web.servlet.theme.FixedThemeResolver@17fce3 5e]
          [5/2/05 11:55:56:023 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet No HandlerAdapters found in servlet 'contacts': using default
          [5/2/05 11:55:56:028 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'contacts': initialization completed in 533 ms
          [5/2/05 11:55:56:029 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Servlet 'contacts' configured successfully
          [5/2/05 11:55:56:032 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: remoting: init
          [5/2/05 11:55:56:033 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Initializing servlet 'remoting'
          [5/2/05 11:55:56:034 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'remoting': initialization started
          [5/2/05 11:55:56:034 MDT] 67c7a31b WebGroup I SRVE0180I: [Contacts Sample Application] [/contacts] [Servlet.LOG]: Loading WebApplicationContext for Spring FrameworkServlet 'remoting'
          [5/2/05 11:55:56:035 MDT] 67c7a31b XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefin itionReader Loading XML bean definitions from ServletContext resource [/WEB-INF/remoti
          ng-servlet.xml]
          [5/2/05 11:55:56:073 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Bean factory for application context [WebApplicationContext for namespa
          ce 'remoting-servlet']: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [/ContactManager-httpinvoker,/ContactManager-hessian,/ContactManager-burlap]; pa
          rent: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [filterChainProxy,authenticationManager,jdbcDaoImpl ,passwordEncoder,daoAuthenticationProvider,cach
          eManager,userCacheBackend,userCache,loggerListener ,basicProcessingFilter,basicProcessingFilterEntryP oint,anonymousProcessingFilter,anonymousAuthentica tionProvider,httpSessionContextIntegra
          tionFilter,rememberMeProcessingFilter,rememberMeSe rvices,rememberMeAuthenticationProvider,channelPro cessingFilter,channelDecisionManager,secureChannel Processor,insecureChannelProcessor,sec
          urityEnforcementFilter,authenticationProcessingFil ter,authenticationProcessingFilterEntryPoint,httpR equestAccessDecisionManager,filterInvocationInterc eptor,dataSource,transactionManager,tr
          ansactionInterceptor,dataSourcePopulator,contactDa o,contactManager,contactManagerTarget,net.sf.acegi security.acl.basic.SimpleAclEntry.ADMINISTRATION,n et.sf.acegisecurity.acl.basic.SimpleAc
          lEntry.READ,net.sf.acegisecurity.acl.basic.SimpleA clEntry.DELETE,roleVoter,aclContactReadVoter,aclCo ntactDeleteVoter,aclContactAdminVoter,businessAcce ssDecisionManager,aclManager,basicAclP
          rovider,basicAclExtendedDao,afterInvocationManager ,afterAclCollectionRead,afterAclRead,contactManage rSecurity]; root of BeanFactory hierarchy
          [5/2/05 11:55:56:074 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext 3 beans defined in application context [WebApplicationContext for names
          pace 'remoting-servlet']
          [5/2/05 11:55:56:075 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Unable to locate MessageSource with name 'messageSource': using default
          [org.springframework.context.support.DelegatingMess ageSource@5322235d]
          [5/2/05 11:55:56:075 MDT] 67c7a31b XmlWebApplica I org.springframework.web.context.support.XmlWebAppl icationContext Unable to locate ApplicationEventMulticaster with name 'applicationEven
          tMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@518a635d]
          [5/2/05 11:55:56:076 MDT] 67c7a31b UiApplication I org.springframework.ui.context.support.UiApplicati onContextUtils No ThemeSource found for [WebApplicationContext for namespace 'remoting
          -servlet']: using ResourceBundleThemeSource
          [5/2/05 11:55:56:077 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Pre-instantiating singletons in factory [org.springframework.beans.
          factory.support.DefaultListableBeanFactory defining beans [/ContactManager-httpinvoker,/ContactManager-hessian,/ContactManager-burlap]; parent: org.springframework.beans.factory.support.De
          faultListableBeanFactory defining beans [filterChainProxy,authenticationManager,jdbcDaoImpl ,passwordEncoder,daoAuthenticationProvider,cacheMa nager,userCacheBackend,userCache,loggerListener
          ,basicProcessingFilter,basicProcessingFilterEntryP oint,anonymousProcessingFilter,anonymousAuthentica tionProvider,httpSessionContextIntegrationFilter,r ememberMeProcessingFilter,rememberMeSe
          rvices,rememberMeAuthenticationProvider,channelPro cessingFilter,channelDecisionManager,secureChannel Processor,insecureChannelProcessor,securityEnforce mentFilter,authenticationProcessingFil
          ter,authenticationProcessingFilterEntryPoint,httpR equestAccessDecisionManager,filterInvocationInterc eptor,dataSource,transactionManager,transactionInt erceptor,dataSourcePopulator,contactDa
          o,contactManager,contactManagerTarget,net.sf.acegi security.acl.basic.SimpleAclEntry.ADMINISTRATION,n et.sf.acegisecurity.acl.basic.SimpleAclEntry.READ, net.sf.acegisecurity.acl.basic.SimpleA
          clEntry.DELETE,roleVoter,aclContactReadVoter,aclCo ntactDeleteVoter,aclContactAdminVoter,businessAcce ssDecisionManager,aclManager,basicAclProvider,basi cAclExtendedDao,afterInvocationManager
          ,afterAclCollectionRead,afterAclRead,contactManage rSecurity]; root of BeanFactory hierarchy]
          [5/2/05 11:55:56:078 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean '/ContactManager-httpinv
          oker'
          [5/2/05 11:55:56:129 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean '/ContactManager-hessian
          '
          [5/2/05 11:55:56:156 MDT] 67c7a31b DefaultListab I org.springframework.beans.factory.support.DefaultL istableBeanFactory Creating shared instance of singleton bean '/ContactManager-burlap'
          [5/2/05 11:55:56:181 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Using context class [org.springframework.web.context.support.XmlWebAppl icationContext]
          for servlet 'remoting'
          [5/2/05 11:55:56:182 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate MultipartResolver with name 'multipartResolver': no multipart request
          handling provided
          [5/2/05 11:55:56:183 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate LocaleResolver with name 'localeResolver': using default [org.springf
          ramework.web.servlet.i18n.AcceptHeaderLocaleResolv er@2d25e35c]
          [5/2/05 11:55:56:185 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Unable to locate ThemeResolver with name 'themeResolver': using default [org.springfra
          mework.web.servlet.theme.FixedThemeResolver@3b41e3 5c]
          [5/2/05 11:55:56:190 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet No HandlerMappings found in servlet 'remoting': using default
          [5/2/05 11:55:56:191 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet No HandlerAdapters found in servlet 'remoting': using default
          [5/2/05 11:55:56:193 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet No ViewResolvers found in servlet 'remoting': using default
          [5/2/05 11:55:56:193 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'remoting': initialization completed in 160 ms
          [5/2/05 11:55:56:194 MDT] 67c7a31b DispatcherSer I org.springframework.web.servlet.DispatcherServlet Servlet 'remoting' configured successfully
          [5/2/05 11:55:56:207 MDT] 67c7a31b ApplicationMg A WSVR0221I: Application started: acegi-security-sample-contacts-filter_war
          [5/2/05 11:55:56:617 MDT] 67c7a31b OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /favicon.ico has not been defined
          [5/2/05 11:56:43:862 MDT] 5521a311 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /favicon.ico has not been defined
          [5/2/05 11:57:14:510 MDT] 789de31b WebGroup E SRVE0026E: [Servlet Error]-[Filter [Acegi Filter Chain Proxy]: filter is unavailable.]: java.lang.NullPointerException
          at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
          at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
          at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.rememberme.RememberMeProce ssingFilter.doFilter(RememberMeProcessingFilter.ja va:114)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
          at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
          at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
          at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
          at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
          at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
          at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
          at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:443)
          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

          [5/2/05 11:57:24:502 MDT] 7c33e30a WebGroup E SRVE0026E: [Servlet Error]-[Filter [Acegi Filter Chain Proxy]: filter is unavailable.]: java.lang.NullPointerException
          at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
          at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
          at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.rememberme.RememberMeProce ssingFilter.doFilter(RememberMeProcessingFilter.ja va:114)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
          at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
          at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
          at com.ibm.ws.webcontainer.cache.invocation.Cacheable InvocationContext.invoke(CacheableInvocationContex t.java:114)
          at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:186)
          at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
          at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
          at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
          at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

          [5/2/05 11:57:25:429 MDT] 7c33e30a HttpSessionCo W net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter ContextHolder should have been null but contained: 'net.sf.acegisecurit
          y.context.security.SecureContextImpl@2742e372: Authentication: net.sf.acegisecurity.providers.anonymous.Anonymous AuthenticationToken@272fa372: Username: anonymousUser; Password: [PROTECTED
          ]; Authenticated: true; Details: null; Granted Authorities: ROLE_ANONYMOUS'; setting to null now
          [5/2/05 11:57:25:431 MDT] 7c33e30a WebGroup E SRVE0026E: [Servlet Error]-[Filter [Acegi Filter Chain Proxy]: filter is unavailable.]: java.lang.NullPointerException
          at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
          at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
          at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.rememberme.RememberMeProce ssingFilter.doFilter(RememberMeProcessingFilter.ja va:114)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
          at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
          at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
          at com.ibm.ws.webcontainer.cache.invocation.Cacheable InvocationContext.invoke(CacheableInvocationContex t.java:114)
          at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:186)
          at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
          at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
          at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
          at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:443)
          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

          [5/2/05 11:57:26:151 MDT] 7c33e30a HttpSessionCo W net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter ContextHolder should have been null but contained: 'net.sf.acegisecurit
          y.context.security.SecureContextImpl@41ca372: Authentication: net.sf.acegisecurity.providers.anonymous.Anonymous AuthenticationToken@4106372: Username: anonymousUser; Password: [PROTECTED];
          Authenticated: true; Details: null; Granted Authorities: ROLE_ANONYMOUS'; setting to null now
          [5/2/05 11:57:26:154 MDT] 7c33e30a WebGroup E SRVE0026E: [Servlet Error]-[Filter [Acegi Filter Chain Proxy]: filter is unavailable.]: java.lang.NullPointerException
          at net.sf.acegisecurity.ui.session.HttpSessionEventPu blisher.sessionCreated(HttpSessionEventPublisher.j ava:89)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .sessionCreatedEvent(SessionContext.java:2903)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .createSession(SessionContext.java:901)
          at com.ibm.ws.webcontainer.httpsession.SessionContext .getIHttpSession(SessionContext.java:2292)
          at com.ibm.ws.webcontainer.webapp.WebAppDispatcherCon text.getSession(WebAppDispatcherContext.java:178)
          at com.ibm.ws.webcontainer.srt.SRTServletRequestConte xt.getSession(SRTServletRequestContext.java:211)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:664)
          at com.ibm.ws.webcontainer.srt.SRTServletRequest.getS ession(SRTServletRequest.java:655)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.sendStartAuthentication(SecurityEnforce mentFilter.java:254)
          at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :202)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.providers.anonymous.Anonymous ProcessingFilter.doFilter(AnonymousProcessingFilte r.java:153)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.rememberme.RememberMeProce ssingFilter.doFilter(RememberMeProcessingFilter.ja va:114)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.basicauth.BasicProcessingF ilter.doFilter(BasicProcessingFilter.java:206)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:305)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.context.HttpSessionContextInt egrationFilter.doFilter(HttpSessionContextIntegrat ionFilter.java:225)
          at net.sf.acegisecurity.util.FilterChainProxy$Virtual FilterChain.doFilter(FilterChainProxy.java:303)
          at net.sf.acegisecurity.util.FilterChainProxy.doFilte r(FilterChainProxy.java:173)
          at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:125)
          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:132)
          at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:71)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:965)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
          at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
          at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
          at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
          at com.ibm.ws.webcontainer.cache.invocation.Cacheable InvocationContext.invoke(CacheableInvocationContex t.java:114)
          at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:186)
          at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
          at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
          at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
          at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:443)
          at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))

          Comment


          • #20
            I've committed some change to the HttpSessionEventPublisher to check for a null ApplicationContext. If you wouldn't mind giving that a shot...

            Comment


            • #21
              Originally posted by RayKrueger
              I've committed some change to the HttpSessionEventPublisher to check for a null ApplicationContext. If you wouldn't mind giving that a shot...
              I tried building from CVS, but it was complaining about the servletapi-2.4.jar and the jsp-api-2.0.jar. I will try and track them down and put them in my local repository.


              Attempting to download servletapi-2.4.jar.
              WARNING: Failed to download servletapi-2.4.jar.
              Attempting to download log4j-1.2.9.jar.
              344K downloaded
              Attempting to download spring-1.2-SNAPSHOT.jar.
              1668K downloaded
              Attempting to download jsp-api-2.0.jar.
              WARNING: Failed to download jsp-api-2.0.jar.
              Attempting to download apacheds-main-0.9-SNAPSHOT.jar.
              2845K downloaded

              Comment


              • #22
                Earlier in the thread you mentioned using ContextLoaderListener - you usually need to use ContextLoaderServlet with a startup param of 1 on WAS 5.x since the container normally init's servlets before listeners.

                Try the following thread for help with logging config in WAS too.
                http://forum.springframework.org/viewtopic.php?t=346

                Regards,

                Comment


                • #23
                  Wow, thanks for that information Darren.
                  Give that a shot Bryan. Here's the reference documentation regarding setting up a WebApplicationContext...
                  http://www.springframework.org/docs/...context-create

                  Comment


                  • #24
                    Solved!!!

                    I actually ended up having to do a couple things to get it working. I configured the FilterBeanToProxy to be lazy:

                    <filter>
                    <filter-name>AcegiFilterChainProxy</filter-name>
                    <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
                    <init-param>
                    <param-name>init</param-name>
                    <param-value>lazy</param-value>
                    </init-param>
                    <init-param>
                    <param-name>targetBean</param-name>
                    <param-value>filterChainProxy</param-value>
                    </init-param>
                    </filter>

                    And commented OUT the HttpSessionEventPublisher:

                    <!--<listener>
                    <listener-class>net.sf.acegisecurity.ui.session.HttpSessionE ventPublisher</listener-class>
                    </listener>-->

                    Everything seems to work fine with this configuration.

                    I tried the ContextLoaderServlet and had the same problem until I commented out the listener.

                    Thanks for everyones help and prompt replies.

                    Bryan

                    Comment


                    • #25
                      Simple Solution

                      In websphere 5.1, do not use the <listener>, instead use the servlet to configure the context.

                      Cheers,
                      Ryan

                      Comment


                      • #26
                        Agreed - Websphere 5.x's Servlet API can't do Listeners (Servlets and Filters are OK, but not Listeners). Gotta go to 6.0+ for that.

                        Scott

                        Comment


                        • #27
                          Just to confirm

                          Does Acegi work with WebSphere 6? Is anybody currently using them both right now?

                          Thanks.

                          Comment


                          • #28
                            It should work just fine. I tested Acegi 0.9.0 on WAS 6.0 (within RAD 6.0) several months ago and everything worked, but my production environment isn't ready for 6.0 so I can't give a sterling thumbs-up.

                            Comment


                            • #29
                              I'm trying to get my app to run with Acegi 1.0, spring 1.2, hibernate 3, and Rad 6. The config for my app is much like petclinic example and both have the same problem when running under Rad 6. App comes up with login page but will not proceed from there. Here's the configs

                              Web.xml
                              <web-app>

                              <display-name>Spring PetClinic</display-name>

                              <description>Spring PetClinic sample application</description>

                              <context-param>
                              <param-name>webAppRootKey</param-name>
                              <param-value>petclinic.root</param-value>
                              </context-param>

                              <context-param>
                              <param-name>log4jConfigLocation</param-name>
                              <param-value>/WEB-INF/log4j.properties</param-value>
                              </context-param>

                              <context-param>
                              <param-name>contextConfigLocation</param-name>
                              <param-value>
                              /WEB-INF/applicationContext-jdbc.xml
                              /WEB-INF/applicationContext-acegi-security.xml
                              </param-value>
                              </context-param>

                              <listener>
                              <listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
                              </listener>

                              <servlet>
                              <servlet-name>petclinic</servlet-name>
                              <servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
                              <load-on-startup>2</load-on-startup>
                              </servlet>

                              <!--acegi filters -->
                              <filter>
                              <filter-name>Acegi Filter Chain Proxy</filter-name>
                              <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
                              <init-param>
                              <param-name>init</param-name>
                              <param-value>lazy</param-value>
                              </init-param>
                              <init-param>
                              <param-name>targetBean</param-name>
                              <param-value>filterChainProxy</param-value>
                              </init-param>
                              </filter>

                              <filter-mapping>
                              <filter-name>Acegi Filter Chain Proxy</filter-name>
                              <url-pattern>/*</url-pattern>
                              </filter-mapping>

                              <servlet-mapping>
                              <servlet-name>petclinic</servlet-name>
                              <url-pattern>*.htm</url-pattern>
                              </servlet-mapping>

                              <session-config>
                              <session-timeout>10</session-timeout>
                              </session-config>

                              <welcome-file-list>
                              <!-- Redirects to "welcome.htm" for dispatcher handling -->
                              <welcome-file>index.jsp</welcome-file>
                              </welcome-file-list>

                              <error-page>
                              <exception-type>java.lang.Exception</exception-type>
                              <!-- Displays a stack trace -->
                              <location>/WEB-INF/jsp/uncaughtException.jsp</location>
                              </error-page>
                              </web-app>

                              applicationContext-acegi-security.xml
                              <?xml version="1.0" encoding="UTF-8"?>
                              <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

                              <beans>

                              <bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
                              <property name="filterInvocationDefinitionSource">
                              <value>
                              CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
                              PATTERN_TYPE_APACHE_ANT
                              /**=httpSessionContextIntegrationFilter,logoutFilte r,authenticationProcessingFilter,securityContextHo lderAwareRequestFilter,rememberMeProcessingFilter, anonymousProcessingFilter,exceptionTranslationFilt er,filterInvocationInterceptor
                              </value>
                              </property>
                              </bean>

                              <bean id="httpSessionContextIntegrationFilter" class="org.acegisecurity.context.HttpSessionContex tIntegrationFilter"/>

                              <bean id="logoutFilter" class="org.acegisecurity.ui.logout.LogoutFilter">
                              <constructor-arg value="/index.jsp"/> <!-- URL redirected to after logout -->
                              <constructor-arg>
                              <list>
                              <ref bean="rememberMeServices"/>
                              <bean class="org.acegisecurity.ui.logout.SecurityContext LogoutHandler"/>
                              </list>
                              </constructor-arg>
                              </bean>

                              <bean id="authenticationProcessingFilter" class="org.acegisecurity.ui.webapp.AuthenticationP rocessingFilter">
                              <property name="authenticationManager" ref="authenticationManager"/>
                              <property name="authenticationFailureUrl" value="/acegilogin.jsp?login_error=1"/>
                              <property name="defaultTargetUrl" value="/"/>
                              <property name="filterProcessesUrl" value="/j_acegi_security_check"/>
                              <property name="rememberMeServices" ref="rememberMeServices"/>
                              </bean>

                              <bean id="securityContextHolderAwareRequestFilter" class="org.acegisecurity.wrapper.SecurityContextHo lderAwareRequestFilter"/>

                              <bean id="rememberMeProcessingFilter" class="org.acegisecurity.ui.rememberme.RememberMeP rocessingFilter">
                              <property name="authenticationManager" ref="authenticationManager"/>
                              <property name="rememberMeServices" ref="rememberMeServices"/>
                              </bean>

                              <bean id="anonymousProcessingFilter" class="org.acegisecurity.providers.anonymous.Anony mousProcessingFilter">
                              <property name="key" value="changeThis"/>
                              <property name="userAttribute" value="anonymousUser,ROLE_ANONYMOUS"/>
                              </bean>

                              <bean id="exceptionTranslationFilter" class="org.acegisecurity.ui.ExceptionTranslationFi lter">
                              <property name="authenticationEntryPoint">
                              <bean class="org.acegisecurity.ui.webapp.AuthenticationP rocessingFilterEntryPoint">
                              <property name="loginFormUrl" value="/acegilogin.jsp"/>
                              <property name="forceHttps" value="false"/>
                              </bean>
                              </property>
                              <property name="accessDeniedHandler">
                              <bean class="org.acegisecurity.ui.AccessDeniedHandlerImp l">
                              <property name="errorPage" value="/accessDenied.jsp"/>
                              </bean>
                              </property>
                              </bean>

                              <bean id="filterInvocationInterceptor" class="org.acegisecurity.intercept.web.FilterSecur ityInterceptor">
                              <property name="authenticationManager" ref="authenticationManager"/>
                              <property name="accessDecisionManager">
                              <bean class="org.acegisecurity.vote.AffirmativeBased">
                              <property name="allowIfAllAbstainDecisions" value="false"/>
                              <property name="decisionVoters">
                              <list>
                              <bean class="org.acegisecurity.vote.RoleVoter"/>
                              <bean class="org.acegisecurity.vote.AuthenticatedVoter"/>
                              </list>
                              </property>
                              </bean>
                              </property>
                              <property name="objectDefinitionSource">
                              <value>
                              CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
                              PATTERN_TYPE_APACHE_ANT
                              /acegilogin.jsp=IS_AUTHENTICATED_ANONYMOUSLY
                              /**=IS_AUTHENTICATED_REMEMBERED
                              </value>
                              </property>
                              </bean>

                              <bean id="rememberMeServices" class="org.acegisecurity.ui.rememberme.TokenBasedR ememberMeServices">
                              <property name="userDetailsService" ref="userDetailsService"/>
                              <property name="key" value="changeThis"/>
                              </bean>

                              <bean id="authenticationManager" class="org.acegisecurity.providers.ProviderManager ">
                              <property name="providers">
                              <list>
                              <ref local="daoAuthenticationProvider"/>
                              <bean class="org.acegisecurity.providers.anonymous.Anony mousAuthenticationProvider">
                              <property name="key" value="changeThis"/>
                              </bean>
                              <bean class="org.acegisecurity.providers.rememberme.Reme mberMeAuthenticationProvider">
                              <property name="key" value="changeThis"/>
                              </bean>
                              </list>
                              </property>
                              </bean>

                              <bean id="daoAuthenticationProvider" class="org.acegisecurity.providers.dao.DaoAuthenti cationProvider">
                              <property name="userDetailsService" ref="userDetailsService"/>
                              <property name="userCache">
                              <bean class="org.acegisecurity.providers.dao.cache.EhCac heBasedUserCache">
                              <property name="cache">
                              <bean class="org.springframework.cache.ehcache.EhCacheFa ctoryBean">
                              <property name="cacheManager">
                              <bean class="org.springframework.cache.ehcache.EhCacheMa nagerFactoryBean"/>
                              </property>
                              <property name="cacheName" value="userCache"/>
                              </bean>
                              </property>
                              </bean>
                              </property>
                              </bean>

                              <!-- UserDetailsService is the most commonly frequently Acegi Security interface implemented by end users -->
                              <bean id="userDetailsService" class="org.acegisecurity.userdetails.memory.InMemo ryDaoImpl">
                              <property name="userProperties">
                              <bean class="org.springframework.beans.factory.config.Pr opertiesFactoryBean">
                              <property name="location" value="/WEB-INF/users.properties"/>
                              </bean>
                              </property>
                              </bean>

                              <!-- This bean is optional; it isn't used by any other bean as it only listens and logs -->
                              <bean id="loggerListener" class="org.acegisecurity.event.authentication.Logg erListener"/>

                              </beans>

                              Errors I'm seeing in console:
                              [7/13/06 10:12:31:475 CDT] 0000003a SystemErr R java.lang.NullPointerException
                              at com.ibm._jsp._login._jspService(_login.java:96)
                              at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:88)
                              at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
                              at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1212)
                              at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1173)
                              at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:92)
                              +++

                              This app works as advertised in Tomcat 5.0 no errors but just sits on login in rad. It even seems like the log in auth is working (InteractiveAuthenticationSuccessEvent) I just don't know why it's not going to next page any help would be greatly appreciated.

                              Comment


                              • #30
                                Are there any errors above that one about filter or servlet loading problems?

                                Comment

                                Working...
                                X