After adding
| <listener>
|
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
to web.xml the application works just fine (as far i tested it, couple clicks). But an
exception is logged after each click:
20:44:48,109 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6)
afterPhase
| java.lang.IllegalStateException: No active event context
| at org.jboss.seam.core.Manager.instance(Manager.java:233)
| at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:367)
| at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:259)
| at
org.jboss.seam.jsf.SeamPortletPhaseListener.afterPhase(SeamPortletPhaseListener.java:87)
| at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
| at
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322)
| at
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
| at
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379)
| at
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
| at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
| at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
|
Previously having the listener in web.xml caused "everything" to fail, but with
the same " No active event context" message.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980119#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...