3 Replies Latest reply on Nov 23, 2006 3:26 PM by gavin.king

    Seam 1.1.0 CR 1 + AS 4.0.5 + Portal 2.6-DR1

    modendahl

      Hi,

      there are some problems with the examples which use ajax.
      With the installation above I get for every ajax example the
      following exception

      11:07:35,819 INFO [ServletCacheAdministrator] Created new application-scoped ca
      che at key: __oscache_cache
      11:07:35,928 ERROR [[/seam-booking]] Exception starting filter ajax4jsf
      java.lang.IllegalStateException: No Factories configured for this Application. T
      his happens if the faces-initialization does not work at all - make sure that yo
      u properly include all configuration settings necessary for a basic faces applic
      ation and that all the necessary libs are included. Also check the logging outpu
      t of your web application and your container for any exceptions!
      If you did that and find nothing, the mistake might be due to the fact that you
      use some special web-containers which do not support registering context-listene
      rs via TLD files and a context listener is not setup in your web.xml.
      A typical config looks like this;
      <listener>
       <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</liste
      ner-class>
      </listener>
      
       at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
       at org.ajax4jsf.framework.resource.InternetResourceService.init(Internet
      ResourceService.java:61)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.init(BaseFilter.java
      :121)
       at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
      nFilterConfig.java:223)
       at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
      tionFilterConfig.java:304)
       at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
      lterConfig.java:77)
       at org.apache.catalina.core.StandardContext.filterStart(StandardContext.
      java:3634)
       at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.deployment.PortalWebTomcat5App.startFilter(Po
      rtalWebTomcat5App.java:119)
       at org.jboss.portal.server.deployment.PortalWebTomcat5App.instrument(Por
      talWebTomcat5App.java:99)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.instrument(Se
      rverDeployer.java:319)
       at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(Server
      Deployer.java:285)
       at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy93.deploy(Unknown Source)
       at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter
      .java:54)
       at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotificati
      on(WebAppIntercepter.java:134)
       at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
      onListenerProxy.java:153)
       at $Proxy139.handleNotification(Unknown Source)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
      ion(JBossNotificationBroadcasterSupport.java:127)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
      n(JBossNotificationBroadcasterSupport.java:108)
       at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerS
      upport.java:340)
       at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java
      :308)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:48
      2)
       at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
      .java:97)
       at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
      rServiceMBeanSupport.java:238)
       at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInte
      rceptor.java:92)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
      start(SubDeployerInterceptorSupport.java:188)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
      ptor.java:95)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy124.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:610)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:225)
      11:07:36,116 INFO [EARDeployer] Started J2EE application: file:/C:/Programme/jboss-4.0.5.GA/server/default/deploy/jboss-seam-booking.ear
      


      If I remove the jboss-portal.sar from the deployment directory
      everything will work fine.
      Can someone tell me what is the problem here and how can it be
      solved?

      Best wishes

      Marcel.