[jboss-dev-forums] [Design of JBoss Portal] - Re: JBOSS Portal, JSF, XHTML and AJAX !!!finally!!! :-)

jacote do-not-reply at jboss.com
Tue Oct 3 06:03:17 EDT 2006


Excuse my probably stupid question, i don't know all portal specification but why is not possible to integrate an ajax library like ajax4jsf ? i tried many configuration but there is togheter an exception with the ajax4jsf Filter. There are difference between the boot process of a normal jsf application (togheter in jboss) and a jsf portlet application ? Because when i start the webapp stanadlone (also using myfaces from jbossweb and not bundled with my app) works fine, when i deploy within jboss-portal i've got this :

  | Exception starting filter ajax4jsf
  | java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
  | A typical config looks like this;
  | <listener>
  |   <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  | </listener>
  | 
  |         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
  |         at org.ajax4jsf.framework.resource.InternetResourceService.init(InternetResourceService.java:58)
  |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.init(BaseFilter.java:121)
  |         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
  |         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
  |         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
  |         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3600)
  | 

I use jboss-as 4.0.4 and jboss-portal 2.4.
Thanks to all
bye


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975703#3975703

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975703



More information about the jboss-dev-forums mailing list