3 Replies Latest reply on Aug 28, 2007 10:47 AM by Ilya Shaikovsky

    Resource not registered : org.richfaces.renderkit.html.Gradi

    Romain Taz Newbie

      Hi all,

      I am using RichFaces 3.0.1 and Ajax4JSF 1.1.1, and since yesterday, I get the following error :

      javax.servlet.ServletException: Resource not registered : org.richfaces.renderkit.html.GradientA
       at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:154)
       at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:261)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
       at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at caf.opm.preclosing.common.logging.Log4jMdcFilter.doFilter(Log4jMdcFilter.java:35)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
       at java.lang.Thread.run(Unknown Source)
      


      As explained in this post : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112124, it seems that something is wrong with the browser cache.
      If I delete all IE cache, the error does not appear again. However, once I restart my server, the error comes back !
      If I redeploy my application on the server Tomcat again, the problem disappear for a moment, then comes back.

      Someone in my team works on the same code does not encounter this problem. Thus, I think this may be due to something wrong in the local configuration.

      How can I get rid of this error?
      What is the source of this error?

      Thanks for your help.