2 Replies Latest reply on Feb 12, 2008 10:02 AM by Guillaume Jeudy

    ResourceNotFoundException for org.richfaces.renderkit.html.g

    Guillaume Jeudy Master

      Hi,

      I get the below exception with richfaces 3.1.4 when using a listShuttle.


      2008-02-11 09:50:15,834 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ReferenceDataManager].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient
       at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:393)
       at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:337)
       at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:155)
       at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)


      Code rendering the listShuttle:

      <rich:listShuttle id="existitemshuttle2"
       targetValue="#{refDomainSearch.selectedRefDomains}"
       sourceValue="#{refDomainSearch.refDomains}"
       targetCaptionLabel="Ref Domain Objects Selected"
       sourceCaptionLabel="Ref Domain Objects Found"
       rendered="#{not empty refDomainSearch.refDomains}"
       fastOrderControlsVisible="false"
       orderControlsVisible="false"
       listsHeight="300px"
       sourceListWidth="200px"
       targetListWidth="200px"
       converter="#{org.jboss.seam.ui.entityConverter}"
       var="refDomain">
       <h:column>
       <f:facet name="header">
       <h:outputText value="Domain Name" />
       </f:facet>
       <h:outputText value="#{refDomain.domainName}" />
       </h:column>
       </rich:listShuttle>


      Any workaround ? Is this a bug or a misuse/misconfiguration of in my project ?

      Thanks,
      -Guillaume