[Beginners Corner] - Problem with deploy web application with JSF 1.2 to JBoss 4.
by davesil
Hi all,
I'm trying to deploy simple web app with Sun JSF 1.2_04-b16-p02 and I've got the following exception (if I deploy to Tomcat or if I create web application in IntelliJIdea with no JSF support attached, everything works fine). Any idea to solve this ? Many thanks in advance.
David
Exception got:
2007-12-10 15:28:47,421 FATAL [javax.enterprise.resource.webcontainer.jsf.application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface. 2007-12-10 15:28:47,421 INFO [javax.enterprise.resource.webcontainer.jsf.application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
2007-12-10 15:28:47,515 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Web]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration
at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:135)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111650#4111650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111650
18 years, 4 months
[JBoss Seam] - a4j:include and Seam
by maykellff
Hi all, i'm having an issue very strange. I have a page simple Seam application that uses intensively a4j:include component, the issue come when you try to navigate from one included page to another included page (the typical scene where the a4j:include component follows the navigation rules defined in navigation-config file to do the navigation) and the application do it, but when you see the server logs you see that an error ocurred, the error is showed above. Every single attent to navigate from one included page to another included page the server rise the error.
I hope you can help me, thank you in advance,
Maykell.
09:17:43,703 WARN [lifecycle] phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@f5498f) threw exception: java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed) No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:153)
org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165)
org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76)
org.jboss.seam.contexts.PageContext.get(PageContext.java:66)
org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160)
org.jboss.seam.Component.getInstance(Component.java:1577)
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53)
com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:100)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:72)
org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:101)
org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:85)
org.ajax4jsf.component.AjaxViewRoot.getViewId(AjaxViewRoot.java:439)
org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener.afterPhase(AutoScrollPhaseListener.java:58)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111638#4111638
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111638
18 years, 4 months