8 Replies Latest reply on Aug 28, 2007 5:58 AM by Pete Muir

    ResourceNotFoundException after Seam 2.0 upgrade

    mgrouch Expert


      org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.GradientA

        • 1. Re: ResourceNotFoundException after Seam 2.0 upgrade
          Pete Muir Master

          We can't help you unless you provide real information - full stack trace, and how you reproduce this.

          • 2. Re: ResourceNotFoundException after Seam 2.0 upgrade
            mgrouch Expert

             


            org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.GradientA
            at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:367)
            at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:322)
            at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:152)
            at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
            at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:261)
            at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
            at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
            at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:853)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513)
            at java.lang.Thread.run(Thread.java:595)


            • 3. Re: ResourceNotFoundException after Seam 2.0 upgrade
              Fernando Montaño Expert

              Remove your browser cache: Ctrl+F5 or F5

              • 4. Re: ResourceNotFoundException after Seam 2.0 upgrade
                mgrouch Expert

                Cleaning cache solved it. Thanks

                • 5. Re: ResourceNotFoundException after Seam 2.0 upgrade
                  Romain Taz Newbie

                  Hi,

                  I have currently the same problem with GradientA.

                  Cleaning the browser cache indeed solves the problem. However, if I restart my application, the exception is thrown again.

                  Is it a way to get rid of this exception?

                  Another question: What is the source of this problem?

                  Thanks.

                  • 6. Re: ResourceNotFoundException after Seam 2.0 upgrade
                    Romain Taz Newbie

                    I just redeployed entirely my application on my Tomcat server, and the error disappeared!
                    My problem is solved.

                    However, if you have any idea why this exception occurs, I am interested!

                    • 7. Re: ResourceNotFoundException after Seam 2.0 upgrade
                      Romain Taz Newbie

                      Ok, sorry to post again, but in fact my problem is still NOT solved.

                      Clean Tomcat and redeploying my webapp only solved this problem temporary. The first time I use my application, everything is good, but if I restart Tomcat, the exception is thrown again...

                      • 8. Re: ResourceNotFoundException after Seam 2.0 upgrade
                        Pete Muir Master

                        Not a problem with Seam, ask on Richfaces forum