1 Reply Latest reply on Jun 24, 2007 10:30 AM by Adrian Mitev

    problem adding ajax4jsf

    ASD ASD Newbie

      I´m having problems to use this lib whit my enterprise app.
      When running the war alone things are just fine but when I try to run the entire enterprise app i get this exception:

      in the browser:
      The requested resource () is not available.

      logfile in sun application server 9:

      Complete Message

      org/apache/commons/logging/LogFactory
      at org.ajax4jsf.framework.renderer.AjaxPhaseListener.(AjaxPhaseListener.java:59)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:960)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:594)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:496)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
      at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
      at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
      at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
      at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
      at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
      at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
      at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
      at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
      at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
      at $Proxy1.invoke(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
      at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
      at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
      at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
      at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)


      What do yout think? im´pretty stuck whit this.