Hello Mike,
Thanks I have resolved pronblem. Bu then anaother poblem ahs occurred which I wouldask as a topic of its own. It is an exception which is thrown. The stack trace is pasted below. org.ajax4jsf.framework.skin.SkinNotFoundException: Skin with name classic not found at org.ajax4jsf.framework.skin.SkinFactoryImpl.loadProperties(SkinFactoryImpl.java:259) at org.ajax4jsf.framework.skin.SkinFactoryImpl.buildSkin(SkinFactoryImpl.java:208) at org.ajax4jsf.framework.skin.SkinFactoryImpl.getSkin(SkinFactoryImpl.java:108) at org.ajax4jsf.framework.ajax.AjaxContext.processHeadResources(AjaxContext.java:382) at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:258) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
30.04.2007 17:03:51 org.ajax4jsf.framework.renderer.AjaxPhaseListener beforePhase

my web.xml file is configured as follows
<context-param>
 <param-name>org.ajax4jsf.SKIN</param-name>
 <param-value>CLASSIC</param-value>
</context-param>
<filter>
 <display-name>Ajax4jsf Filter</display-name>
 <filter-name>ajax4jsf</filter-name>
 <filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
 <filter-name>ajax4jsf</filter-name>
  <servlet-name>Faces Servlet</servlet-name>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>FORWARD</dispatcher>
</filter-mapping>


From: "Adrian Mitev" <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <[email protected]>
To: "MyFaces Discussion" <[email protected]>
Subject: Re: Configuring ajax4jsf to run with facelets and myfaces implementation
Date: Sat, 28 Apr 2007 09:25:56 +0300

The correct jar is oscache.jar. It comes with the ajax4jsf package

2007/4/27, Mike Kienenberger <[EMAIL PROTECTED]>:

Your error message states that ajax4jsf has a dependency on
opensymphony (com/opensymphony/oscache/base/NeedsRefreshException).
Find the correct jar and add it to your classpath.

On 4/27/07, Eugine F <[EMAIL PROTECTED]> wrote:
> Hello experts,
>
> I am struggling to use ajax to run an JSf application that I have
written
> with facelets. Without ajax everything was running fine. I looked at the
> documentation for the ajax4sf at
>
https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/developerGuide.html
>   and configured my application as described but then I get the
followintg
> error. Below is the stack trace.
>
> javax.servlet.ServletException: Filter execution threw an exception
>         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
ExtensionsFilter.java:144)
>
> root cause
>
> java.lang.NoClassDefFoundError:
> com/opensymphony/oscache/base/NeedsRefreshException
>
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.getResourceService(
BaseFilter.java:276)
>         org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(
BaseFilter.java:207)
>         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
ExtensionsFilter.java:144)
>
> Could anyone help me out?
> Thanks
> Eugine
>
> _________________________________________________________________
> Wenn Ihnen E-Mail nicht schnell genug ist: MSN Messenger! -
> http://www.imagine-msn.com/messenger/default2.aspx?locale=de Kostenlos
> downloaden!
>
>


_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! - http://desktop.msn.de/ Kostenlos downloaden!

Reply via email to