2 Replies Latest reply on Oct 13, 2008 4:33 PM by carmine lia

    web context-filter and seam debug in seam 2.1.0.CR1

    carmine lia Newbie

      Hello,
      it seems that seam debug and the web context-filter are incompatible in seam-2.1.0-CR1. To try this just enable seam-debug in seam-space example;  the application, once deployed, doesn't show any picture. The exception is:



      Caused by: java.lang.IllegalStateException: No active application scope
           at org.jboss.seam.core.Init.instance(Init.java:110)
           at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance(BusinessProcessContext.java:224)
           at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:53)
           at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:209)
           at org.jboss.seam.Component.getInstance(Component.java:1897)
           at org.jboss.seam.Component.getInstance(Component.java:1877)
           at org.jboss.seam.Component.getInstance(Component.java:1872)
           at org.jboss.seam.example.seamspace.ContentServlet.doGet(ContentServlet.java:70)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:44)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
           at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
           ... 36 more